This Week in Rust and WebAssembly 009
Hello and welcome to another issue of This Week in Rust and WebAssembly!
Rust is a systems language pursuing the trifecta: safety, concurrency, and speed.
WebAssembly is a stack-based virtual machine and instruction set. It is fast, safe, portable, and part of the open Web platform. By compiling to WebAssembly, we can run Rust code on the Web!
This is a weekly summary of Rust and WebAssembly’s progress and community.
Did we miss something? Tweet to us at @rustwasm or send us a pull request.
Want to get involved in Rust and WebAssembly? Join the Rust and WebAssembly working group!
News and Blog Posts
Want to make sure something ends up in this list on the next This Week in Rust and WebAssembly? Leave a comment on this issue.
- Multithreading Rust and WebAssembly
- Introducing the Ruukh Framework. An experimental next-gen frontend framework for the Web in Rust. GitHub repository.
- The new website for the
pest
PEG parser generator has a nice wasm-based try-it-live demo at the bottom: https://pest.rs/ - WebAssembly and Dynamic Memory. A comparison of portability of allocators for wasm, featuring
wee_alloc
. - Simi is a new, simple framework for building wasm-front-end Web application in Rust.
- Encrusted is an interpreter for Infocom-era interactive fiction games like Zork that runs in your browser and is built with Rust and WebAssembly.
- Using WebAssembly with Rust is a new, free Video Course on Egghead.
Pauan/SaltyBetBot
is a SaltyBet Bot written entirely in Rust andstdweb
and compiled to Wasm.- Serverless Rust with AWS Lambda and WebAssembly
- Serverless Rust with Cloudflare Workers and WebAssembly
php-ext-wasm
is a PHP extension written in C, calling a Rust lib through FFI, usingwasmi
behind the scene.- HOWTO: Setting up WebAssembly on stable Rust without rustup. Instructions on using raw Rust and Wasm if you happen not to have
rustup
available. - Wasmer is a WebAssembly runtime built on top of Cranelift.
- Terrarium is a fork of WebAssembly Studio, except rather than run WebAssembly in your browser, it is deployed to a fastly server.
runwasm
is an Emscripten emulation layer built withwasmi
.- Bringing Elm’s architecture to Rust and Webassembly
- Stanford’s CS 242 Programming Languages Class will feature Rust and WebAssembly.
- The “Programming WebAssembly with Rust” book by Kevin Hoffman and published by Pragmatic Programmers is in beta and available for pre-order.
yiransheng/rust-snake-wasm
is a snake game in Rust and WebAssembly.console-web
is a crate for writing to the console in wasm usingwasm-bindgen
.
Updates from rustwasm/*
wasm-bindgen
0.2.28 released! 🎉wasm-pack
0.5.1 released! 🎉- Twiggy 0.3.0 released! 🎉
- There are two new reference sections in the Rust and Wasm book:
Requests for Contribution
Jobs
- Fastly is hiring for work on their native WebAssembly compiler, which is written in Rust, based on Cranelift