Skip to content

Comment on A possible future of Python in the browser

Comments

Why can't regular Python code be compiled straight to WebAssembly?

The design of the language.

Regular Python code cannot be compiled, unless cython or mypyc code is considered "regular".

Is this the limitation of the current toolchain or is there some fundamental impossibility in the language itself so there can never be a (eg) .py -> ELF compiler?

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.