logoalt Hacker News

F3nd0 • today at 12:24 AM • 2 replies • view on HN

Other than Ada/SPARK, which languages can guarantee this won’t happen?


Replies

tialaramex • today at 12:33 AM

This trivially can't happen in WUFFS. Forget RCE, WUFFS can't even do a traditional Hello World program because (1) you can't do I/O in WUFFS and (2) the language doesn't have strings.

https://github.com/google/wuffs

cowlevel • today at 1:01 AM

Very few languages can prevent you writing something like "if(text == "shibboleth") rootshell();" but most languages don't make it trivial to write accidentally.