(评论)
(comments)

原始链接: 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中使用的那个)的比较,一位用户表达了对研究潜在优势的兴趣。


原文
Hacker News new | past | comments | ask | show | jobs | submit login
Retro Boy: simple Game Boy emulator written in Rust, can be played on the web (github.com/smparsons)
37 points by ingve 1 hour ago | hide | past | favorite | 5 comments










This is awesome! Very nicely done. I hear a few problems with the audio emulation, (mostly clicks that shouldn't be there) but it's been a long while since I had my head wrapped around Gameboy emulation. I'm not sure I know what's going wrong exactly.

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.



It plays really slow in Firefox, and there are also audio issues (they may be related?)

But in Chrome, this plays really well! Great work!



This is sick. Nicely done


Looks like an awesome addition to the GB emulation world! I know GB Studio can export a web player—I wonder if this implementation has some advantages.


I’ll definitely have a look and see if there’s any advantages. Currently using binjgb in GB Studio and been pretty happy with it https://github.com/binji/binjgb






Join us for AI Startup School this June 16-17 in San Francisco!


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact



Search:
联系我们 contact @ memedata.com