Today Wasm runs just 20% slower than native code execution. This is, by all means, an astonishing result. It’s a format that’s compiled into a sandbox environment and runs within a whole lot of constraints to make sure it has no security vulnerabilities or is very hardened against them. The slowdown is minimal compared to truly native code. What’s more, it will be even faster in the future.
Dissecting a Minimum (Useful) Webassembly Module
What is the content of a very simple, but usefull Webassembly module? What each byte represents?
Making WebAssembly even faster: Firefox’s new streaming and tiering compiler
People call WebAssembly a game changer because it makes it possible to run code on the web faster. Some of these speedups are already present, and some are yet to come.
One of these speedups is streaming compilation, where the browser compiles the code while the code is still being downloaded. Up until now, this was just a potential future speedup. But with the release of Firefox 58 next week, it becomes a reality.
Firefox 58 also includes a new 2-tiered compiler. The new baseline compiler compiles code 10–15 times faster than the optimizing compiler.
Combined, these two changes mean we compile code faster than it comes in from the network.
WebAssembly — Web Workers
WebAssembly modules can be loaded in either the UI thread or in a Web Worker. You would then take the compiled module and pass that to another thread, or even another window, by using the postMessage method.
Read the full article: https://email@example.com/webassembly-web-workers-f2ba637c3e4a
WebAssembly — Caching to HTML5 IndexedDB
WebAssembly modules were created with the ability to cache the compiled module in mind but the trick is that the caching is something that needs to be done explicitly by us.
Read the full article: https://firstname.lastname@example.org/webassembly-caching-to-html5-indexeddb-c9029eaa55a1
WebAssembly, the journey — JIT Compilers
Read the full article: https://hackernoon.com/webassembly-the-journey-jit-compilers-dfa4081a6ffb
WebAssembly — Caching when using Emscripten
In our first article about WebAssembly, An Introduction to WebAssembly, we allowed Emscripten to handle all of the plumbing for us, including the HTML, so that we could get a feel for what was possible with WebAssembly modules by jumping right into some code.
Read the full article: https://email@example.com/webassembly-caching-when-using-emscripten-3cd2052110f1
WebAssembly: Swift, C#, Java and Oxygene in the Browser
Over the past few weekly builds, we've been rolling out support for WebAssembly, our next major compiler target for Elements.
Read the full article: https://blogs.remobjects.com/2018/01/12/webassembly-swift-c-java-and-oxygene-in-the-browser/
Xi Editor: A modern editor with a backend written in Rust.
The xi editor project is an attempt to build a high quality text editor, using modern software engineering techniques. It is initially built for Mac OS X, using Cocoa for the user interface. There are also frontends for other operating systems available from third-party developers.