5 ms·
This is a much less revolutionary proposal than it may seem. The web already features extensive use of a non-Turing complete language. It's a less-appreciated f
by zeteo 15y ago
This is a much less revolutionary proposal than it may seem. The web already features extensive use of a non-Turing complete language. It's a less-appreciated feature of SQL, but it makes defense against nasty attacks at least feasible (if not always applied).
Another important advantage is query optimization. Programs in non-Turing complete languages can be automatically analyzed, not only to determine their security implications, but also to rewrite them in optimal form. In a good NTCL with an optimizer, you don't care how (in)efficient your algorithms are - they're automatically upgraded to their theoretical fastest speed.
- doriantaylor 15y agoNever claimed it was revolutionary. ;)
- otoburb 15y agoThe parent's point is that there is a (slightly) lower barrier to adoption due to the not-as-revolutionary-as-it-seems nature of the idea (i.e. it is arguing in favour of the idea).
- doriantaylor 15y agoAh, sorry. Trying to get out the door here. heh
- gnaritas 15y agoThe standard may not be Turing complete, but I know of no decent SQL implementation that isn't; they've all added loops or some form of cursor.