News for hackers. Stuff that matters.
Re:PyPy.js: A fast, compliant Python implementation for the web by voltagex_ on Wednesday May 06, 2015 @02:27AM (#9496896)
I wonder if Python could be embedded as an addon.
Re:PyPy.js: A fast, compliant Python implementation for the web by RussianCow on Wednesday May 06, 2015 @12:35PM (#9499874)
Of course it could. But that would defeat the point, because support wouldn't be widespread enough for any real use (unless you're just using it for an intranet site or something).
Re:PyPy.js: A fast, compliant Python implementation for the web by romaniv on Wednesday May 06, 2015 @02:35PM (#9500825)
As usual, everyone devalues the benefits of progressive enhancement. Add-on would be a great way to get the ball rolling, as long as your website works without it too.
Re:PyPy.js: A fast, compliant Python implementation for the web by RussianCow on Wednesday May 06, 2015 @04:46PM (#9501680)
But we're not talking about some optional feature you can just shim in 1kb of JavaScript, we're talking about the language used to write a web app. Sure, you could use PyPy.js as a fallback, but you'd essentially create a horrible loading experience for >99.99% of your users while you wait for this addon to catch on (which won't happen, because there's no reason for an end-user to install it). For a language like Python to be natively supported on the web, at least one major browser has to support it. And that's not likely to happen given the current state of affairs.