team icon indicating copy to clipboard operation
team copied to clipboard

Rust + WebAssembly News

Open fitzgen opened this issue 7 years ago • 131 comments

Leave comments here with

  • new blog posts
  • announcements of new tools/libraries
  • new releases from libraries/tools
  • anything notable in the rust+wasm world
  • suggested rust+wasm quote of the $TIME_PERIOD
  • suggested rust+wasm crate of the $TIME_PERIOD

I'll go through the comments on this issue periodically and turn them into "This Week in Rust+WASM" style posts.

fitzgen avatar Mar 06 '18 18:03 fitzgen

https://github.com/bzar/webchat-rs

A doodle to create a mostly-rust client-server web app with a shared data model and binary communication over websocket between a server and WebAssembly client built using wasm-bindgen.

fitzgen avatar Apr 09 '18 19:04 fitzgen

@fitzgen can you, instead of deleting comments, make a new issue if you want to create a new rust+wasm post? Would be great :)

est31 avatar Apr 09 '18 21:04 est31

@fitzgen can you, instead of deleting comments, make a new issue if you want to create a new rust+wasm post? Would be great :)

Sure thing -- I found it annoying when others made new issues because it meant my browser history was no longer helpful, but if others prefer that it is fine by me.

Will start a new issue after the next newsletter.

fitzgen avatar Apr 11 '18 19:04 fitzgen

https://hacks.mozilla.org/2018/04/sneak-peek-at-webassembly-studio/

fitzgen avatar Apr 11 '18 19:04 fitzgen

The initial Game of Life tutorial for the book landed: https://rust-lang-nursery.github.io/rust-wasm/game-of-life/introduction.html

fitzgen avatar Apr 11 '18 20:04 fitzgen

svelte renamed to twiggy, moved into the rustwasm org, and gained a mascot: https://github.com/rustwasm/twiggy

fitzgen avatar Apr 12 '18 00:04 fitzgen

Writing an NES emulator with Rust and WebAssembly: https://medium.com/@bokuweb17/writing-an-nes-emulator-with-rust-and-webassembly-d64de101c49d

fitzgen avatar Apr 13 '18 16:04 fitzgen

What will it take to run ggez on wasm? https://wiki.alopex.li/GgezOnWasm

fitzgen avatar Apr 17 '18 18:04 fitzgen

twiggy can now analyze bloat from monomorphization of generic functions: https://github.com/rustwasm/twiggy/pull/40

This introduces the twiggy monos subcommand. It finds generic functions that have been monomorphized multiple times, computes the approximate bloat due to monomorphization that would in theory go away if switched to virtual calls, and displays this information.

fitzgen avatar Apr 18 '18 19:04 fitzgen

Hello wasm-pack! https://hacks.mozilla.org/2018/04/hello-wasm-pack/

fitzgen avatar Apr 19 '18 15:04 fitzgen

Twiggy integrated into wasm studio: https://twitter.com/fitzgen/status/987135974160265216

fitzgen avatar Apr 20 '18 01:04 fitzgen

Small WebAssembly Binaries with Rust + Emscripten: https://kripken.github.io/blog/binaryen/2018/04/18/rust-emscripten.html

fitzgen avatar Apr 20 '18 19:04 fitzgen

wasm-snip 0.1.1 released: https://crates.io/crates/wasm-snip/0.1.1

fitzgen avatar Apr 20 '18 21:04 fitzgen

wee_alloc 0.3.0: https://github.com/rustwasm/wee_alloc/blob/master/CHANGELOG.md#030

  • faster
  • support for updated allocator APIs in the rust standard library

fitzgen avatar Apr 25 '18 02:04 fitzgen

wasm-snip 0.1.3 https://github.com/fitzgen/wasm-snip

  • support for snipping functions by regex
  • support for automatically snipping all fmt code
  • support for automatically snipping all panicking code

fitzgen avatar Apr 25 '18 02:04 fitzgen

Everyone following this repo: please help me collect rust and wasm news by adding news about releases and big PRs and new projects, etc here!

Also, if you have any good first issues, help-wanted issues, easy issues, mentored issues, etc, link them here and we can add them to a "request for contributions" section in the newsletter.

Thanks!

fitzgen avatar Apr 25 '18 17:04 fitzgen

I added in Futures 0.2 support to stdweb.

For quite a while now it has been possible to easily use Rust Futures and JavaScript Promises (including a mixture of both) in stdweb. That PR updates the existing code to work with the changes in Futures 0.2

Pauan avatar Apr 25 '18 17:04 Pauan

Request for library: slim web component library

https://github.com/rust-lang-nursery/rust-wasm/issues/162

fitzgen avatar Apr 25 '18 17:04 fitzgen

Request for contributions: Design a tree-map visualization for twiggy in WebAssembly Studio

https://github.com/wasdk/WebAssemblyStudio/issues/163

fitzgen avatar Apr 25 '18 17:04 fitzgen

Request for library: mpsc channels library built on top of the postMessage API

https://github.com/rust-lang-nursery/rust-wasm/issues/163

fitzgen avatar Apr 25 '18 17:04 fitzgen

How does dynamic dispatch (trait objects) work in WebAssembly? http://fitzgeraldnick.com/2018/04/26/how-does-dynamic-dispatch-work-in-wasm.html

fitzgen avatar Apr 26 '18 15:04 fitzgen

wasm-pack 0.2.0 is out, https://twitter.com/ag_dubs/status/989699099053232129 (thanks all contributors) release notes: https://github.com/ashleygwilliams/wasm-pack/releases/tag/v0.2.0

ashleygwilliams avatar Apr 27 '18 02:04 ashleygwilliams

also lol i just realized based on the insights tab that a german media outlet wrote about wasm-pack: https://www.golem.de/news/wasm-pack-mozilla-packt-rust-software-fuer-npm-1804-133944.html

ashleygwilliams avatar Apr 27 '18 03:04 ashleygwilliams

I've published wbg-rand, a crate which enable default usage of the rand crate on the wasm32-unknown-unknown target (implemented with wasm-bindgen)

alexcrichton avatar Apr 28 '18 00:04 alexcrichton

text adventure / fighting game made with rust and wasm:

https://ldjam.com/events/ludum-dare/41/text-em-up

fitzgen avatar Apr 29 '18 01:04 fitzgen

Using LLVM from Rust, to generate WebAssembly

https://medium.com/@jayphelps/using-llvm-from-rust-to-generate-webassembly-93e8c193fdb4

fitzgen avatar May 01 '18 16:05 fitzgen

Cervus implements a WebAssembly "usermode" on top of the Linux kernel, enabling wasm applications to run directly in ring 0, while still ensuring safety and security.

https://github.com/cervus-v/cervus

fitzgen avatar May 01 '18 16:05 fitzgen

we accepted 2 participants for the increasing rust's reach program to work with @mgattozzi - we might consider doing profiles of each at some point :)

ashleygwilliams avatar May 01 '18 16:05 ashleygwilliams

we accepted 2 participants for the increasing rust's reach program to work with @mgattozzi

Awesome! Will they be doing rust+wasm stuff?

fitzgen avatar May 01 '18 18:05 fitzgen

@fitzgen yes! They'll be specifically working with me for rust + wasm stuff. I'll be following up with them about what they are interested in with the space later this week and I'll then be working with/mentoring them to land PRs for various things, whether it's documentation, tooling etc.

mgattozzi avatar May 01 '18 18:05 mgattozzi