This Week in Rust and WebAssembly 12
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.
- Replacing a hot path in your app’s JavaScript with WebAssembly. The article compares versions written in Rust, C/C++, and AssemblyScript.
- Was (not Wasm) is a hostile allocator for AssemblyScript that is written in Rust.
- Wasmer has improved their startup time by 100x.
- WebAssembly Troubles part 4: Microwasm. The culmination of a series of posts about issues the author has with WebAssembly, along with proposals for how to fix them.
- Generating snow with Rust and Wasm
Updates from rustwasm/*
RFCs
New RFCs
None.
Final Comment Period RFCs
Merged RFCs
None.
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!
rustwasm/rust-parcel-template
- @tock203 fixed a
ReferenceError
in the template’s initialization code.
rustwasm/twiggy
- @data-pup set up
rustfmt
-checking for our continuous integration. - @alexcrichton made Twiggy account for header and section size bytes of a Wasm binary, so Twiggy’s output should sum to 100% now instead of just short of that.
- @philipc updated Twiggy to version 0.17.0 of
gimli
, the crate it uses to parse DWARF debugging information. - @alexcrichton switched Twiggy over to using the
wasmparser
crate to parse Wasm binaries, which gives more precise byte offset and size information, and is faster than the old Wasm parser. - @data-pup added an unreachable items
summary to the
twiggy dominators
output, so that all top-level rows’ sizes will sum to 100%.
rustwasm/wasm-bindgen
- @tyleranton added support for emitting doc
comments in the
TypeScript interface definition files that
wasm-bindgen
creates. - @LegNeato fixed the
wasm-bindgen-test
headless browser test runner on macOS High Sierra. - @alexcrichton updated the
wasm-bindgen
guide and added a “Deployment” section. - @alexcrichton added support for the new
TextEncoder.prototype.encodeInto
method towasm-bindgen
’s generated JS glue when passing strings between wasm and JS.
rustwasm/wasm-pack
- @ashleygwilliams removed unnecessary
entries from the
"files"
key inwasm-pack
’s generatedpackage.json
. - @ashleygwilliams fixed the [wasm-pack] installer on
windows when it is downloaded
multiple times and ends up with a
(1)
suffix in its filename. - @surma wrote some docs on the
wee_alloc
integration for thewasm-pack
template. - @DebugSteven wrote a series of get-started-in-X-environment
tutorials for
wasm-pack
.
Requests for Contribution
Want to get involved in Rust and WebAssembly? Join the Rust and WebAssembly working group!
- All issues labeled “good first issue” in the
rustwasm/*
repositories - All issues labeled “help wanted” in the
rustwasm/*
repositories