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

Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
  • 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.

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

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

  • 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

  • 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