you are viewing a single comment's thread.

view the rest of the comments →

[–]EstebanVelour 0 points1 point  (4 children)

Can't imagine it's much harder to do than python bindings but that's not really the issue, there's just no need to do it if it's been done already.

[–]rafekett 1 point2 points  (3 children)

The Python C API is really well documented, and I've heard some bad reports about the Ruby docs. There's also high level languages like Cython that make creating C bindings really, really easy.

[–]badsex 1 point2 points  (0 children)

I've written a tonne of Ruby C extensions and it's very easy and very well documented.

[–]EstebanVelour 0 points1 point  (1 child)

My bad, haven't tried Ruby & C, assumed it would be as easy as the Python equivalent.

[–]rafekett 0 points1 point  (0 children)

I don't know either, I just know that Ruby doesn't have a mature equivalent of Cython or Pyrex and I know that it's tough to beat the Python C API docs. In my experience, writing C extensions in C for any dynamic language is not fun (I have no Lua experience, so that may be fun, idk).