this post was submitted on 23 Apr 2024
31 points (94.3% liked)

Python

6366 readers
17 users here now

Welcome to the Python community on the programming.dev Lemmy instance!

πŸ“… Events

PastNovember 2023

October 2023

July 2023

August 2023

September 2023

🐍 Python project:
πŸ’“ Python Community:
✨ Python Ecosystem:
🌌 Fediverse
Communities
Projects
Feeds

founded 1 year ago
MODERATORS
top 3 comments
sorted by: hot top controversial new old
[–] FizzyOrange@programming.dev 3 points 6 months ago (1 children)

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.

[–] Solemarc@lemmy.world 3 points 6 months ago (1 children)

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.

[–] Dark_Arc@social.packetloss.gg 1 points 6 months ago

Compiling to wasm also means that you can distribute a binary rather than needing people to have python installed.

I don't know that I'd say that's true? wasm itself is not a binary format.