Skip to content

Comment on Why not discuss the inclusion of python on the browser?

Comments

Because really, browsers are large enough and contain enough avenues for security holes already.

I'm no javascript guru, but let's please keep the number of languages embedded in browsers limited to the absolute minimum.

And let's get rid of flash while we're 'discussing' this.

What would python add that Javascript doesn't already let you do? Granted it can make programming easier in my opinion, but think of the complexity it would add. Any major website would need to either have two versions of their code (one JS, one Python), or more likely just use Javascript (you can't turn away visitors because their browser doesn't support your favorite language)

srwhOP

The answer is that we need a VM supporting many scripting languages.

I recommend the demo where some guy is scripting in Ruby.net and following on Python... The sites can be implemented in any scripting language.

That doesn't even begin to handle the backwards compatibly argument. We still have people using browsers like IE6, so for a long period of time you would need to write code in both languages.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.