|
| 1 | +--- |
| 2 | +title: "This Week in Rust and WebAssembly 14" |
| 3 | +--- |
| 4 | + |
| 5 | +Hello and welcome to another issue of *This Week in Rust and WebAssembly*! |
| 6 | + |
| 7 | +[Rust](https://rust-lang.org) is a systems language pursuing the trifecta: |
| 8 | +safety, concurrency, and speed. |
| 9 | + |
| 10 | +[WebAssembly](http://webassembly.org) is a stack-based virtual machine and |
| 11 | +instruction set. It is fast, safe, portable, and part of the open Web |
| 12 | +platform. By compiling to WebAssembly, we can run Rust code on the Web! |
| 13 | + |
| 14 | +This is a weekly summary of Rust and WebAssembly's progress and community. |
| 15 | + |
| 16 | +Did we miss something? Tweet to us at [@rustwasm](https://twitter.com/rustwasm) |
| 17 | +or [send us a pull request](https://github.com/rustwasm/rustwasm.github.io). |
| 18 | + |
| 19 | +**Want to get involved in Rust and WebAssembly? [Join the Rust and WebAssembly working group!][get-involved]** |
| 20 | + |
| 21 | +## News and Blog Posts from Around the Web |
| 22 | + |
| 23 | +*Want to make sure something ends up on this list next time we publish an issue? |
| 24 | +[Leave a comment on this issue.](https://github.com/rustwasm/team/issues/79)* |
| 25 | + |
| 26 | +* [**Fast, Bump-Allocated Virtual DOMs with Rust and |
| 27 | + Wasm**](https://hacks.mozilla.org/2019/03/fast-bump-allocated-virtual-doms-with-rust-and-wasm/) |
| 28 | +* [Version 0.3 of the `seed` framework was |
| 29 | + released](https://github.com/David-OConnor/seed/blob/master/CHANGELOG.md#v030) |
| 30 | +* [`web-dom` is an alternative way to access the DOM from |
| 31 | + Rust](https://github.com/web-dom/web-dom) |
| 32 | +* [Ensembl 2020 (a genome browser) will use Rust and |
| 33 | + Wasm](https://twitter.com/ensembl/status/1106140169575514113) |
| 34 | +* [The `actix` project is working on getting their actors running as Wasm on the |
| 35 | + Web](https://users.rust-lang.org/t/another-small-step-to-wasm-compatibility-actix-actors-in-the-browser/26318) |
| 36 | +* [Demo: a real-time pitch detector Web application (and reusable library |
| 37 | + crate!) made with Rust and |
| 38 | + Wasm](https://twitter.com/alesgeno/status/1107662063168614400) |
| 39 | +* [The Godbolt Compiler Explorer can show Wasm disassembly, with color-coded |
| 40 | + highlighting showing which Rust source text compiled into which Wasm |
| 41 | + instructions](https://rust.godbolt.org/z/PZqG56) |
| 42 | + |
| 43 | +## Updates from [`rustwasm/*`](https://github.com/rustwasm) |
| 44 | + |
| 45 | +### RFCs |
| 46 | + |
| 47 | +#### New RFCs |
| 48 | + |
| 49 | +* [Add `watch` and `serve` subcommands to |
| 50 | + `wasm-pack`](https://github.com/rustwasm/rfcs/pull/10) |
| 51 | + |
| 52 | +#### Final Comment Period RFCs |
| 53 | + |
| 54 | +None. |
| 55 | + |
| 56 | +#### Merged RFCs |
| 57 | + |
| 58 | +* [**2019 Roadmap 🎉**](https://github.com/rustwasm/rfcs/pull/7) |
| 59 | +* [Enable depending on NPM packages](https://github.com/rustwasm/rfcs/pull/8) |
| 60 | + |
| 61 | +### Working Group Meetings |
| 62 | + |
| 63 | +* [Watch the recording of this week's working group meeting on |
| 64 | + YouTube](https://youtu.be/uYySHPCuLz0) |
| 65 | +* [Come join us at next week's working group |
| 66 | + meeting!](https://github.com/rustwasm/team/issues/262) |
| 67 | + |
| 68 | +### Gloo |
| 69 | + |
| 70 | +* [Gloo is the modular toolkit we decided to collectively build in our 2019 |
| 71 | + roadmap.](https://rustwasm.github.io/2019/03/12/lets-build-gloo-together.html) |
| 72 | + We've been having lots of good discussion about scope and API design in issue |
| 73 | + threads! (Not doing lots of PRs quite yet.) |
| 74 | +* @OddCoincidence [added support for |
| 75 | + `setInterval`](https://github.com/rustwasm/gloo/pull/24) to `gloo-timers`. |
| 76 | + |
| 77 | +### `rustwasm.github.io` |
| 78 | + |
| 79 | +* @DebugSteven [removed some unused CSS |
| 80 | + rules](https://github.com/rustwasm/rustwasm.github.io/pull/43) from our |
| 81 | + Website's stylesheets. |
| 82 | + |
| 83 | +### `rust-webpack-template` |
| 84 | + |
| 85 | +* @alexcrichton [upgraded the |
| 86 | + template](https://github.com/rustwasm/rust-webpack-template/pull/120) to the |
| 87 | + Rust 2018 edition. |
| 88 | + |
| 89 | +### Twiggy |
| 90 | + |
| 91 | +* @data-pup [upgraded Twiggy](https://github.com/rustwasm/twiggy/pull/265) to |
| 92 | + the Rust 2018 edition. |
| 93 | +* @data-pup [added more tests](https://github.com/rustwasm/twiggy/pull/268) for |
| 94 | + the `twiggy diff` subcommand. |
| 95 | + |
| 96 | +### `wasm-bindgen` |
| 97 | + |
| 98 | +* [**We released `wasm-bindgen` version 0.2.39! |
| 99 | + 🎉**](https://github.com/rustwasm/wasm-bindgen/blob/master/CHANGELOG.md#0239) |
| 100 | +* @c410-f3r made `wasm-bindgen`'s generated TypeScript interfaces' functions' |
| 101 | + argument names be [preserved from the Rust |
| 102 | + source](https://github.com/rustwasm/wasm-bindgen/pull/1344) instead of being |
| 103 | + generated symbols. |
| 104 | +* @ibaryshnikov [cleaned up](https://github.com/rustwasm/wasm-bindgen/pull/1336) |
| 105 | + our Web GL example. |
| 106 | +* @nstoddard [added immutability |
| 107 | + whitelisting](https://github.com/rustwasm/wasm-bindgen/pull/1333) for |
| 108 | + `Uint8Array`, `ArrayBufferView`, and `BufferSource`. |
| 109 | +* @RReverser [fixed some copy-paste |
| 110 | + errors](https://github.com/rustwasm/wasm-bindgen/pull/1372) in documentation |
| 111 | + for `Int32Array` and `Uint32Array` |
| 112 | +* @RReverser [cleaned up and de-duplicated our binding |
| 113 | + definitions](https://github.com/rustwasm/wasm-bindgen/pull/1371) to the |
| 114 | + different kinds of typed arrays! |
| 115 | +* @c410-f3r [expanded the |
| 116 | + testing](https://github.com/rustwasm/wasm-bindgen/pull/1356) of our emitted |
| 117 | + TypeScript interface definitions. |
| 118 | +* @alexcrichton [added the `#[wasm_bindgen(raw_module = "...")]` |
| 119 | + attribute](https://github.com/rustwasm/wasm-bindgen/pull/1353) to the |
| 120 | + `wasm-bindgen` proc-macro. |
| 121 | +* @konradsz [fixed the number-slices example's JS |
| 122 | + imports.](https://github.com/rustwasm/wasm-bindgen/pull/1351) |
| 123 | +* @alexlapa [enabled passing optional imported |
| 124 | + `enum`s](https://github.com/rustwasm/wasm-bindgen/pull/1350) over the FFI |
| 125 | + boundary. |
| 126 | + |
| 127 | +### `wasm-pack` |
| 128 | + |
| 129 | +* [**We released `wasm-pack` version 0.7.0! |
| 130 | + 🎉**](https://github.com/rustwasm/wasm-pack/blob/master/CHANGELOG.md#%EF%B8%8F-070) |
| 131 | +* @alexcrichton [added support for the `web` |
| 132 | + target](https://github.com/rustwasm/wasm-pack/pull/567) to `wasm-pack`. This |
| 133 | + target uses browsers' native support for ES modules, and doesn't require the |
| 134 | + use of a JS bundler. |
| 135 | +* @alexcrichton [started migrating `wasm-pack`'s CLI |
| 136 | + output](https://github.com/rustwasm/wasm-pack/pull/547) towards our 1.0 vision |
| 137 | + for `wasm-pack` output. Notably, `cargo build`'s colors and progress bar |
| 138 | + should work now. |
| 139 | +* @alexcrichton [added a |
| 140 | + smorgasbord](https://github.com/rustwasm/wasm-pack/pull/590) of docs |
| 141 | + improvements. |
| 142 | +* @drager [added support for non-`rustup`-based Rust development |
| 143 | + environments](https://github.com/rustwasm/wasm-pack/pull/552) to `wasm-pack`. |
| 144 | +* @ashleygwilliams [added a quickstart doc |
| 145 | + page](https://github.com/rustwasm/wasm-pack/pull/576) for using `wasm-pack` |
| 146 | + with Webpack. |
| 147 | + |
| 148 | +### `wasm-pack-template` |
| 149 | + |
| 150 | +* @alexcrichton [upgraded the |
| 151 | + template](https://github.com/rustwasm/wasm-pack-template/pull/37) to the Rust |
| 152 | + 2018 edition. |
| 153 | + |
| 154 | +## Requests for Contribution |
| 155 | + |
| 156 | +**Want to get involved in Rust and WebAssembly? [Join the Rust and WebAssembly |
| 157 | +working group!][get-involved]** |
| 158 | + |
| 159 | +* [**Let's Build Gloo |
| 160 | + Together**](https://rustwasm.github.io/2019/03/12/lets-build-gloo-together.html) |
| 161 | +* [All issues labeled "good first issue" in the `rustwasm/*` |
| 162 | + repositories](https://github.com/issues?q=is%3Aopen+is%3Aissue+user%3Arustwasm+archived%3Afalse+label%3A%22good+first+issue%22) |
| 163 | +* [All issues labeled "help wanted" in the `rustwasm/*` |
| 164 | + repositories](https://github.com/issues?q=is%3Aopen+is%3Aissue+user%3Arustwasm+archived%3Afalse+label%3A%22help+wanted%22) |
| 165 | + |
| 166 | +[get-involved]: https://github.com/rustwasm/team/blob/master/README.md#get-involved |
| 167 | + |
| 168 | +### New Good First Issues |
| 169 | + |
| 170 | +* [Gloo: Make the timers crate follow submodule |
| 171 | + design](https://github.com/rustwasm/gloo/issues/36) |
0 commit comments