Re:PyPy.js: A fast, compliant Python implementation for the web
by callahad on Wednesday May 06, 2015 @09:40AM
(#9498472)
Well, Google more or less tried the same with Dart and has since abandoned that plan in favor of targeting JS as Dart's primary runtime. Then again, the Dart VM never shipped in mainline Chrome, so who knows how a more committed attempt would have played out.
[ Parent
| on HN ]
Re:PyPy.js: A fast, compliant Python implementation for the web
by toyg on Wednesday May 06, 2015 @11:59AM
(#9499601)
That's a bit of a fig leaf: dart never had the clout and popularity Python has, and it was clearly something no other browser vendor could get behind. Python has significant cross-vendor mindshare and wouldn't be perceived as fostering anybody's agenda.
It's true though that getting even two major browser vendors to agree on supporting another scripting language in addition to JS, is really really hard. I don't see it happening unless Nadella's "Really Good, Honest! (TM)" Microsoft makes some sort of grand gesture towards Google or (more likely) Mozilla.
Re:PyPy.js: A fast, compliant Python implementation for the web
by spankalee on Wednesday May 06, 2015 @04:53PM
(#9501730)
Python might have clout, but in many way it's even harder to optimize than JavaScript, whereas Dart was designed by JavaScript VM experts to be easily optimizable and has a very fast, very small VM.
Python is also only just starting to explore optional typing which is obviously a prime feature of Dart and JS derivatives like TypeScript.
Re:PyPy.js: A fast, compliant Python implementation for the web
by toyg on Wednesday May 06, 2015 @05:43PM
(#9502003)
It's very clear that this is not a technical problem, but a political one. Dart could be the second coming of Knuth and still nobody but Google would implement it in a major browser.