3 ms·
Mongrel and Mongrel2 are two very different projects that have very little beyond their name, author and the fact that they both are servers in common. They sh
by dagw 16y ago
Mongrel and Mongrel2 are two very different projects that have very little beyond their name, author and the fact that they both are servers in common. They share no code and have very different designs and goals.
- yatsyk 16y agoI believe they share some code (http parser)
- thomasz 16y agowhich is written in Ragel and compiled to a C state machine, if I remember correctly
- masklinn 16y agoWell Ragel supports Ruby code output as well (it can generate any of C, C++, Objective-C, D, Java and Ruby). But I'd be surprised if Mongrel used that.
- zedshaw 16y agoSome people do that. It actually was used in jruby, and I think a couple projects generated the raw ruby rather than the C version. Uhm, I want to say Rubinius?
- masklinn 16y agoi don't doubt that, why would ragel generate Ruby code if nobody used it? I just doubt mongrel used ruby ragel-generated code.