This Week in Rust and WebAssembly 14
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 from Around the Web
Want to make sure something ends up on this list next time we publish an issue? Leave a comment on this issue.
- Fast, Bump-Allocated Virtual DOMs with Rust and Wasm
- Version 0.3 of the
seed
framework was released web-dom
is an alternative way to access the DOM from Rust- Ensembl 2020 (a genome browser) will use Rust and Wasm
- The
actix
project is working on getting their actors running as Wasm on the Web - Demo: a real-time pitch detector Web application (and reusable library crate!) made with Rust and Wasm
- The Godbolt Compiler Explorer can show Wasm disassembly, with color-coded highlighting showing which Rust source text compiled into which Wasm instructions
Updates from rustwasm/*
RFCs
New RFCs
Final Comment Period RFCs
None.
Merged RFCs
Working Group Meetings
- Watch the recording of this week’s working group meeting on YouTube
- Come join us at next week’s working group meeting!
Gloo
- Gloo is the modular toolkit we decided to collectively build in our 2019 roadmap. We’ve been having lots of good discussion about scope and API design in issue threads! (Not doing lots of PRs quite yet.)
- @OddCoincidence added support for
setInterval
togloo-timers
.
rustwasm.github.io
- @DebugSteven removed some unused CSS rules from our Website’s stylesheets.
rust-webpack-template
- @alexcrichton upgraded the template to the Rust 2018 edition.
Twiggy
- @data-pup upgraded Twiggy to the Rust 2018 edition.
- @data-pup added more tests for
the
twiggy diff
subcommand.
wasm-bindgen
- We released
wasm-bindgen
version 0.2.39! 🎉 - @c410-f3r made
wasm-bindgen
’s generated TypeScript interfaces’ functions’ argument names be preserved from the Rust source instead of being generated symbols. - @ibaryshnikov cleaned up our Web GL example.
- @nstoddard added immutability
whitelisting for
Uint8Array
,ArrayBufferView
, andBufferSource
. - @RReverser fixed some copy-paste
errors in documentation
for
Int32Array
andUint32Array
- @RReverser cleaned up and de-duplicated our binding definitions to the different kinds of typed arrays!
- @c410-f3r expanded the testing of our emitted TypeScript interface definitions.
- @alexcrichton added the
#[wasm_bindgen(raw_module = "...")]
attribute to thewasm-bindgen
proc-macro. - @konradsz fixed the number-slices example’s JS imports.
- @alexlapa enabled passing optional imported
enum
s over the FFI boundary.
wasm-pack
- We released
wasm-pack
version 0.7.0! 🎉 - @alexcrichton added support for the
web
target towasm-pack
. This target uses browsers’ native support for ES modules, and doesn’t require the use of a JS bundler. - @alexcrichton started migrating
wasm-pack
’s CLI output towards our 1.0 vision forwasm-pack
output. Notably,cargo build
’s colors and progress bar should work now. - @alexcrichton added a smorgasbord of docs improvements.
- @drager added support for non-
rustup
-based Rust development environments towasm-pack
. - @ashleygwilliams added a quickstart doc
page for using
wasm-pack
with Webpack.
wasm-pack-template
- @alexcrichton upgraded the template to the Rust 2018 edition.
Requests for Contribution
Want to get involved in Rust and WebAssembly? Join the Rust and WebAssembly working group!
- Let’s Build Gloo Together
- All issues labeled “good first issue” in the
rustwasm/*
repositories - All issues labeled “help wanted” in the
rustwasm/*
repositories