You are not logged in. Your edit will be placed in a queue until it is peer reviewed.
We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.
- 6Computer + software is a state machine as long as you restrict memory, disk space, and other types of storage (such as internet). As soon as interfacing with internet or other external hardware is allowed (implies unlimited storage), this becomes more like a Turing machine. Ever heard of a phrase 'Turing complete'? Anyhow, functional programs and obj oriented ones both end up as assembly code. I do not know Haskel (a pure functional language)/monads, but there must be an interesting relationship between that and a Turing machine.Job– Job2011-07-22 03:06:01 +00:00Commented Jul 22, 2011 at 3:06
- Adding to Jobs point, any form of non-determinism also exceeds both the state machine and Turing machine models. On the internet, you have multiple non-synchronized machines, data loss through imperfect connections, etc. Even with a single-core simple computer, you have non-deterministic input from the user, but you normally ignore that issue, and pretend all the input was known in advance.user8709– user87092011-07-22 03:33:55 +00:00Commented Jul 22, 2011 at 3:33
- @Steve314: Formally, deterministic automata are in a single state. Each input leads to a new state. For non-deterministic automata, each input can lead to multiple states. A non-deterministic automaton with N states can be emulated by a deterministic automaton with 2^N states.kevin cline– kevin cline2014-06-02 17:49:41 +00:00Commented Jun 2, 2014 at 17:49
- @cline - In this case, you're absolutely right, but I think what I had in mind was the kind of concurrency and timing variation that happen in a real-world machine - things like a core running a bit slower because it's too hot, the exact time when the data happens to be under the read head etc. This all fits in the non-deterministic finite automata model you describe, of course, so you're absolutely correct - but the number of states will be insanely huge. I guess I might have had continuous measures such as those temperatures in mind as part of the system state too (not just consequences).user8709– user87092014-06-12 21:31:35 +00:00Commented Jun 12, 2014 at 21:31
- @Job Yes, yes there is very interesting relationship between them.Maja Piechotka– Maja Piechotka2017-11-28 02:16:43 +00:00Commented Nov 28, 2017 at 2:16
| Show 2 more comments
How to Edit
- Correct minor typos or mistakes
- Clarify meaning without changing it
- Add related resources or links
- Always respect the author’s intent
- Don’t use edits to reply to the author
How to Format
- create code fences with backticks ` or tildes ~ ```
like so
``` - add language identifier to highlight code ```python
def function(foo):
print(foo)
``` - put returns between paragraphs
- for linebreak add 2 spaces at end
- _italic_ or **bold**
- indent code by 4 spaces
- backtick escapes
`like _so_` - quote by placing > at start of line
- to make links (use https whenever possible) <https://example.com>[example](https://example.com)<a href="https://example.com">example</a>
How to Tag
A tag is a keyword or label that categorizes your question with other, similar questions. Choose one or more (up to 5) tags that will help answerers to find and interpret your question.
- complete the sentence: my question is about...
- use tags that describe things or concepts that are essential, not incidental to your question
- favor using existing popular tags
- read the descriptions that appear below the tag
If your question is primarily about a topic for which you can't find a tag:
- combine multiple words into single-words with hyphens (e.g. design-patterns), up to a maximum of 35 characters
- creating new tags is a privilege; if you can't yet create a tag you need, then post this question without it, then ask the community to create it for you