3 ms·
I already know I'm off my rocker (and my lawn with that phrasing) but I really wish the browser supported Python as a language instead of Javascript. I can pick
by kodah 5y ago
I already know I'm off my rocker (and my lawn with that phrasing) but I really wish the browser supported Python as a language instead of Javascript. I can pickle Python, send it to a client, and run it. Combine that with everything else Python 3 has brought to the table and I'd have a language that runs client side that I can depend on and that I love.
- eatonphil 5y agoBrython, Pyodide, Coldbrew. You do have options. ;)
- Gigachad 5y agoMaybe some day WASM will become the default and you will just compile whatever you feel like to send out.
- giobox 5y agoIsn't this supposedly one of the magical things WebAssembly gets us? While I can sympathise with wanting <insert your favourite language here> in the browser, I'm not sure its so great in reality and I'm really scared of things like Pyodide/Blazor/<programming language to web asssembly> from a debug perspective. Today the fact its JS everywhere client side for most part has made our lives hugely easier in a lot of regards. A world in which many languages can compile down to some web assembly and run will make debugging and developing web apps even more complicated than it already is...
- lawwantsin17 5y ago
- boondaburrah 5y agoI'm giving Haxe a try for that reason. It's not python however.
- crate_barre 5y agoThe browser doesn’t even have modern JS. Well, I mean it does, but for awhile it didn’t. We consider modern history to be anything past 1815. So in web terms, if you had to section it, modern web history is like maybe 2010 onwards? In those years we transpiled new Ecmascript to old ecmascript. So, nothing is stoping us from tranpiling Python to new or old ecmascript. But, I think you’ll see that it won’t solve much. You are just turning one turd into a lesser turd. The problem is fundamentally deeper. The browser and web server tech was not built for app development. That’s the bottom line.