Re:Ask HN: Is there still a place for native desktop apps?
by p_l on Sunday May 17, 2020 @06:21PM
(#23216037)
So, an already slow language made slower?
No thanks.
Re:Ask HN: Is there still a place for native desktop apps?
by brachi on Sunday May 17, 2020 @08:15PM
(#23216798)
The main point though, is that running Python in the browser it's an unnecessary abstraction because you get a crappier version of something that runs pretty well natively. If you're starting from scratch, I think that the browser might be close to native performance in some tasks. Porting existing applications is a pain when you start looking into the details.
"Running the Python interpreter inside a JavaScript virtual machine adds a performance penalty, but that penalty turns out to be surprisingly small — in our benchmarks, around 1x-12x slower than native on Firefox and 1x-16x slower on Chrome. Experience shows that this is very usable for interactive exploration."[1][2]
[1] https://hacks.mozilla.org/2019/04/pyodide-bringing-the-scien... [2] https://alpha.iodide.io/notebooks/300/