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

JIT safety is not documented #16

Open
Shnatsel opened this issue Nov 6, 2019 · 0 comments
Open

JIT safety is not documented #16

Shnatsel opened this issue Nov 6, 2019 · 0 comments

Comments

@Shnatsel
Copy link

Shnatsel commented Nov 6, 2019

JIT is quite perilous from the correctness and security standpoints, but this is currently not addressed in the README.

If you write an interpreter in Rust you can use rustc to guarantee memory safety, but with JIT you're essentially emitting arbitrary assembly at runtime and jumping into it. No amount of memory safety guarantees on the original code will guarantee memory safety in the generated code.

Please document how this is addressed (if at all).

P.S. Thank you for the very interesting project that's pushing the boundaries of safety as we know it!

@Shnatsel Shnatsel changed the title JIT safety not documented JIT safety is not documented Nov 6, 2019
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

1 participant