lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


It was recently brought to my attention that the Lua C API is strictly a C API, and not as universal as some ppl claim it to be.[1]

More specifically, it's unsafe to directly call this API from any sort of FFI! This includes LuaJIT FFI, Python CFFI, any of the many FFI wrappers for Java, and so on!

Would it be possible to have a built-in "Universal API with C calling conventions"? Thanks. :)

[1]: https://github.com/chucklefish/rlua/issues/71

--
Disclaimer: these emails may be made public at any given time, with or without reason. If you don't agree with this, DO NOT REPLY.