| ▲ | wk_end 15 hours ago | |||||||
V8 itself might not, but, say, Node does and that doesn't torpedo performance. Was Node-API just better designed than Python's FFI? | ||||||||
| ▲ | kccqzy 9 hours ago | parent [-] | |||||||
My understanding is that Node still doesn’t give you low-level C APIs into the language itself. It gives you JavaScript APIs that call into I/O libraries (libuv basically). Python it’s not hard to write a module in pure C that manipulates other Python objects. This means the representation of Python objects has to be stable enough for the C code. V8 does not allow that. | ||||||||
| ||||||||