3 ms·
Python would be a bad choice for the web since it was not designed around events. JS was designed specifically to turn on top of a browser with an event loop to
by baja_blast 7y ago
Python would be a bad choice for the web since it was not designed around events. JS was designed specifically to turn on top of a browser with an event loop to respond to events as they happen. Python would just make a slow non responsive browsing experience. Also WASM wasn't designed for "any languages goes" in mind, it was designed for lower level languages like C/Rust which have manual memory management to run high performance applications like games, and video editing tools etc.
Also as someone who uses Python regularly, Python is by no means a perfect language. I am assuming you only know Python since it's an attitude I often come across for devs who only develop in Python and believe it's the superior to every language in every way.
- traverseda 7y agoPython wasn't designed around events, but using python-style async/await syntax under javascript has made my life a lot easier.