bfirsh / jsnes

A JavaScript NES emulator.
https://jsnes.org
Apache License 2.0
6.1k stars 823 forks source link

performance on mobile #402

Open xm-space opened 3 years ago

xm-space commented 3 years ago

Hi Master: How to optimize the performance on mobile devices?

greigs commented 2 years ago

It's written in javascript, so it wasn't really built for speed. The advantage is portability - it runs in any modern browser. If you want a faster emulator, go for an installed app that is compiled for your specific platform (written in something like c++ ideally).

https://careerkarma.com/blog/javascript-vs-cplusplus/#:~:text=C%2B%2B%20is%20ten%20or%20more,is%20mid%2Dlevel%20and%20compiled.