原文
| ||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||
![]() |
原始链接: https://news.ycombinator.com/item?id=43429417
Hacker News用户对用Rust编写并在浏览器中运行的Game Boy模拟器“Retro Boy”印象深刻。用户们称赞了这个项目,并强调了Rust和WASM的强大功能,使得模拟器的分享变得非常容易。一位用户提到在Firefox中遇到了音频故障和减速的情况,但在Chrome中运行流畅。另一位用户zeta0134分享了他自己用Rust和WASM构建的NES模拟器项目,强调了只需一个链接就能轻松分享自制项目的便利性。该主题还包括与现有的基于Web的Game Boy实现(例如GB Studio中使用的那个)的比较,一位用户表达了对研究潜在优势的兴趣。
| ||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||
![]() |
I love how Rust+WASM is an enabler for showing off applications like this which would traditionally be restricted to a desktop environment. Here's my own, an NES emulator, using wasm-bindgen for the translation but otherwise a similar setup:
https://rustico.reploid.cafe/?cartridge=patreon/tactus-v0.7-...
It's so cool to work on a bit of homebrew, then be able to share a link with someone and have it "just work" in their browser. No weird tools, no shady sites, just my game and their feedback.
reply