WebAssembly Today ✍️ #26
Updates & commentaries on WebAssembly related technologies, including Rust, serverless, cloud, blockchain, and AI. Focused on the server-side.
Editorial: This week, we learn about compilers, including how to compile and optimize for WebAssembly, as well as how to build a Rust-based compiler. With the release of .Net 5.0, we see more commitment from Microsoft to support WebAssembly. We are also excited that the Servo project found a new home at the Linux Foundation.
Learn more about the WebAssembly compilation pipeline in V8. The article describes how V8 compiler components, such as LiftOff and TurboFan, process WebAssembly modules in multiple passes to achieve the best runtime performance.
The Microsoft .NET 5.0 adds support for WebAssembly and Windows Arm64.
Fastly announced new features for their serverless compute environmentCompute@Edge, powered by WebAssembly and Lucet.The new features includenew CLI functionalities, Terraform API support, and AssemblyScript language support.
Pyodide brings the Python 3.8 runtime to the browser via WebAssembly. It came with the Python scientific computing stack including NumPy, Pandas, Matplotlib, parts of SciPy, and NetworkX.
1Password is hiring a Rust WebAssembly developer for 1Password Core. The 1Password Core is a common library security-critical functions across all 1Password mobile, desktop, and browser products. It sounds like the exact kind of infrastructure projects Rust could excel on.
Developer Niels Simonides and Jerre van Veluw discussed how they built an WebAssembly compiler from scratch for the Dutch programming language. The compiler is written in Kotlin. It is a great tutorial on the inner workings of a compiler from application developer’s point of view.
Blazor WebAssembly doesn't yet have a standard .NET debugger. But you can still debug it! This article teaches you how to debug in Blazor WebAssembly via the Chrome Devtools Protocol.
Microsoft released Visual Studio 2019 for Mac v8.8. A great feature of the v8.8 is its support for Blazor WebAssembly debugging. Debugging Blazor WebAssembly applications requires the latest browsers -- Google Chrome v70 or later or Microsoft Edge v80 or later. Apple Safari on macOS isn't currently supported.
The Mozilla layoffs we covered a few weeks ago continue to impact the Rust community. As we recall, Mozilla laid off most of the team behind the Servo browser engine, which is one of the largest Rust projects in the world. This week, the Servo Project announced it has moved to the Linux Foundation. It now has a board and a technical steering committee.
CXXprovides asafemechanism for calling C++ code from Rust and vice versa. It eliminates many safety issues that could come up when using bindgen or cbindgen to generate unsafe C-style bindings.
The Rust Performance Book discusses performance related subjects, covering both speed and memory usage, for intermediate and advanced Rust developers.
The author wrote 4 compilers for theBrainfuck programming language in Rust! They compile Brainfuck programs into x86, ARM, WebAssembly, and LLVM targets. This is a great tutorial if you are interested in compilers. Along the way, you will learn assembly languages for those compiler targets, as well as how to use Rust to generate code.
The rkyv crate is a pure Rust deserialization framework. It is functionally similar to other zero-copy deserialization frameworks like Cap'n Proto and FlatBuffers. It uses Rust macros to build its serialization functions as serde does.
Google provides a serverless Database Migration Service (DMS) to help users migrate other SQL databases to the Google Cloud SQL. Customers do not have to set up server instances during the migration – DMS takes care of the underlying infrastructure provisioning and operations.
Cisco acquired Banzai Cloud to boost its portfolio of cloud-native technologies. Banzai Cloud provides an Kubernetes-based suite of automation solutions for cloud native development and deployment.
Enjoyed reading this newsletter? Please subscribe to make sure that you do not miss a future issue. ❤️
This newsletter is a collaborative effort. Don’t forget to leave comments! Suggest topics or projects you would like to see we cover next week via contact at webassembly dot today. Thanks!
Until then, stay safe, stay healthy! 😷