On 8/25/06, William Crawford <wccrawford at gmail.com>
wrote:> Ruby 1.8.5 has some non-blocking IO stuff backported. Will this enable you
> to make eventmachine 100% Ruby?
>
> http://eigenclass.org/hiki.rb?ruby+1.8.5+changelog
>
> _______________________________________________
> Eventmachine-talk mailing list
> Eventmachine-talk at rubyforge.org
> http://rubyforge.org/mailman/listinfo/eventmachine-talk
>
>
I expect so. Most of these functions were added late last May after
some controversy over what they should be called. (See the relevant
threads in the ruby-core archive.)
The pure ruby implementation is nearly complete now (I''ll make an
announcement when it''s ready). Look in
version_0/lib/pr_eventmachine.rb. This functionality gets called
transparently from any program that does a require
''eventmachine'' if
the extension library is not present. I haven''t done a complete
profile, but the pure Ruby code seems to run something like half as
fast as the compiled code, which is better than I was expecting.