3 ms·
I'm thinking that if Python becomes "easy to pick up" to do WASM development, it could go a long way towards helping PWAs thrive. I'm not very familiar with WAS
by politelemon 3y ago
I'm thinking that if Python becomes "easy to pick up" to do WASM development, it could go a long way towards helping PWAs thrive. I'm not very familiar with WASM but most tutorials seem to be around C/C++, Rust, or C#, so I wonder if there's something holding back Python + WASM. I only mention Python because of its current popularity and accessibility to the masses.
- echelon 3y agoI think something like https://dioxuslabs.com https://dioxuslabs.com could deliver native, cross platform apps and win back mobile. YC made a good bet here.
- jacobr1 3y ago> so I wonder if there's something holding back Python + WASM Yes. The problem is that may python libraries involve compilation of c, rust or other native languages that themselves need a WASM toolchain configured to cross compile to WASM correctly, and potentially patches to support the platform. This toolchain support is coming though. See pyodide.org for one example. But if you just want to grab python.wasm from somewhere and run it on the cli, take a look at something like https://github.com/vmware-labs/webassembly-language-runtimes/tree/main/python/examples https://github.com/vmware-labs/webassembly-language-runtimes...
- amadeuspagel 3y agoIf I understand correctly, WASM only makes sense for compiled languages. Of course you can run the python interpreter in WASM[1], but that will be at a significant performance disadvantage to the native javascript interpreter, and it's also something that has to be loaded every time you load the website. [1]: https://github.com/pyodide/pyodide https://github.com/pyodide/pyodide
- KaiserPro 3y agoBut you'll be paying a python->WASM->sandbox tax. Not only that but you then don;t get access to any hardware acceleration, sensors or any other good stuff.
- FpUser 3y agoThe area where Python is popular and end user mobile apps are two different things. I doubt there is much intersection.
- intrasight 3y agoIt's because most Python is really C with a thin wrapper. Which is why it's so darn fast.