-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Possible backends #156
Comments
Yes, interpreters and additional compiling backends are in scope. I haven't looked at what a wasmi backend in particular might look like yet, and it's likely that wasmtime-runtime will need some changes to support this, but that's one of the places we're interested in heading. |
Instead of returning the debug formatting, which includes the enum names, like `Io(...)`, just run the formatting function of the inner error objects, which is nicer for command-line use.
Any update here? I'm investigating switching to wasmtime as our wasm backend, and the cranelift AOT and light beam JIT pairs looks good. I did see a comment in the README about supporting interpreters and that would be nice for some situations, if we could swap that out so easily. However, looking into the compiler strategies, it seems an enum of cranelift or light beam. Am I correct that there is no wasm interpreter that works with wasmtime? And is there any tracking issue (besides this) with any plans? I would also be interested in wasmi support |
Yes, you're correct. I don't think we have a separate tracking issue, though I do know there are a lot of people are interested in interpreter support. |
* redesign wasi ctx and builder * in ctx, resources are only ever owned by the table * preopen dirs and stdio are just indexes into the table that we hand to the caller * builder requires less boxing, in general, takes more impl traits * tests: rewrite the way we generate tests to not construct store * uncomment WasiCtx's pool methods
Populate a `rule_map` in the `sema::TermEnv` mapping interned rule names to rule IDs. This is similar to the `term_map` that already exists. This should be useful in bytecodealliance#151 bytecodealliance#128 where we need to apply attributes to rules.
Now having the lightbeam backend being added, I am curious on what is the scope of this project. Will it be beneficial to add, say,
wasmi
backend (for ensuring correctness) orllvm
for highly optimized builds?The text was updated successfully, but these errors were encountered: