Offer a high level programmable interface? #18
yvan-sraka
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I know we choose to use https://github.com/adrien-zinger/wasmer-as to read strings in the context of running SC written in https://www.assemblyscript.org/
But it is worth also offering a high-level programmable interface based on https://wasi.dev/ as I experimented here https://github.com/massalabs/sc-runtime/tree/wasi-env to let people try (at their own risks) to embark small interpreter like https://bellard.org/quickjs/ on SC runtime provided, even if it will be slower and hackier.
My question could be also reformulated as:
wasm
binary targettingWASI
and let the choice to users to use Rust or a bundled interpreter or whatever custom solution they want?Beta Was this translation helpful? Give feedback.
All reactions