Discover more from WebAssembly Today
WebAssembly Today ✍️ #21
Updates & commentaries on WebAssembly related technologies, including Rust, serverless, cloud, blockchain, and AI. Focused on the server-side.
Memory64 is 64-bit WebAssembly, and it is happening! 64-bit CPUs are mainstream now. Memory64 gives the WebAssembly VM much more memory space to work with. It is great for server-side applications.
Second State Function-as-a-Service (FaaS) is a high-performance serverless service. It supports the Rust programming language as a first class citizen. Based on WebAssembly, the Second State FaaS cold starts and runs much faster than VM or container-based alternatives. It is well suited for computationally intensive applications, such as media manipulation, data analytics, and edge AI / Tensorflow applications.
The Second State FaaS is still in beta. Deploy and use Rust functions as services for FREE during the beta period.No sign-up nor credit card needed. Create a static web page and use the FaaS as the backend service. Give it a Try.
AI services with WebAssembly 🧐
In the past two week, we came across two ways to run AI Models with WebAssembly. One is to compress and compile the TensorFlow models to WASM programs and the other one is to provide a WASI-like command API to run TensorFlow models natively on GPUs. Let us know which approach you like!
Kotlin is one of the most popular programming languages for mobile app development. It's new roadmap calls for a WebAssembly compilation target as well as improved support for writing server side applications.
Creating a colliding galaxies simulation using Rust, ThreeJS, and WebAssembly. Colliding galaxies create blackholes. Create yours and see what's this year's Nobel prize is all about. :)
WebAssembly’s first major version focused on the browser. WebAssembly is now expanding its focus beyond just the browser. The vision of WebAssembly is to become a language agnostic and portable binary format on many platforms. This article explores topics around server-side WebAssembly with wasmtime’s Nick Fizgerald.
Apache TVM (incubating) is a compiler stack for deep learning systems.TVM 0.7 adds WebGPU and WebAssembly support.
The compiler now supports traits on arrays of any length. That is very useful for Rust crates on machine learning and AI. Those algorithms use large high dimensional arrays all the time.
Rust aspires to be the language for high performance, hardware optimized computing. SIMD support in the new generation of CPUs is a must-have.
MJML is a markup language to write responsive email messages. This Rust project converts MJML content to HTML, which can then be used in the email body. Of course, it also works in WebAssembly!
Eventually released the v0.4.0. New features:
Much more detailed documentation
Publishing and subscribing to events committed in the in-memory and Postgres backed Event Store
Support for Event Subscriptions and Projections. Read-optimized (i.e. materialized views) in near real-time and using optimistic locking
Two years ago, Bryan Cantrill wrote about how he fell in love with Rust. Two years later, he is still in love. Read his latest blog post to see why experienced Rust developers contribute to use and love this language.
The curl program is probably one of the most commonly used utility programs in the age of web APIs. Its creator is now making it memory safe by rewriting in Rust.
AWS's Nader Dabit published a manifesto on the future of end-to-end applications based on the serverless paradigm. Serverless = FaaS + BaaS. The future looks bright for serverless!
Serverless was here to bring a new era of cloud computing in 2006, but it hasn’t happen yet.
From the author, there are four factors that affect serverless revolution:
Limited Programming Languages
You Can't Run Entire Applications
The author thought serverless should not be viewed as a replacement for servers. What do you think?
Make the right choice among different serverless providers based on four criteria: cost, ease of integration, the number of services as event source and destination, and industry adoption metrics.
According to the article, the future of serverless and the production readiness of serverless for many use cases will continue to improve and the potential to cover many others is arriving. The industry expects serverless to be the default computing platform by 2025.
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! 😷