spin
spin copied to clipboard
JavaScript / TypeScript support
JavaScript is the most popular programming language. It would be extremely helpful to have support for it in Spin.
Hi @radu-matei For JavaScript Support, do you plan to make use of any existing toolchains ?
Oh yeah, we want to be able to reuse existing JS engines and use as much of the NPM ecosystem as possible (of course, packages that don't use the system, networking stack..)
We haven't made a lot of progress here, but the idea is to use SpiderMonkey as the JavaScript engine and do module linking with the user defined JavaScript. ref https://github.com/bytecodealliance/spidermonkey-wasm-rs
Are you interested in collaborating on it?
Thanks a lot, Radu, I would love to.
But, I am not sure about the roadmap of how, to begin with, this?
Also by any means Can the Javy Toolchain play a role in accomplishing the goal for JavaScript Support ?
Believe this is with @dicej at the moment