3 ms·
Amazing work. How does this compare (in terms of speed mostly) to Google's gumbo parser?
by lxe 11y ago
Amazing work. How does this compare (in terms of speed mostly) to Google's gumbo parser?
- nly 11y agoNo idea, but it's ~40,000 LOC compared to gumbos 30,000. Hand writing parsers in C in 2016 is nuts. Gumbo at least has the virtue of being gruelingly tested by a heavy hitter.
- marssaxman 11y agoIt is a really fun kind of nuts. I built one myself a couple of weeks ago, because I wanted to play around with some ideas in the "nanopass framework" for compiler design, but I don't speak Scheme.
- fabrice_d 11y agoIt looks much faster: http://lexborisov.github.io/myhtml/bm/time_0_100.png http://lexborisov.github.io/myhtml/bm/time_0_100.png
- kudosall 11y agocould you elaborate please? it looks quite radical.