TALK / James Murphy / From 3 to 300 fps: NES Emulation in Python and Cython

Published: 04 June 2021
on channel: PyCon US
3,664
117

It is sometimes asserted that “Python is a real bad choice for any kind of real-time system”. When I first got my Python NES emulator to boot, only for it to run at 2 frames per second, I felt like agreeing. But is it really true? After just a few days reworking the emulator’s operational core into Cython, the framerate is now above 300fps, proving that Python is a viable choice for emulator development and other performance-dependent projects. In this talk, I will outline the advantages and some challenges of using Cython to achieve realtime performance from an existing Python codebase.

Slides: https://docs.google.com/presentation/...


Watch video TALK / James Murphy / From 3 to 300 fps: NES Emulation in Python and Cython online without registration, duration hours minute second in high quality. This video was added by user PyCon US 04 June 2021, don't forget to share it with your friends and acquaintances, it has been viewed on our site 3,664 once and liked it 117 people.