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

Added support for luajit #4

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Added support for luajit #4

wants to merge 1 commit into from

Conversation

bcareil
Copy link

@bcareil bcareil commented May 18, 2022

Hello,

Here is an attempt at compiling zoltan with luajit.

I did not really know how to do conditional compilation, so I used that approach of having different files loaded conditionally through addPackage.

I had to work around a few missing features from luajit and the most questionable one is avoiding to call lua_setuservalue. I'm no Lua expert so bear with me here. I do not know what is the purpose of this function and looking at other code, especially Lua5.1 binding code, it did not seem necessary.

Anyway, let me know if there is anything you'd like to change.

Also, I only tested on osx and Linux. I do not have a windows to try it over there.

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

Successfully merging this pull request may close these issues.

1 participant