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

Use luster as a benchmark (Lua VM) #32

Open
zaoqi-unsafe opened this issue May 6, 2019 · 5 comments
Open

Use luster as a benchmark (Lua VM) #32

zaoqi-unsafe opened this issue May 6, 2019 · 5 comments

Comments

@zaoqi-unsafe
Copy link

No description provided.

@nbp
Copy link
Owner

nbp commented May 6, 2019

At the moment, no. As of today the cranelift backend integration is not yet complete (milestone 0.0.1)

Milestone 0.0.2 is expected to provide interpreter loop unrolling, which would be the beginning any benchmarking effort. At the moment, I am expecting to reach this milestone by the end of 2019.

Looking at run_vm function of luster, I do not see anything which would be too hard to add if missing once the 0.0.2 milestone is reached.

I will rename this issue to be looked at once more for the interpreter loop unrolling, as a potential benchmark reference.

@nbp nbp added this to the v0.2.0: Unroll Interpreter loops milestone May 6, 2019
@nbp nbp changed the title Is it able to convert the code of an interpreter written in lua with luster(An experimental Lua VM implemented in pure Rust) Use luster as a benchmark (Lua VM) May 6, 2019
@cztomsik
Copy link

can we help somehow?

@nbp
Copy link
Owner

nbp commented Jun 4, 2019

@cztomsik Thanks for the proposal. I about to release the version 0.0.1, hopefully by the end of the month.

Then I would have to look at a way to replace the current macro written in the library and replace it by a procedural macro. Without procedural macro, this project will have problems to handle elisions for lifetime parameters.

@nbp
Copy link
Owner

nbp commented Jun 4, 2019

@cztomsik I will try to split up tasks to be done for the version 0.0.2 better than I did so far. Thanks for reminding me.

@cztomsik
Copy link

cztomsik commented Jun 6, 2019

@nbp cool :-)

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