[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Lua C API can't be used from other languages without C wrappers
- From: "Soni \"They/Them\" L." <fakedme@...>
- Date: Sun, 18 Feb 2018 12:23:33 -0300
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.