Discover more from Deus In Machina
A look at WebAssembly, the webs powerful new technology part 1
This isn't just another fad
A fast, efficient, and portable web format
Readable and debuggable
Doesn’t break the existing internet
primarily by hobbyists, academics, and computer savvy people
These optimizations rely on the functions called and the program's state as users interact with it. If the program state changes significantly, previously applied optimizations may no longer be relevant, or detrimental, causing a deoptimization (deopt) to occur. This leads to unpredictable performance, a hurdle when designing high performance web applications. WebAssembly programs are compiled ahead of time (AOT), eliminating the delay before achieving peak performance. This is because all of the optimizations are baked in when the program is compiled.
The final focus of WebAssembly is compatibility. WebAssembly is designed to be compatible with existing web technologies and web standards. This means that WebAssembly is implemented in a way that should not disrupt or break the functioning of websites and web applications that are already in use. We all know what a pain it can be when that compatibility is broken. Thankfully, the web is one of the few places where multiple large companies have banded together to work on open standards, and we are better for it.
Thankfully, WebAssembly offers more than just enhanced performance. It has even found success outside of the web as a portable format for native applications. Overall its future appears promising. But how do we write a WebAssembly program and use it? That’s what we will cover in next week’s article 😉. Stay tuned!
Call To Action 📣
If you made it this far thanks for reading! If you are new welcome! I like to talk about technology, niche programming languages, AI, and low-level coding. I’ve recently started a Twitter and would love for you to check it out. I also have a Mastodon if that is more your jam. If you liked the article, consider liking and subscribing. And if you haven’t why not check out another article of mine! A.M.D.G and Thank you for your valuable time.