On Sun, Jan 24, 2010 at 09:15:56PM +0900, Charles Oliver Nutter wrote:
> On Sat, Jan 23, 2010 at 11:49 PM, Roger Pack <rogerpack2005 / gmail.com> wrote:
> > Looks like pure java Nokogiri is something popular--the bounty on it has
> > already risen to $225
> 
> It's probably the most oft-encountered stumbling block for folks using
> JRuby (these days), since Nokogiri itself has become very popular and
> is now depended on by many other libraries. A pure-Java version would
> never need special handling on any platform, would work on any
> platform where JRuby works, and would not require native library
> support at all.

I thought FFI was supposed to solve this problem.  Is it not?

> I implore gem authors: think about who you might hurt with hard gem
> dependencies on native extensions. At least provide an alternative
> path.

I implore Ruby implementors to support the MRI C api, as it too is part
of Ruby's api.  Think about who you hurt by not letting people reuse
valuable libraries written in C.  :-)

-- 
Aaron Patterson
http://tenderlovemaking.com/