3 ms·
Besides, there is no true Turing complete languages as we are dealing with finite computers. So my preference is to have a simple language with explicit limit
by fpoling 6y ago
Besides, there is no true Turing complete languages as we are dealing with finite computers.
So my preference is to have a simple language with explicit limit on number of operations and the amount of memory its interpreter can access before aborting rather than a complex config without any explicit limits on complexity leading to exploits with stack or memory overflow in pathological cases.
So things like DHall indeed.
- gnulinux 6y ago> Besides, there is no true Turing complete languages as we are dealing with finite computers. This is not true. Turing complete languages are so because their halting problem is undecidable, it is irrelevant that the computer you run a python program has finite memory. Check out languages like Agda where you can do general purpose computing but are not Turing complete, since all programs can be proved to halt.
- a1369209993 6y ago> Besides, there is no true Turing complete languages as we are dealing with finite computers. And conversely, a non-Turing-complete language can still allow the provably-halting program `for i in 2^256 { /*busy-wait*/ }`.