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

Best lower level language to "prepare" for more mainstream adoption of wasm ? #1255

Closed
fabm22 opened this issue Jan 16, 2019 · 2 comments
Closed

Comments

@fabm22
Copy link

fabm22 commented Jan 16, 2019

Hi,

Given that one wouldn't have any particular experience in any lower level (ie. compared to JS) language apart from the basics, which language that will be source to wasm compilation would you typically recommend to learn/get into ???

Precisely, I was hesitating between C++ and Rust, so would you say Rust will be(is?) a "typical" source language (i.e. at least at same level as C/C++) for compilation into WASM ?

Maybe another language than those two ?

Thanks a lot for your advice, hoping this 'issue' is placed conveniently.

@kripken
Copy link
Member

kripken commented Jan 16, 2019

AssemblyScript is another good option.

@Pauan
Copy link

Pauan commented Jan 17, 2019

I don't think this is the right place to discuss this, but personally I think Rust is easier to learn than C++.

Rust has excellent built-in support for compiling to wasm. It also supports emscripten, but that tends to be a bit slower and heavier.

And it has strong support for JS interop as well, with wasm-pack, wasm-bindgen, and stdweb.

There is also an official Rust + Wasm working group whose purpose is to build and ensure excellent Wasm support for Rust.

By "official" I mean actually officially a part of Rust, and run by Rust team members.

(Disclaimer: I am a part of the Rust + Wasm working group, so I'm not an unbiased third-party observer)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants