As a python developer and user of websites, please no. The web is already a slow mess and my laptop is already spinning up fans on some websites that really shouldn’t do anything much more complicated than load text and images from a database and display them. CPython would make it exponentially worse. At least pick a sensible performance focused implementation.
Modern browser javascript engines are way faster than CPython. My guess as to why: For over 10 years, one of the largest companies in the world (Google) has had a vested interest in improving the performance of the V8 javascript engine running in chrome. V8 is highly optimized for performance.
By comparison, there has never been such a concerted push to optimize pure python execution in CPython. Generally, if you need to get something done quickly in python, you just call into a library written in C or Fortran.
As a python developer and user of websites, please no. The web is already a slow mess and my laptop is already spinning up fans on some websites that really shouldn’t do anything much more complicated than load text and images from a database and display them. CPython would make it exponentially worse. At least pick a sensible performance focused implementation.
it’s cpython much slower than JS?
Modern browser javascript engines are way faster than CPython. My guess as to why: For over 10 years, one of the largest companies in the world (Google) has had a vested interest in improving the performance of the V8 javascript engine running in chrome. V8 is highly optimized for performance.
By comparison, there has never been such a concerted push to optimize pure python execution in CPython. Generally, if you need to get something done quickly in python, you just call into a library written in C or Fortran.