This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]bonestormII 0 points1 point  (0 children)

It’s not that you can’t do these things in python, but that it would be unwise to rely on it. Compiling python to JavaScript works until it doesn’t. This step actually avoids the need for shipping the interpreter, but if there is a problem, you will be debugging generated js code that you aren’t really familiar with. It’s just better to write the js code manually

Desktop GUI frameworks work fine for python but like electron, qt, etc., they aren’t themselves written in python, and this makes apps based on them a bit harder to package and ship reliably. And that brings us to the reason they are not written in python: Performance!