Announcing py2wasm: A Python to Wasm compiler - eviltoast
  • Solemarc@lemmy.world
    link
    fedilink
    arrow-up
    3
    ·
    7 months ago

    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
      link
      fedilink
      English
      arrow-up
      1
      ·
      7 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.