WebAssembly Today ✍️ #17
Updates & commentaries on WebAssembly related technologies, including Rust, serverless, cloud, blockchain, and AI. Focused on the server-side.
Editorial: This week, we see more real-world applications as well as educational content in WebAssembly.
WebAssembly Today
Cranelift goes into production in Firefox 🦊
Cranelift is slated to power Firefox's WebAssembly runtime for ARM devices.
That includes Firefox on Android, Firefox on Apple silicon, and most mobile devices! It will be released in Firefox 82.
Create a WebAssembly compiler from scratch 🤠
This QCon presentation teaches you how to create a WebAssembly compiler for a simple programming language the author invented. It is an excellent tutorial for the internals of WebAssembly.
Create High-Performance Web Apps with WebAssembly 😎
Konstantin Möllers shows us how WebAssembly works and how to use it in real world web applications. The approach is to develop a hybrid app with Rust functions, compiled into WebAssembly for high performance execution, with a JavaScript UI.
A Suduko Solving Serverless Endpoint Using WebAssembly and OR-Tools 🔢
The Suduko Solver is proof of concept serverless app. Developer Kjartan Rekdal Müller compiles existing C++ libraries to WebAssembly and offers services based on the WebAssembly VM.See the live demo here.
Supercharging TensorFlow.js with SIMD and multi-threading in WebAssembly 🔎
Official benchmarks from the TensorFlow team. The newly released TensorFlow.js version 2.3.0 sees an up to 10X performance improvement. The tensorflow.js runs in WebAssembly. It archives this performance by leveraging SIMD (vector) instructions and multithreading via XNNPACK, a highly optimized library of neural network operators than Plain JS and WebGL, in its WebAssembly code.
Rusty News
Rust 2021 roadmap 🤒
The Rust core team has published a roadmap for the Rust language. It looks like that we might get a Rust 2021 Edition! (The last Edition was 2018) If you have written about Rust in your blog, please also make sure that you submit through the Google form.
New safety rules in C++ Core Check, borrowed from Rust 😘
Visual Studio is adding more language safety check rules for C++ programs. Those rules are borrowed straight from Rust.Rust is making C++ programs safer now.
Thought you love Python? Wait until you meet Rust 🤔
This is an excellent article on the basic concepts behind Rust. The term Rust, apparently refers to "Technology from the past come to save the future from itself.” Rust is indeed the future language built on past success and lessons from C/C++.
Curio - A blazing fast HTTP client, written in Rust 👍
Curio is a small HTTP client built in Rust. Curio supports most of the most common HTTP methods, and CORS request moderation.
Serverless Data Ingestion with Rust and AWS SES 🤖
This article shows you how to build a simple serverless data pipeline in Rust, AWS Lambda, and AWS SES, based around ingesting and sending data via email.
Supporting Linux kernel development in Rust 👀
The speakers at 2020 Linux Plumbers Conference emphasized that they are not proposing a rewrite of the Linux kernel into Rust; they are focused on moving toward a world where new code may be written in Rust.
The ensuing conversation focused on three areas of potential concern for Rust support: making use of the existing APIs in the kernel, architecture support, and ABI compatibility between Rust and C.
AWS introduces Bottlerocket: A Rust language-oriented Linux for containers 👏
Amazon Web Services (AWS) announced a new Linux distribution called Bottlerocket Linux. It is specifically designed for for containers, and has many components written in Rust for hardened security. As we discussed before, container security is a big issue in public clouds. Rust will help drive more adoption of containers.
A Rust ORM based on tokio-postgres and refinery 🦀
Oxidizer is a Rust ORM based on tokio-postgres and refinery that helps developers reduce the boilerplate of writing entities, tables & migrations when using relational databases.
Serverless world
VMware 5G Telco Cloud Platform simplifies and accelerates the rollout of 5G networks 📱
VMware announced its 5G Telco Cloud Platform, a cloud-first solution powered by a proven, carrier-grade, and high-performance cloud native infrastructure with intelligent automation.
Serverless containers with Azure Container Instances (ACI) 📞
In this episode, Azure CTO Mark Russinovich joins Scott Hanselman to show how you can use Azure Container Instances (ACI) to host a containerized application. Mark deploys an image processing container in three ways: as a standalone ACI container, as part of a Logic Apps workflow, and as the backend of a web app. Check it out!
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! 😷