4 ms·
I don't know if I can agree that the Ruby C API implementation is the cleanest -- from my experience I'll say it's very pure, but pure does not really mean clea
by yzmtf2008 9y ago
I don't know if I can agree that the Ruby C API implementation is the cleanest -- from my experience I'll say it's very pure, but pure does not really mean clean, and it sometimes (esp. when performance is a concern) makes writing C extensions messy.
Python's C API could be argued that it uses too much abstraction, but it definitely makes it that much easier to write extensions.