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

Port to arm64? #105

Open
vielmetti opened this issue Oct 1, 2019 · 2 comments
Open

Port to arm64? #105

vielmetti opened this issue Oct 1, 2019 · 2 comments

Comments

@vielmetti
Copy link

Anyone working on an arm64 port of this?

Lua is often tricky on arm64 (48-bit lightuserdata, for example) and wonder if anyone has been down this particular path before I jump in.

@nilium
Copy link
Contributor

nilium commented Oct 1, 2019

Not a maintainer, but I've used this on my Tinkerboards without issue (don't have them running right now to check HEAD though, so grain of salt).

There shouldn't be anything preventing this from working as long you can compile for arm64. The VM is all pretty standard Go, so the way light userdata works in go-lua is that it's an interface{} instead of a simple pointer (so it's a bit larger, and you don't necessarily have to use pointers).

@siddhesh
Copy link
Contributor

Anyone working on an arm64 port of this?

I've run builds and tests on arm64 and barring the couple of PRs I've posted recently to fix tests and an undefined behaviour, things look more or less on par with x86_64.

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

3 participants