From: Mike Barsalou Date: 2009-09-11T02:40:08+09:00 Subject: Re: Duplicate this code in C On Sep 10, 8:57 am, Mike Barsalou wrote: > On Sep 10, 5:32 am, Reid Thompson wrote: > > > > > On Thu, 2009-09-10 at 08:05 +0900, Mike Barsalou wrote: > > > On Sep 9, 5:08 am, Reid Thompson wrote: > > > > On Wed, 2009-09-09 at 15:35 +0900, barjunk wrote: > > > > > Is there a way to duplicate this code using C? > > > > > >http://pastie.org/610698 > > > Thanks for this.  I should have been more specific and say that I was > > > trying to write ruby code in C to then launch the forks....so I really > > > mean to duplicate the ruby code to be ruby code ...in C.... > > > > Kaspar, > > > > Passenger does it, but using ruby.  Mongrel doesn't install yet in > > > 1.9, although I need to still go through the online code...I'm going > > > to guess they do it in ruby as well. > > > > Any chance you could point me to actual code that does this?  I looked > > > at eventmachine too, but I'm not good enough to figure out what I > > > need, which is kinda why I'm here. > > > > Again, thanks for any tips. > > > > Mike B. > > > perhaps a look at ruby2c... > > Another good idea.  I'm having trouble getting that to work as > well...  There is an upgrade to 1.0.0.7 so I'm going to give that a > whirl. > > Mike B. ruby2c still not working, I filed a bug report: http://rubyforge.org/tracker/index.php?func=detail&aid=27086&group_id=443&atid=1766 Mike B.