3 ms·
Brython's too slow. It's not reasonable to push an entire Python-to-JavaScript compiler to your clients on every page load!
by cjbprime 10y ago
Brython's too slow. It's not reasonable to push an entire Python-to-JavaScript compiler to your clients on every page load!
- kolanos 10y agoBrython's performance doesn't seem that bad: https://brythonista.wordpress.com/2015/03/28/comparing-the-speed-of-cpython-brython-skulpt-and-pypy-js/ https://brythonista.wordpress.com/2015/03/28/comparing-the-s... And Brython supports dynamic loading of modules, so you don't need the entire ~2MB stdlib at load. Where Brython falls short for me is CLI tooling. I would like to be able to just point a CLI tool at my source directory and have it compiled into JS with all the stdlib modules used included. Brython supports pre-compilation, so the only thing missing is the CLI tools.