note
bliako
<c>#include <ruby.h></c>
<p>have you really thought that properly?</p>
<p>(for the record: [https://github.com/skade/rbtree/blob/master/dict.c] )</p>
<p>Unless you can provide a stand-alone rbtree.c, I don't find adding all ruby dependencies a good idea. When you eventually have such C code, use [mod://Inline::C] to prototype it. The difficult part would be to provide the perl-vars into the C functions. There's documentation and a lot of examples though, so just a matter of time and effort. I am sure you will have something going for scalars at least in short time. And take it from there. See also: [id://11138306] on how to use [mod://Inline::C] to bootstrap an XS project. Please post here again when you have something more concrete, and/or msg me.</p>
<p>bw, bliako</p>
11138654
11138654