|
| 1 | +--- |
| 2 | +title: "This Week in Rust and WebAssembly 12" |
| 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 | +<!-- TODO: check recent r/rust and users.rust-lang.org posts for "wasm" and "webassembly": --> |
| 22 | +<!-- https://twitter.com/rustwasm --> |
| 23 | + |
| 24 | +## News and Blog Posts from Around the Web |
| 25 | + |
| 26 | +*Want to make sure something ends up on this list next time we publish an issue? |
| 27 | +[Leave a comment on this issue.](https://github.com/rustwasm/team/issues/79)* |
| 28 | + |
| 29 | +* [Replacing a hot path in your app's JavaScript with |
| 30 | + WebAssembly.](https://developers.google.com/web/updates/2019/02/hotpath-with-wasm) |
| 31 | + The article compares versions written in Rust, C/C++, and AssemblyScript. |
| 32 | +* [Was (not Wasm)](https://github.com/jedisct1/was-not-wasm) is a hostile |
| 33 | + allocator for AssemblyScript that is written in Rust. |
| 34 | +* Wasmer has [improved their startup time by |
| 35 | + 100x](https://medium.com/wasmer/running-webassembly-100x-faster-%EF%B8%8F-a8237e9a372d). |
| 36 | +* [WebAssembly Troubles part 4: Microwasm.](http://troubles.md/posts/microwasm/) |
| 37 | + The culmination of a series of posts about issues the author has with |
| 38 | + WebAssembly, along with proposals for how to fix them. |
| 39 | + |
| 40 | +## Updates from [`rustwasm/*`](https://github.com/rustwasm) |
| 41 | + |
| 42 | +### RFCs |
| 43 | + |
| 44 | +#### New RFCs |
| 45 | + |
| 46 | +None. |
| 47 | + |
| 48 | +#### Final Comment Period RFCs |
| 49 | + |
| 50 | +* [Add support for local JavaScript snippets in |
| 51 | + `wasm-bindgen`](https://github.com/rustwasm/rfcs/pull/6) |
| 52 | + |
| 53 | +#### Merged RFCs |
| 54 | + |
| 55 | +None. |
| 56 | + |
| 57 | +### Working Group Meetings |
| 58 | + |
| 59 | +* [Watch the recording of this week's working group meeting on |
| 60 | + YouTube](https://www.youtube.com/watch?v=3YjN69U6ySE) |
| 61 | +* [Come join us at next week's working group |
| 62 | + meeting!](https://github.com/rustwasm/team/issues/258) |
| 63 | + |
| 64 | +### `rustwasm/rust-parcel-template` |
| 65 | + |
| 66 | +* @tock203 [fixed a |
| 67 | + `ReferenceError`](https://github.com/rustwasm/rust-parcel-template/pull/22) in |
| 68 | + the template's initialization code. |
| 69 | + |
| 70 | +### `rustwasm/twiggy` |
| 71 | + |
| 72 | +* @data-pup [set up |
| 73 | + `rustfmt`-checking](https://github.com/rustwasm/twiggy/pull/253) for our |
| 74 | + continuous integration. |
| 75 | +* @alexcrichton [made Twiggy account for header and section size |
| 76 | + bytes](https://github.com/rustwasm/twiggy/pull/250) of a Wasm binary, so |
| 77 | + Twiggy's output should sum to 100% now instead of just short of that. |
| 78 | +* @philipc [updated Twiggy to version 0.17.0 of |
| 79 | + `gimli`](https://github.com/rustwasm/twiggy/pull/247), the crate it uses to |
| 80 | + parse DWARF debugging information. |
| 81 | +* @alexcrichton [switched Twiggy over to using the `wasmparser` |
| 82 | + crate](https://github.com/rustwasm/twiggy/pull/245) to parse Wasm binaries, |
| 83 | + which gives more precise byte offset and size information, and is faster than |
| 84 | + the old Wasm parser. |
| 85 | +* @data-pup [added an unreachable items |
| 86 | + summary](https://github.com/rustwasm/twiggy/pull/244) to the `twiggy |
| 87 | + dominators` output, so that all top-level rows' sizes will sum to 100%. |
| 88 | + |
| 89 | +### `rustwasm/wasm-bindgen` |
| 90 | + |
| 91 | +* @tyleranton added support for [emitting doc |
| 92 | + comments](https://github.com/rustwasm/wasm-bindgen/pull/1302) in the |
| 93 | + TypeScript interface definition files that `wasm-bindgen` creates. |
| 94 | +* @LegNeato [fixed the `wasm-bindgen-test` headless browser test |
| 95 | + runner](https://github.com/rustwasm/wasm-bindgen/pull/1298) on macOS High |
| 96 | + Sierra. |
| 97 | +* @alexcrichton [updated the `wasm-bindgen` |
| 98 | + guide](https://github.com/rustwasm/wasm-bindgen/pull/1285) and added a |
| 99 | + "Deployment" section. |
| 100 | +* @alexcrichton [added support for the new `TextEncoder.prototype.encodeInto` |
| 101 | + method](https://github.com/rustwasm/wasm-bindgen/pull/1279) to |
| 102 | + `wasm-bindgen`'s generated JS glue when passing strings between wasm and JS. |
| 103 | + |
| 104 | +### `rustwasm/wasm-pack` |
| 105 | + |
| 106 | +* @ashleygwilliams [removed unnecessary |
| 107 | + entries](https://github.com/rustwasm/wasm-pack/pull/556) from the `"files"` |
| 108 | + key in `wasm-pack`'s generated `package.json`. |
| 109 | +* @ashleygwilliams [fixed the [wasm-pack] installer on |
| 110 | + windows](https://github.com/rustwasm/wasm-pack/pull/550) when it is downloaded |
| 111 | + multiple times and ends up with a `(1)` suffix in its filename. |
| 112 | +* @surma [wrote some docs on the `wee_alloc` |
| 113 | + integration](https://github.com/rustwasm/wasm-pack/pull/542) for the |
| 114 | + `wasm-pack` template. |
| 115 | +* @DebugSteven [wrote a series of get-started-in-X-environment |
| 116 | + tutorials](https://github.com/rustwasm/wasm-pack/pull/536) for `wasm-pack`. |
| 117 | + |
| 118 | +## Requests for Contribution |
| 119 | + |
| 120 | +**Want to get involved in Rust and WebAssembly? [Join the Rust and WebAssembly |
| 121 | +working group!][get-involved]** |
| 122 | + |
| 123 | +* [All issues labeled "good first issue" in the `rustwasm/*` repositories](https://github.com/issues?q=is%3Aopen+is%3Aissue+user%3Arustwasm+archived%3Afalse+label%3A%22good+first+issue%22) |
| 124 | +* [All issues labeled "help wanted" in the `rustwasm/*` repositories](https://github.com/issues?q=is%3Aopen+is%3Aissue+user%3Arustwasm+archived%3Afalse+label%3A%22help+wanted%22) |
| 125 | + |
| 126 | +[get-involved]: https://github.com/rustwasm/team/blob/master/README.md#get-involved |
| 127 | + |
| 128 | +### New Good First Issues |
| 129 | + |
| 130 | +* [`wasm-bindgen`: Add `#[wasm_bindgen(ignore)]` to ignore a `pub` field and not |
| 131 | + generate getters/setters for |
| 132 | + it](https://github.com/rustwasm/wasm-bindgen/issues/1284) |
0 commit comments