News for hackers. Stuff that matters.
Re:Script type="text/python" by ekiru on Monday July 19, 2010 @10:18PM (#1530944)
This apparently relies on Silverlight to work. That's fine, but it would nice if pages using it gave some indication why nothing happens if you don't Silverlight. The only reason I know that the problem is lack of Silverlight is from the other HN comments. That is decidedly not user-friendly.
Re:Script type="text/python" by Goosey on Tuesday July 20, 2010 @12:01AM (#1531098)
It is a bold first step. I sincerely hope Microsoft includes this functionality standard in the next release of IE. It would be refreshing to see them pushing innovation on the browser front.

I can see Firefox following suite. Just embed CPython and route it through that; given that they are struggling to match the Javascript performance of V8 it seems they might welcome a free diversion.

Chrome following suite is more questionable. V8 is the current king of the ring in JS performance, but Google is widely known to be a supporter of Python. I can imagine them amiable to the idea of unifying their server side glue with the client. Besides; they have shown time and time again to make 'strategically strange' moves in order to help advance the general state of the internet. When it comes to google if the internet wins, they win.

Opera would be wise to support it as a differentiating feature. They need all the tricks they can pull to stay relevant.

The bugaboo to me is Apple. They have Nitro, which is right up with V8 in most benchmarks, and support for languages which have benevolent dictators living in their enemy's quarters doesn't sound like an Appleish thing to do. I doubt they would peacefully hand over any control.

Of course if we do stumble into a multi-client-side-language-choice Renaissance it will be Adobe with the most to lose.

Re:Script type="text/python" by mitjak on Tuesday July 20, 2010 @12:03AM (#1531107)
Bundling as standard your own proprietary plugin which you know no one else will bundle is definitely not pushing innovation, and is little different from ActiveX, DirectShow filters, VBScript and the rest.
Re:Script type="text/python" by Raphael_Amiard on Tuesday July 20, 2010 @03:36AM (#1531428)
Well my first reaction is the same as yours, but since python is OSS the possibility does indeed exist that this could be emulated amongst other browsers without needing Silverlight.

The runtime API they present to python though, while it seems to be just the DOM exposed, would still need to be documented and standardized.

Re:Script type="text/python" by Goosey on Wednesday July 21, 2010 @06:11PM (#1536723)
But IronPython is FOSS. The fact that it is being bundled in a closed source plugin seems like an implementation detail to me. If Firefox wanted to they could expose this very same implementation of a python runtime engine.
Re:Script type="text/python" by alnayyir on Tuesday July 20, 2010 @01:43AM (#1531255)
Dear god, this, yes.
Re:Script type="text/python" by imurray on Tuesday July 20, 2010 @03:37AM (#1531430)
Just embed CPython...

I imagine that, from a security standpoint, embeding CPython in a browser would be pretty hairy.

Re:Script type="text/python" by rwhitman on Tuesday July 20, 2010 @04:12AM (#1531479)
I would say that Microsoft 'pushing innovation on the browser front' is the root cause of most browser related developer headaches over the last 10 years.
Re:Script type="text/python" by sgk284 on Tuesday July 20, 2010 @04:40AM (#1531523)
While Ajax has certainly caused headaches for me, it's probably the best thing that's ever happened to the web... and we can thank Microsoft for it.
Re:Script type="text/python" by rwhitman on Tuesday July 20, 2010 @10:19PM (#1534130)
Ah but XMLHttpRequest was introduced in 1999. I said, very carefully, over the last 10 years..
Re:Script type="text/python" by philwelch on Tuesday July 20, 2010 @01:34AM (#1531245)
I bet Apple would try to embed Ruby ;)
Re:Script type="text/python" by Twisol on Tuesday July 20, 2010 @04:14AM (#1531486)
I definitely wish the page had been more up-front about requiring Silverlight. I paged down for more than I'd have liked just to find an answer to the nagging question of "how is it done?"