Re: [Jruby-devel] Mongrel support.

2006-06-18 Thread Scott L Holmes
OK, uncle on the C. I was thinking that we could find another state machine compiler that gens Java but that ended up not making any sence because these generators act like macro languages or preprocessor - they dress up C and gen C or they dress up Java and gen Java. My goal is to get a web base

Re: [Jruby-devel] Mongrel support.

2006-06-18 Thread Ola Bini
way to do this. And writing our own Java-Ragel is much, much work. (The ragel-defs are in http11_parser.rl) So, right now I don't know exactly how we will manage this. Regards Ola Bini - Original Message - From: Scott L Holmes <[EMAIL PROTECTED]> Date: Sunday, June 18, 2006 3:

Re: [Jruby-devel] Mongrel support.

2006-06-18 Thread Scott L Holmes
Here's the very beginning of mongrel.rb: require 'socket' require 'http11' require 'thread' require 'stringio' require 'mongrel/cgi' require 'mongrel/handlers' require 'mongrel/command' require 'mongrel/tcphack' require 'yaml' require 'time' So, I have some questions. How are we doing with sock

Re: [Jruby-devel] Mongrel support.

2006-06-18 Thread Ola Bini
sage - From: Charles O Nutter <[EMAIL PROTECTED]> Date: Sunday, June 18, 2006 6:27 am Subject: Re: [Jruby-devel] Mongrel support. To: [EMAIL PROTECTED], [email protected] > I'd say to look at what the other fast HTTP servers are using; > jetty and > simple are b

Re: [Jruby-devel] Mongrel support.

2006-06-17 Thread Charles O Nutter
I'd say to look at what the other fast HTTP servers are using; jetty and simple are both very fast, and whatever they're using for HTTP parsing might be neatly packaged. I'm sure there's others out there, but those are the only two I know of. Tomcat has improved, but I think it's HTTP parser is not

[Jruby-devel] Mongrel support.

2006-06-17 Thread Ola Bini
Hi, There has been some discussion about the option of supporting Mongrel in JRuby, and how much effort this would take. As some maybe know, Mongrel is mostly Ruby (> 1.8.4), but the http-parser library is writtein in C. I've taken a look at the source code, and as far as I can see, this shouldn't