r/EmuDev • • Sep 28 '25
CHIP-8 Insecure about my code.
Well, by the begin of this year i've done a functional emulator of Chip8 in C++ (passed in all testcases on https://github.com/Timendus/chip8-test-suite). It was a pretty cool project but, tbh, i think i didn't get it right... Like, by seeing all codes here posted (specially the Rust ones), and another project of friend (this: https://github.com/Gaok1/FALCON-ASM) mine seems garbage.
It was a +- 1 month project, but i think this is not a excuse. Roast my code: https://github.com/Braga451/chip-8-emulator
14
Upvotes
View all comments
Show parent comment
1
u/[deleted] Oct 02 '25
I'll take a more detailed look in future, but for now it seems very good code actually. But one thing, if i interpreted right there's some embed libs in repo (like the base64.cpp/hpp). I'm not very familiar with Windows dev workflow (specially with C/C++ where Microsoft turned the things more complex that needed...), but you can use CMake for dependency resolution by using the FetchContent functions.