IronPython与CPython:1.6倍的速度更快? [英] IronPython vs CPython: faster in 1.6 times?

查看:221
本文介绍了IronPython与CPython:1.6倍的速度更快?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

网址 http://torquedev.blogspot.com/2008/0...es-in-air.html

(游戏开发者的博客)

表示IronPython比CPython快1.6倍。

这是真的吗?

如果是的话,与CPython相比,IronPython的缺点是什么?

是否可以在Linux中使用IronPython?


D.

解决方案

IronPython运行在.NET之上。我怀疑任何声称它会比cPython快得多,就像我声称Stackless或

Jython更快。

Jeff写道:


IronPython运行在.NET之上。我会怀疑任何声称

它比cPython快,就像我声称Stackless或

Jython更快。



好​​吧,不是。对于选定的测试,有一些基准可以清楚地显示IronPython为
更快。其他测试表明CPython运行得更快。


一如既往,基准测试对于预期应用程序的典型工作量来说非常有价值。


问候

Steve

-

Steve Holden +1 571 484 6266 +1 800 494 3119

Holden Web LLC http://www.holdenweb.com/


Mike C. Fletcher:


不确定Mono是否也提供加速。



这里有一套很好的基准,答案是否定的:
http://shootout.alioth.debian.org/sa...=all&lang=iron


再见,

bearophile


Hi all,
the url http://torquedev.blogspot.com/2008/0...es-in-air.html
(blog of a game developers)
says IronPython is faster than CPython in 1.6 times.
Is it really true?
If yes, what are IronPython drawbacks vs CPython?
And is it possible to use IronPython in Linux?

D.

解决方案

IronPython runs on top of .NET. I would be suspect of any claims that
it is faster than cPython, just as I would of claims that Stackless or
Jython are faster.


Jeff wrote:

IronPython runs on top of .NET. I would be suspect of any claims that
it is faster than cPython, just as I would of claims that Stackless or
Jython are faster.

Well don''t be. There are benchmarks that clearly show IronPython as
faster for selected tests. Other tests show CPython running more quickly.

As always, a benchmark is only really valuable on a typical workload for
the intended application.

regards
Steve
--
Steve Holden +1 571 484 6266 +1 800 494 3119
Holden Web LLC http://www.holdenweb.com/


Mike C. Fletcher:

Not sure if Mono also provides a speedup.

There is a set of good benchmarks here, the answer is negative:
http://shootout.alioth.debian.org/sa...=all&lang=iron

Bye,
bearophile


这篇关于IronPython与CPython:1.6倍的速度更快?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆