News for hackers. Stuff that matters.
Re:PyScript: Run Python in your HTML by firechickenbird on Sunday May 01, 2022 @06:27AM (#31223763)
It makes no sense to me also. One of the reasons Python so popular is due to it's interoperability with libraries written in C/C++, otherwise it's just super slow language. In the browser you can't access these fast libraries so you are left with a crap language with an even slower execution due to the interpreter VM written in JS
Re:PyScript: Run Python in your HTML by ltdanimal on Sunday May 01, 2022 @08:11PM (#31230003)
There are a huge number of people who would disagree with Python being a "crap" language, and the irony is that the only language supported in the browser is js. You're missing a big reason Python is popular, and it is another reason this is a big deal. The number of people that have an opportunity to make web apps opens a great deal.

Also the idea is you CAN now access those libraries like numpy, even though Python speed in general is usually overstated.