News for hackers. Stuff that matters.
Re:Teaching Compilers Backward by hctaw on Tuesday February 23, 2021 @01:38PM (#26240975)
This has been my experience as well, but I'd extend it to parsing in production. There are a million reasons why you need to write custom parsing code and 99% of them are faster and better implemented by hand than using a generator.
Re:Teaching Compilers Backward by CalChris on Tuesday February 23, 2021 @04:51PM (#26243366)
Moreover, buggy parsing code is massive security hole.
Re:Teaching Compilers Backward by hctaw on Tuesday February 23, 2021 @06:19PM (#26244393)
well anything that takes untrusted input that might need to be validated with parsing is a massive security hole. Parsing generators don't fix this class of bug, they just change how it manifests.
Re:Teaching Compilers Backward by tester756 on Tuesday February 23, 2021 @05:02PM (#26243492)
why?