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

Document VM bootstrap, code generation, build process #250

Open
lukego opened this issue Apr 4, 2019 · 2 comments
Open

Document VM bootstrap, code generation, build process #250

lukego opened this issue Apr 4, 2019 · 2 comments

Comments

@lukego
Copy link
Contributor

lukego commented Apr 4, 2019

We should write down how the virtual machine is bootstrapped and built.

The VM bootstraps in a complex way including multiple "little language" code generators. This process is not currently documented and can be confusing.

RaptorJIT bootstrap is different to LuaJIT bootstrap too. We dropped the minilua interpreter, we don't require a bootstrap for an ordinary build of the master branch, and we depend on LuaJIT for when we do a full bootstrap build.

@lukego
Copy link
Contributor Author

lukego commented Apr 4, 2019

Highly relevant talk by @corsix at https://www.youtube.com/watch?v=8Q0KLTma_FA.

@hippi777
Copy link

hippi777 commented Apr 4, 2019

((hi there! :) sorry for the noise about the same in the other thread, ive seen that before this... :D ))

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants