Preferences

I’m excited to see wasmgc in the browser - which should let a lot more languages compile to small, fast webassembly bundles.

What’s the state of wasmgc? Is it supported by the major browsers yet? How big are dart apps compiled to wasm?


> What’s the state of wasmgc? Is it supported by the major browsers yet?

https://docs.flutter.dev/platform-integration/web/wasm#backg...

> Chromium and V8 released stable support for WasmGC in Chromium 119. Note that Chrome on iOS uses WebKit, which doesn't yet support WasmGC. Firefox announced stable support for WasmGC in Firefox 120, but currently doesn't work due to a known limitation.

You can also check here: https://webassembly.org/features/

> How big are dart apps compiled to wasm?

I just did `dart compile wasm main.dart -O4` with an empty dart file and got a 68k wasm file. That gzip's to 24K.

This item has no comments currently.

Keyboard Shortcuts

Story Lists

j
Next story
k
Previous story
Shift+j
Last story
Shift+k
First story
o Enter
Go to story URL
c
Go to comments
u
Go to author

Navigation

Shift+t
Go to top stories
Shift+n
Go to new stories
Shift+b
Go to best stories
Shift+a
Go to Ask HN
Shift+s
Go to Show HN

Miscellaneous

?
Show this modal