speed vs. re2c?

Joshua Haberman jhaber... at gmail.com
Thu Oct 5 21:06:09 UTC 2006


Hello, I just discovered Ragel and I'm very excited that it exists!
I've used re2c and I like it, but re2c isn't as modularized as Ragel --
the C-specific code generation isn't very well decoupled from the state
machine code.

One benefit of re2c is that the generated scanners are extremely fast.
I'm wondering if anyone has compared Ragel's speed with flex, re2c, or
runtime regular expression engines like PCRE.

Josh



More information about the ragel-users mailing list