Package: lua53-cffi-lua (0.2.3+git.1769216057.4c6197f-1.5)
A portable C FFI for Lua 5.1+
This is a portable C FFI for Lua, based on `libffi` and aiming to be mostly compatible with LuaJIT FFI, but written from scratch. Compatibility is preserved where reasonable, but not where not easily implementable (e.g. the parser extensions for 64-bit `cdata` and so on). Thanks to `libffi`, it works on many operating systems and CPU architectures. The `cffi-lua` codebase itself does not contain any non-portable code (with the exception of things such as Windows calling convention handling on x86, and some adjustments for big endian architectures). Some effort was also taken to ensure compatibility with custom Lua configurations (e.g. with changed numeric type representations), though this is not tested or guaranteed to work (patches welcome if broken). Unlike LuaJIT's `ffi` module or other efforts such as `luaffifb`, it works with every common version of the reference Lua implementation (currently 5.1, 5.2, 5.3 and 5.4, 5.0 could be supported but wasn't considered worth it) as well as compatible non-reference ones (like LuaJIT). Functionality from newer Lua versions is also supported, when used with that version (e.g. with 5.3+ you will get seamless integer and bit-op support, with 5.4 you will get metatype support for to-be-closed variables, and so on). Since it's written from scratch, having 1:1 bug-for-bug C parser compatibility is a non-goal. The parser is meant to comply with C11, plus a number of extensions from GCC, MSVC and C++ (where it doesn't conflict with C). The project was started because there isn't any FFI for standard Lua that's as user friendly as LuaJIT's and doesn't have portability issues.
Package information
- Homepage
- [https://github.com/q66/cffi-lua]
- License
- MIT
- Downstream package maintainer
- Unknown: not reported in the indexed source
- Source package
- [lua53-cffi-lua]
- Software project
- [lua54-cffi-lua]
Versions and downloads for lua53-cffi-lua
| Version / release | Architecture / repository | Package size | Installed size | Files | Publisher repository artifact |
|---|---|---|---|---|---|
| 0.2.3+git.1769216057.4c6197f-1.5tumbleweed / oss | x86_64openSUSE Tumbleweed · OSS · multi-architecture | 89 KiB | 212 KiB | list of files | lua53-cffi-lua-0.2.3+git.1769216057.4c6197f-1.5.x86_64.rpm |
About these downloads
Each row is recorded package-index metadata for one version, architecture, suite, and repository. Names, URLs, and sizes are source-reported; a link is a potentially mutable retrieval location, not an OpenFactory redistribution claim or proof that OpenFactory retained the artifact bytes.
Other packages built from lua53-cffi-lua
- lua53-cffi-lua-doc
Documentation for lua53-cffi-lua
Dependencies and recommendations for lua53-cffi-lua
dep: libffi.so.8()(64bit)
Package not available
dep: libffi.so.8(LIBFFI_BASE_8.0)(64bit)
Package not available
dep: libffi.so.8(LIBFFI_CLOSURE_8.0)(64bit)
Package not available
dep: [lua53]
Small Embeddable Language with Procedural Syntax
dep: [lua53-compat-5.3]
Lua-5.3-style APIs for Lua 5.2 and 5.1
dep: libc.so.6(GLIBC_2.34)(64bit)
Package not available
rec: [lua53-cffi-lua-doc]
Documentation for lua53-cffi-lua
Package file paths (3)
Paths come from the repository package-file index for the observed builds. They describe archive/package associations, not every file that will exist on a running system after maintainer scripts, alternatives, generated state, diversions, or installation choices.
- /usr/lib64/lua/5.3/cffi.so
- /usr/share/licenses/lua53-cffi-lua
- /usr/share/licenses/lua53-cffi-lua/COPYING.md
Field source: openSUSE Tumbleweed OSS
