为什么 jython 慢?
Jython 性能通常被批评为缓慢 --- 这有什么特殊原因吗?或者这只是一个现代神话?最重要的是,Jython 的未来是什么?它的开发力度如何?针对 JVM 使用 Python 编写脚本的能力是否足以满足主流用途?
Jython performance is generally critized as slow --- is there a particular reason for this? Or is this just a modern myth? And most importantly, what is the future of Jython and how aggressively is it being developed? Will the ability to script in python against the JVM ever be performant enough for mainstream usage?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
Jython 2.5.2 于 3 月份发布,并作为其发行说明的一部分2.5.2 发行说明一些性能提升是,2.5.2 运行 richards 基准测试的速度比 2.5.1 快 3 倍,pystone 基准测试速度比 2.5.1 快 20%。
这是在 jvm 7 上运行的 jython 2.5.2 的最新基准测试,其中 jython 比 Pypy 慢,但比 Cpython 快。从中获取您想要的基准
它的使用不仅仅是可行的,并且有一些新的很酷的项目,例如 Sikuli 展示了它的 力量。
我搜索了与 Jruby 的最近速度比较,但没有找到比 2008/2009 年更近的比较。
Jython 2.5.2 was released in March and featured as part of its release notes 2.5.2 Release Notes some performance gains that it 2.5.2 runs the richards benchmark 3x faster and the pystone benchmark 20% faster than 2.5.1.
Here is a recent benchmark of jython 2.5.2 running on jvm 7 where jython is slower than Pypy but faster than Cpython. Take from it what you will Benchmarks
Its at the point where it's more than viable to be using and there are some new cool projects like Sikuli that demonstrate its power.
I searched for recent speed comparisons with Jruby but didn't find anymore recent comparisons than 2008/2009.