Retro Boy is a cycle-accurate Game Boy emulator written in Rust. It uses wasm-pack to translate the Rust code into WebAssembly so it can be played on the web. The web frontend then uses Web Audio API and HTML Canvas for audio and graphics. It also leverages the browser’s local storage to persist cartridge RAM data for battery-backed MBC cartridges. Try it here

    • David From Space@orbiting.observer
      link
      fedilink
      English
      arrow-up
      14
      ·
      16 hours ago

      You′re walking in the woods

      There’s no one around and your phone is dead

      Out of the corner of your eye, you spot them

      (Written in Rust)

      They’re following you, about 30 feet back

      They get down on all fours and break into a sprint

      They’re gaining on you

      “Written in Rust!”

      You’re looking for your car but you′re all turned around

      They’re almost upon you now

      And you can see there’s blood on their face

      My God, there′s blood everywhere!

      Running for your life (from writing in Rust!)

      They’re compiling a knife (it′s written in Rust!)