|
|
|
|
|
by beagle3
1387 days ago
|
|
LuaJIT has a pretty great FFi which was later ported to standard Lua; Python’s ctypes provides a decent FFI. Nim, Zig and Rust do too, but they have semantics much closer to C, so it’s almost free (especially when they can all use llvm directly for code generation, and Nim’s preferred way is to compile through C in the first place) |
|