shish/rosettaboy
View on GitHub ↗ ★ 485 C++
A gameboy emulator in several different languages
11 mentions on Hacker News by 6 people: 1 story, 10 comments · first 2021-10-08 · latest 2023-09-18
20082026
-
…has the same audio distortions, presumably because I’m misreading some part of the hardware spec :P https://github.com/shish/rosettaboy/ (Also yes, the zig version is currently failing because every time I look at it the build system has…
comment by Shish2k · 2023-09-18 · in Memory-efficient enum arrays in Zig -
…stringent frame rendering deadlines. If you are interested in video games, you might appreciate https://github.com/shish/rosettaboy which covers all but Ada in your list with Nim being fastest (on one CPU/version/compiler/etc). Note,…
comment by cb321 · 2023-06-29 · in Ask HN: Why did Nim not catch on like Rust did? -
What's your favorite, and what do you think about Nim? EDIT nvm, found: https://github.com/shish/rosettaboy/tree/master/nim
comment by winrid · 2023-01-26 · in Ask HN: What have you created that deserves a second chance on HN? -
https://github.com/shish/rosettaboy The same gameboy emulator rewritten in C++, Go, Nim, PHP, Cython, Python, Rust, and Zig (and WIP typescript); mostly to teach myself the languages and to compare and contrast their idioms. Also, when…
comment by Shish2k · 2023-01-26 · in Ask HN: What have you created that deserves a second chance on HN? -
…article, logging every action that happens in the CPU or RAM to make sure they all match up :) ( https://github.com/shish/rosettaboy )
comment by Shish2k · 2022-12-04 · in Gameboy Doctor: debug and fix your gameboy emulator -
https://github.com/shish/rosettaboy
comment by ruined · 2022-10-31 · in Zig 0.10.0 Release Notes -
Your comment in PHP src here https://github.com/shish/rosettaboy/blob/master/php/run.sh says # opcache in 8.1 gives a nice speedup (25s to 10s) Is the 23.7 seconds above using the 8.1 opcache?
comment by mgkimsal · 2022-10-26 · in Python 3.11 is faster than 3.8 -
…Doubling the speed is pretty nice :D Still the slowest out of all implementations though :P [0] https://github.com/shish/rosettaboy EDIT> updated the nim compiler flags to build in release mode like most other languages, thanks…
comment by Shish2k · 2022-10-26 · in Python 3.11 is faster than 3.8 -
Looks very polished, but major disappointment that it's not showcasing OCaml as part of RosettaBoy ( https://github.com/shish/rosettaboy )
comment by rixed · 2022-01-12 · in Writing a Game Boy Emulator in OCaml -
I’m working on it :) https://github.com/shish/rosettaboy (Ok it’s 5-10k lines rather than a million, but it’s non-trivial enough that the differences between languages are noticable)
comment by Shish2k · 2021-12-20 · in Which programming language or compiler is faster -
▲ 24
Show HN: RosettaBoy – the same Gameboy emulator in Rust, Python, and C++story by Shish2k · 2021-10-08 · 2 comments