Tried to re-write a C++ NES Emulator in Rust, now it runs more than 5 times slower (Yes I'm compiling with --release)

This page summarizes the projects mentioned and recommended in the original post on /r/rust

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.
coderabbit.ai
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
  1. olcNES

    NES Emulator, and Tutorial Video Code

    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.

  2. 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.

    CodeRabbit logo
  3. nesEmu_rust

    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.

  4. gameboy_emulator

    Gameboy Emulator written in Rust

    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

  5. 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

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts

  • Need help making sense of these benchmark results

    1 project | /r/rust | 17 Oct 2023
  • Why is my code so slow ? advent of code 2022, day 16 (basic graph stuff)

    2 projects | /r/rust | 8 Jul 2023
  • why is my code so slow ? advent of code 2023, day 16 (basic graph stuff)

    2 projects | /r/rust | 8 Jul 2023
  • Slow Rust Redis

    4 projects | /r/rust | 6 May 2023
  • making a virtual machine in rust

    2 projects | /r/rust | 28 Jan 2023

Did you know that Rust is
the 5th most popular programming language
based on number of references?