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

Consider WebAssembly instead of JavaScript for jsii #84

Open
eladb opened this issue Jul 12, 2018 · 4 comments
Open

Consider WebAssembly instead of JavaScript for jsii #84

eladb opened this issue Jul 12, 2018 · 4 comments
Labels
effort/large Large work item – several weeks of effort feature-request A feature should be added or improved. language/javascript Related to Javascript bindings module/runtime Issues affecting the `jsii-runtime` p2 still-relevant? Checking to see if the issue is still relevant

Comments

@eladb
Copy link
Contributor

eladb commented Jul 12, 2018

WebAssembly is gaining traction, if we can execute it in all target languages and source languages can compile to it, then it might be an awesome common runtime for jsii modules. Probably still early to decide (copy @buffovich, #83)

@rix0rrr
Copy link
Contributor

rix0rrr commented Jul 12, 2018

Yes!

@buffovich
Copy link

buffovich commented Jul 12, 2018 via email

@SomayaB SomayaB added the feature-request A feature should be added or improved. label Nov 18, 2019
@SomayaB SomayaB added module/runtime Issues affecting the `jsii-runtime` language/javascript Related to Javascript bindings still-relevant? Checking to see if the issue is still relevant labels Jan 7, 2020
@RomainMuller RomainMuller added the effort/large Large work item – several weeks of effort label Jan 24, 2020
@RomainMuller RomainMuller removed their assignment Jun 24, 2021
@eduardomourar
Copy link

eduardomourar commented Jan 5, 2022

Now that we have the interface types proposal Webassembly Component Model, it should be possible to use a tool such as wit-bindgen to generate the runtime for the different languages supported by JSII.

@RichiCoder1
Copy link

It's a bit esoteric, but there are some interesting projects out there for running JavaScript on WASM that might make a bridge solution possible: https://github.com/Shopify/javy https://www.fermyon.com/wasm-languages/javascript

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
effort/large Large work item – several weeks of effort feature-request A feature should be added or improved. language/javascript Related to Javascript bindings module/runtime Issues affecting the `jsii-runtime` p2 still-relevant? Checking to see if the issue is still relevant
Projects
None yet
Development

No branches or pull requests

7 participants