News for hackers. Stuff that matters.
Re:A meta approach to implementing programming languages (2018) by zzzcpan on Sunday February 24, 2019 @01:42PM (#19239875)
Hand written parsers are actually pretty slow. And higher order parsers are still hand written parsers and usually perform almost exactly the same (except for languages where higher order programming is slow on itself).
Re:A meta approach to implementing programming languages (2018) by ascar on Tuesday February 26, 2019 @08:11AM (#19253942)
My personal experience is very contradictionary to that statement. Handoptimizing a slow PEG parser, but still using PEG gave me 10% performance increase. Handwriting it on low level libraries, but in the same high level language, gave me a 50,000% performance increase on the average file it had to parse.

Task at hand wasn't a programming language though, but more like YAML with only one level of nesting and a lot of quoted strings (which were the bottleneck for PEG in my case).