News for hackers. Stuff that matters.
Re:MyHTML – HTML Parser on Pure C with POSIX Threads Support by lxe on Friday March 11, 2016 @10:07PM (#11271173)
Amazing work. How does this compare (in terms of speed mostly) to Google's gumbo parser?
Re:MyHTML – HTML Parser on Pure C with POSIX Threads Support by fabrice_d on Saturday March 12, 2016 @01:01AM (#11271592)
Re:MyHTML – HTML Parser on Pure C with POSIX Threads Support by kudosall on Saturday March 12, 2016 @02:31AM (#11271721)
could you elaborate please? it looks quite radical.
Re:MyHTML – HTML Parser on Pure C with POSIX Threads Support by nly on Saturday March 12, 2016 @12:07AM (#11271489)
No 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.
Re:MyHTML – HTML Parser on Pure C with POSIX Threads Support by marssaxman on Saturday March 12, 2016 @02:55AM (#11271778)
It 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.