Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> Your comment would make sense if Python code could be compiled into x86 or ARM assembly in the first place.

It can actually be compiled (or transpiled) into C code [1] with few limitations, so I can't see why not. It still requires libpython but it should be better than porting the whole interpreter to webassembly.

[1] https://github.com/Nuitka/Nuitka



By that logic, you can transpile your Python to C and then compile to Wasm


Yes, that was my point. AFAIK it is not possible with current tooling, though.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: