- cross-posted to:
- hackernews
- programming
- cross-posted to:
- hackernews
- programming
You must log in or register to comment.
Honestly twice as slow as CPython is probably quite an achievement. Even so I can’t imagine many people can tolerate their code running that slow. I’m not really seeing the use case for this. On the web you can use Typescript, which is a better language and far more mature for that use case.
It looks like it’s 3x faster than the previous cpython wasm compilation. Recall that most of the performance improvements in python have been done in the last ~2 releases.
My distro is debian based so it’s still on 3.10 which I would guess this new wasm implementation is much closer to in performance.
Compiling to wasm also means that you can distribute a binary rather than needing people to have python installed.