Re:Don't run 'strings' on untrusted files
by kgabis on Saturday October 25, 2014 @04:39PM
(#8509314)
Compile times are important though and using low level language such as C can make a big difference.
[ Parent
| on HN ]
I'll happily lose 5% compile performance in exchange for a safe compiler. Unfortunately, writing a compiler in a safe language isn't enough to make it a safe compiler.
Re:Don't run 'strings' on untrusted files
by lomnakkus on Saturday October 25, 2014 @05:26PM
(#8509459)
Are you claiming that C is fast to compile? If compile speed mattered that much we'd all still be using Turbo Pascal/Borland Delphi, or perhaps more recently Go.
No, what I meant is that a compiler written in C is likely to be faster than a compler written in other language, which is a good reason to write a compiler in C.
Re:Don't run 'strings' on untrusted files
by lomnakkus on Wednesday October 29, 2014 @05:28PM
(#8530098)
Nah. What you usually want from a compiler is maintainability and correctness. There's also a grand tradition for dogfooding by writing the compiler for language X in language X. If you don't, then how do you know you're actually making progress?