spin icon indicating copy to clipboard operation
spin copied to clipboard

JavaScript / TypeScript support

Open radu-matei opened this issue 3 years ago • 5 comments

JavaScript is the most popular programming language. It would be extremely helpful to have support for it in Spin.

radu-matei avatar Apr 17 '22 14:04 radu-matei

Hi @radu-matei For JavaScript Support, do you plan to make use of any existing toolchains ?

Deepansharora27 avatar Apr 20 '22 03:04 Deepansharora27

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?

radu-matei avatar Apr 20 '22 10:04 radu-matei

Thanks a lot, Radu, I would love to.

But, I am not sure about the roadmap of how, to begin with, this?

Deepansharora27 avatar Apr 21 '22 09:04 Deepansharora27

Also by any means Can the Javy Toolchain play a role in accomplishing the goal for JavaScript Support ?

Deepansharora27 avatar Apr 21 '22 10:04 Deepansharora27

Believe this is with @dicej at the moment

itowlson avatar Sep 22 '22 02:09 itowlson