[libxml-devel] implementing in Ruby vs C
Aaron Patterson
aaron.patterson at gmail.com
Fri Jul 11 12:37:31 EDT 2008
On Fri, Jul 11, 2008 at 8:52 AM, Sean Chittenden <sean at chittenden.org> wrote:
>> As I've started reading through the libxml-ruby code, I have run
>> across methods implemented in C that could be implemented in Ruby. I
>> would like to change them to be implemented in Ruby. Is anyone
>> opposed to that? I think it would make coding easier, less buggy, and
>> more fun!
>
>
> I'm not entirely opposed to the idea... but am curious for some example
> functions. :) -sc
Oh, also if all of the XML_ATTRIBUTE_* constants were made available
in ruby, then you could write a c function to return the integer of
xnode->type, then write all of your *? methods in ruby.
--
Aaron Patterson
http://tenderlovemaking.com/
More information about the libxml-devel
mailing list