{"slug": "wasm-bindgen", "name": "wasm-bindgen", "category": "dev-libs", "category_name": "Libraries and frameworks", "description": "", "recommenders": 3, "commenters": 4, "warners": 0, "score": 3.015, "rising": 0.35, "first": "2026-02-12", "latest": "2026-10-21", "why": "Shoutout to the [wasm-bindgen](https://github.com/wasm-bindgen/wasm-bindgen) maintainers who do an awesome job of allowing Rust to be compiled to WASM smoothly.", "why_is_quote": true, "has_verdict": false, "sentiment": {"recommend": 3, "neutral": 1, "compare": 0, "warn": 0}, "spark": [0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1], "listed": true, "loved": [], "caveat": "", "short_quote": "Shoutout to the [wasm-bindgen](https://github.com/wasm-bindgen/wasm-bindgen) maintainers who do an awesome job of allowing Rust to be compiled to WASM smoothly.", "kind": "", "icon": true, "domain": null, "github_repo": "github.com/wasm-bindgen/wasm-bindgen", "official_url": "https://github.com/wasm-bindgen/wasm-bindgen", "pricing": "", "aliases": ["wasm-bindgen"], "verdict": null, "praise": [{"label": "", "summary": "", "quotes": [{"id": 803006992, "item_id": 50187937, "url": "https://news.ycombinator.com/item?id=50187937", "by": "subset", "date": "2026-10-21", "version": null, "stance": "recommend", "quote": "Shoutout to the [wasm-bindgen](https://github.com/wasm-bindgen/wasm-bindgen) maintainers who do an awesome job of allowing Rust to be compiled to WASM smoothly.", "excerpt": "Shoutout to the [wasm-bindgen](https://github.com/wasm-bindgen/wasm-bindgen) maintainers who do an awesome job of allowing Rust to be compiled to WASM smoothly. I built an [eigenvalue solver](https://abstractnonsense.xyz/blog/2025-12-31-eigenvalue-solver-in-rust-for-webassembly/) in Rust for an interactive component for my blog, and it was super smooth going. Felt like magic! I've noticed that the binary sizes can bl", "context": "", "use_case": "compiling Rust to WASM", "switched_from": "", "story": "C# now beats Rust on WASM size"}, {"id": 776278081, "item_id": 48517380, "url": "https://news.ycombinator.com/item?id=48517380", "by": "rendaw", "date": "2026-06-13", "version": null, "stance": "recommend", "quote": "I've been doing everything with wasm-bindgen/web-sys, i.e. just doing my UIs in html", "excerpt": "Throwing in my vote... I've been doing everything with wasm-bindgen/web-sys, i.e. just doing my UIs in html, and for 99% that's what I'd want anyways. Web UIs are portable, remotely accessible, and don't require installation on each client. For the small percent that's left where speed is critical, I've just been using wgpu and wgsl-bindgen directly. I can't think of what I'd want a native UI solution for. And then h", "context": "", "use_case": "web UIs in Rust", "switched_from": "", "story": "The state of building user interfaces in Rust"}, {"id": 751987745, "item_id": 46999234, "url": "https://news.ycombinator.com/item?id=46999234", "by": "ChadNauseam", "date": "2026-02-12", "version": null, "stance": "recommend", "quote": "The communication between the two with wasm-bindgen and tsify is just so easy.", "excerpt": "Rust + React is a beautiful combination. For my project, I use Rust for the actually complicated logic that needs to be correct and performant. And then I just use React for the UI. It works pretty great. The communication between the two with wasm-bindgen and tsify is just so easy. It's almost as if they're the same language. It's really crazy, honestly. A feat of engineering. React Vello seems super cool, by the wa", "context": "", "use_case": "", "switched_from": "", "story": "Show HN: rari, the rust-powered react framework"}]}], "caveats": [], "who": [], "tags": [], "use_cases": ["compiling rust to wasm", "web uis in rust"], "compared": [], "makers": [], "threads": [{"url": "https://news.ycombinator.com/item?id=50175510", "title": "C# now beats Rust on WASM size", "mentions": 1}, {"url": "https://news.ycombinator.com/item?id=48479008", "title": "The state of building user interfaces in Rust", "mentions": 1}, {"url": "https://news.ycombinator.com/item?id=47295837", "title": "Notes on Writing WASM", "mentions": 1}, {"url": "https://news.ycombinator.com/item?id=46993596", "title": "Show HN: rari, the rust-powered react framework", "mentions": 1}], "sentiment_by_month": {"2025-11": {}, "2025-12": {}, "2026-01": {}, "2026-02": {"recommend": 1}, "2026-03": {"neutral": 1}, "2026-04": {}, "2026-05": {}, "2026-06": {"recommend": 1}, "2026-07": {}, "2026-08": {}, "2026-09": {}, "2026-10": {"recommend": 1}}, "versions": [], "version_unnamed": 0, "family_ref": null, "runs_on": null, "lines": [], "quotes": [{"id": 803006992, "item_id": 50187937, "url": "https://news.ycombinator.com/item?id=50187937", "by": "subset", "date": "2026-10-21", "version": null, "stance": "recommend", "quote": "Shoutout to the [wasm-bindgen](https://github.com/wasm-bindgen/wasm-bindgen) maintainers who do an awesome job of allowing Rust to be compiled to WASM smoothly.", "excerpt": "Shoutout to the [wasm-bindgen](https://github.com/wasm-bindgen/wasm-bindgen) maintainers who do an awesome job of allowing Rust to be compiled to WASM smoothly. I built an [eigenvalue solver](https://abstractnonsense.xyz/blog/2025-12-31-eigenvalue-solver-in-rust-for-webassembly/) in Rust for an interactive component for my blog, and it was super smooth going. Felt like magic! I've noticed that the binary sizes can bl", "context": "", "use_case": "compiling Rust to WASM", "switched_from": "", "story": "C# now beats Rust on WASM size"}, {"id": 776278081, "item_id": 48517380, "url": "https://news.ycombinator.com/item?id=48517380", "by": "rendaw", "date": "2026-06-13", "version": null, "stance": "recommend", "quote": "I've been doing everything with wasm-bindgen/web-sys, i.e. just doing my UIs in html", "excerpt": "Throwing in my vote... I've been doing everything with wasm-bindgen/web-sys, i.e. just doing my UIs in html, and for 99% that's what I'd want anyways. Web UIs are portable, remotely accessible, and don't require installation on each client. For the small percent that's left where speed is critical, I've just been using wgpu and wgsl-bindgen directly. I can't think of what I'd want a native UI solution for. And then h", "context": "", "use_case": "web UIs in Rust", "switched_from": "", "story": "The state of building user interfaces in Rust"}, {"id": 756766753, "item_id": 47297922, "url": "https://news.ycombinator.com/item?id=47297922", "by": "mendyberger", "date": "2026-03-08", "version": null, "stance": "neutral", "quote": "wasn-bindgen is required in the first place", "excerpt": "Things are slowly getting better in wasm world. The c-style interface of wasm is pretty limiting when designing higher level interfaces, which is why wasn-bindgen is required in the first place. Luckily, Firefox is pushing an early proposal to expose all the web apis directly to wasm through a higher level interface based on the wasm component-model proposal. See https://hacks.mozilla.org/2026/02/making-webassembly-a", "context": "", "use_case": "", "switched_from": "", "story": "Notes on Writing WASM"}, {"id": 751987745, "item_id": 46999234, "url": "https://news.ycombinator.com/item?id=46999234", "by": "ChadNauseam", "date": "2026-02-12", "version": null, "stance": "recommend", "quote": "The communication between the two with wasm-bindgen and tsify is just so easy.", "excerpt": "Rust + React is a beautiful combination. For my project, I use Rust for the actually complicated logic that needs to be correct and performant. And then I just use React for the UI. It works pretty great. The communication between the two with wasm-bindgen and tsify is just so easy. It's almost as if they're the same language. It's really crazy, honestly. A feat of engineering. React Vello seems super cool, by the wa", "context": "", "use_case": "", "switched_from": "", "story": "Show HN: rari, the rust-powered react framework"}]}