DEV Community

Discussion on: What are some examples of less obvious web development features/technologies worth learning?

insuusvenerati profile image
Sean • Edited on

WASM is about creating bindings between one language, like Rust, and JavaScript. So if I have a function that does expensive calculations I could create it in a faster language like Rust, create a binding for it and compile it into a wasm module that gets imported into JavaScript. Then I just use the function as any other JavaScript function. So to answer your question, you don’t need to know wasm at all, you need to know a compiled language and the simple API that provides the bindings.