bfirsh / jsnes

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

Adapt for kaios #409

Open ghost opened 2 years ago

ghost commented 2 years ago

This emulator is good,but it runs quite slow on kaios 2.5 phone,can you make it a bit faster?

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.