Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bindings: lua multi-version support for luarocks build #2575

Closed
oowl opened this issue Jun 30, 2023 · 3 comments
Closed

bindings: lua multi-version support for luarocks build #2575

oowl opened this issue Jun 30, 2023 · 3 comments

Comments

@oowl
Copy link
Member

oowl commented Jun 30, 2023

#2558 (comment)

@Xuanwo
Copy link
Member

Xuanwo commented Jun 30, 2023

I have limited knowledge about Lua. Are Lua packages incompatible between different minor versions of Lua?

For example, if I built a package with lua 5.2, can it be used under lua 5.4?

@oowl
Copy link
Member Author

oowl commented Jun 30, 2023

@Xuanwo Yeah, 5.2 share library package can not be used under 5.4. , Lua is a language with poor compatibility. From https://www.lua.org/versions.html

Different versions are really different. The API is likely to be a little different (but with compatibility switches), and there is no ABI compatibility: applications that embed Lua and C libraries for Lua must be recompiled. The virtual machine is also very likely to be different in a new version: Lua programs that have been precompiled for one version will not load in a different version.

@oowl oowl changed the title bindings: lua multi-version support for luarockt build bindings: lua multi-version support for luarocst build Jun 30, 2023
@oowl oowl changed the title bindings: lua multi-version support for luarocst build bindings: lua multi-version support for luarocks build Jul 5, 2023
@Xuanwo
Copy link
Member

Xuanwo commented Sep 9, 2024

No actions to take so far. Feel free to open new one instead.

@Xuanwo Xuanwo closed this as not planned Won't fix, can't repro, duplicate, stale Sep 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants