TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Why not discuss the inclusion of python on the browser?

4 点作者 srwh超过 15 年前
Don't you think it's time to support python, ruby and other scripting languages in the browser? Why this obsession with Javascript?

4 条评论

jacquesm超过 15 年前
Because really, browsers are large enough and contain enough avenues for security holes already.<p>I'm no javascript guru, but let's please keep the number of languages embedded in browsers limited to the absolute minimum.<p>And let's get rid of flash while we're 'discussing' this.
评论 #800499 未加载
mooism2超过 15 年前
Which python?<p>Do you think it's time for python, ruby and other scripting languages to be standardised?<p>Do you remember how well visual basic worked in the browser?
joeld42超过 15 年前
This is the wrong approach. Javascript is rapidly becoming the "bytecode" of browsers. Look at established projects like Haxe and GWT which take higher level languages and compile them down to low-level javascript. Pyjamas is even a python port of Gwt, not sure how well tested.<p>This approach solves many problems. Browser developers only have to support one language (javascript), and already projects like the V8 engine are making that fast and standardized. Developers can use the language of their choice.<p>It's what Java should have been in the first place. It's a pity that this is all built on an oddball language like javascript, but perhaps that's the only way this could have happened because there's no legacy javascript outside the browser.
评论 #800983 未加载
skwiddor超过 15 年前
Python used to be available as a client side scripting language for EMCA but I can't find that project these days.