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.
An experienced software developer with a strong background in developing award-winning web and mobile applications for diverse clients with 6+ years of industry experience.
Hello! I'm Seniru - a person who is trying to understand what the world is. I like pizza and coding and I find myself as a patient, self-confident and a systematic person with a strong desire
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 my express 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 am a tall (1,95m) coding & drawing enthusiast that likes all type of coding and drawing cartoons. I like to work (coding & drawing) on the go with my surface
#cypress #js #csharp
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
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-webassemblyand serve it from myexpressserver?Good question! This will work both back-end with an Express server and front-end in a browser.
The way
inline-webassemblyworks 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