Introduction
I like to think of WebAssembly as of Assembly. It gives you a few simple building blocks that you can arrange and combine t...
For further actions, you may consider blocking this person and/or reporting abuse
Man, this article surprised me! I didn't know how easy WebAssembly is. I didn't even know about calling it inside a javascript code. The name "Assembly" scares me. Now, I intend to learn this language though.
I'm glad this inspired you to learn more!
I used the inline technique to precalculate large datasets in my current project and the speed gain is very very mentionable.
Thanks for the article! Have a great day!
that's fantastic!
Isn't it strange how WASM looks much like common LISP ? 😎
I am about to say this 😂😂😂
Same 🤔
I'm guessing this works only server-side, but to actually use WASM you'd probably want this in a browser, right? Could I generate a binary using
inline-webassembly
and serve it from myexpress
server?Good question! This will work both back-end with an Express server and front-end in a browser.
The way
inline-webassembly
works is that it generates and executes the binary on the fly, so this will not be a separate step.Let me know if you have questions on how to do that.
When every programming language requires us to write at most is print("hello word"), or console.log("hello world"), I woulnd't call that simple. The worst one is Java, but even it is simpler that what is shown here.
I developed many years with X86 ASM just for fun. I like the idea applying WASM code inline :-D
But I am not sure if my colleagues also support this :D
I know what you mean :) I'm not using this at work either.
Up and running.. Thanks