-
Notifications
You must be signed in to change notification settings - Fork 89
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
Standalone Compiler #140
Standalone Compiler #140
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for the PR, this is really cool and a great start for this feature! I left some comments to resolve.
BTW, can we please fix the failing lint tests? Those have nothing to do with this PR, but it's a bit a annoying seeing an ❌ on the checks! |
Fixed in 5040ded |
…l/lune-standalone-compiler into feat/standalone-executable
@filiptibell Do note that the bytecode discovery is currently broken, due to the bytecode offset integer being inaccurately recovered at runtime, even though the value is somewhat close to the actual offset. The bytecode size seems to not be affected, however. Since I'll not be able to work on this much over the next few days, I will allow you write access so that you can finalize and merge this as discussed on Discord. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for implementing this!
LGTM! |
This PR aims to enable the long-awaited standalone compilation feature, which allows for building luau source files to OS-native executables. It should be noted, however, that this PR only implements an initial interface for the above, and future PRs much implement more advanced features such as requires in such standalone environments.
TODO:
^ Jemalloc is performant in multithreaded scenarios with multiple simultaneous reads across threads.
Closes #8.