sunfish, to webassembly
@sunfish@hachyderm.io avatar

The latest wasm-tools release includes support for wasm GC, for parsing and printing wasm and wat files!

niklaskorz, to webassembly
@niklaskorz@rheinneckar.social avatar

Now that Garbage Collection ships in Firefox 120, can you update the support info in https://developer.chrome.com/blog/wasmgc/ @tomayac? 🙂

Also I'd be curious to know if Safari is working on it, I can't seem to find any info about that. 🤔 (maybe you can point me in the right direction @jensimmons?)

tomayac,
@tomayac@toot.cafe avatar

@niklaskorz @jensimmons We pull in data from https://github.com/mdn/browser-compat-data, and I have just opened a PR about Firefox' garbage collection support: https://github.com/mdn/browser-compat-data/pull/21310.

WebKit has an umbrella bug for work: https://bugs.webkit.org/show_bug.cgi?id=247394.

alexelcu, to chrome
@alexelcu@social.alexn.org avatar

Great article introducing , shipping in 119 and 120.

It explains the performance and interop benefits. And how targetting WasmGC is like targetting a new VM, with existing LLVM-based implementations not currently compatible.

Languages that have working WasmGC implementations: , , , (wasm_of_ocaml) 😍

https://v8.dev/blog/wasm-gc-porting

khalidabuhakmeh, to random
@khalidabuhakmeh@mastodon.social avatar
TimPurdum,
@TimPurdum@dotnet.social avatar

@khalidabuhakmeh @range_marten I wonder if the team will even use ? Seems like there's a lot of tradeoffs good and bad to consider in that article. For example, I can't imagine dotnet allowing anything other than ~99% support for existing language features, and the talk of WasmGC as a VM brings up the concern of unsupported features.

alexelcu, to chrome
@alexelcu@social.alexn.org avatar

is now enabled in stable by default.

https://developer.chrome.com/blog/wasmgc/

It's also enabled by default in (120.0b4). seems to be the only one out of the picture, as usual, but for many apps (intranet, kiosks) it's safe to assume mainstream browser support.

https://webassembly.org/roadmap/

has an implementation that integrates with WasmGC:

https://kotlinlang.org/docs/wasm-overview.html

Other implementations are LLVM-based (e.g., Blazor, ), and may take more time.

tomayac, (edited ) to webassembly
@tomayac@toot.cafe avatar

WebAssembly Garbage Collection (WasmGC) is now enabled by default in Chrome 119: https://developer.chrome.com/blog/wasmgc/ 🗑️.

alexelcu, to chrome
@alexelcu@social.alexn.org avatar

TIL Chrome 119 (beta) ships with Wasm GC enabled by default, no flags needed:
https://groups.google.com/a/chromium.org/g/blink-dev/c/K_GpDF0y5Q8/m/XIJSfbTHBwAJ

For Kotlin, checkout these samples:
https://github.com/Kotlin/kotlin-wasm-examples/

tomayac, to webassembly
@tomayac@toot.cafe avatar

Chrome sent an Intent to Ship for Garbage Collection 🗑️, also known as , earlier today: https://groups.google.com/a/chromium.org/g/blink-dev/c/K_GpDF0y5Q8/m/XIJSfbTHBwAJ?utm_medium=email&utm_source=footer&pli=1. This allows bringing garbage-collected languages like Java, Kotlin, or Dart to , without having to bring their own garbage collection logic. I'm especially excited about the experience the Google Sheets team has documented: https://docs.google.com/document/d/1KsbQLh_RzM9ixF6bzmJwyRMQLE-rSFlz_zNoGv-EITY/edit?usp=drivesdk.

tomayac, to random
@tomayac@toot.cafe avatar

People interested in tracking WebAssembly Garbage Collection 🗑️ support (aka. WasmGC) in WebKit (and thus hopefully eventually in Safari) should track https://bugs.webkit.org/show_bug.cgi?id=247394. The Garbage Collection proposal adds efficient support for high-level managed languages to WebAssembly, via struct and array types that enable language compilers targeting Wasm to integrate with a garbage collector in the host VM.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • megavids
  • thenastyranch
  • rosin
  • GTA5RPClips
  • osvaldo12
  • love
  • Youngstown
  • slotface
  • khanakhh
  • everett
  • kavyap
  • mdbf
  • DreamBathrooms
  • ngwrru68w68
  • provamag3
  • magazineikmin
  • InstantRegret
  • normalnudes
  • tacticalgear
  • cubers
  • ethstaker
  • modclub
  • cisconetworking
  • Durango
  • anitta
  • Leos
  • tester
  • JUstTest
  • All magazines