-
I've been following along with a Youtube series about writing a NES emulator in C++. The official Github for the series is here: https://github.com/OneLoneCoder/olcNES.
-
CodeRabbit
CodeRabbit: AI Code Reviews for Developers. Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.
-
Its perhaps deviating from the youtube series, but I'd replace the different parts here https://github.com/nzohrab/nesEmu_rust/blob/main/src/instructions.rs with enums.
-
I've written a gameboy emulator in Rust, https://github.com/benkonz/gameboy_emulator, one thing that helped me find bottlenecks in my code was Flamegraph, https://github.com/flamegraph-rs/flamegraph. It will tell you the exact function name that is taking the longest
-
flamegraph
Easy flamegraphs for Rust projects and everything else, without Perl or pipes <3 (by flamegraph-rs)
I've written a gameboy emulator in Rust, https://github.com/benkonz/gameboy_emulator, one thing that helped me find bottlenecks in my code was Flamegraph, https://github.com/flamegraph-rs/flamegraph. It will tell you the exact function name that is taking the longest