本文主要是介绍Re: 别打了-改PK(呼吁版主开办ROR战场,不然沾上Ruby和Rails的帖子就卷入征战)...,希望对大家解决编程问题提供一定的参考价值,需要的开发者们随着小编来一起学习吧!
玩点技术PK比较 ruby对 某某 -不一定当真http://shootout.alioth.debian.org/gp4/benchmark.php?test=all&lang=all
性能比较
And remember, "For every complex problem, there is a solution that is simple, neat, and wrong."
ratio language score ×
best possible 100.0
1.0 C gcc 69.8
1.0 D Digital Mars 68.0
1.2 Clean 59.8 3
1.3 OCaml 53.6
1.3 Eiffel SmartEiffel 52.5 2
1.3 Haskell GHC 52.1
1.5 C++ g++ 48.0
1.5 SML MLton 48.0 1
1.7 Java JDK -server 42.3 1
1.8 Nice 39.8 2
1.9 Ada 95 GNAT 35.9 1
2.0 Oberon-2 OO2C 34.1 7
2.1 Pascal Free Pascal 33.1 4
2.2 Scala 31.3 3
2.3 Lisp SBCL 30.6 4
2.5 BASIC FreeBASIC 27.8 4
2.6 Fortran G95 26.9 5
2.6 C# Mono 26.7 1
3.8 Erlang HiPE 18.4 1
4.9 Forth GForth 14.3 1
5.3 Smalltalk VisualWorks 13.3 1
6.0 Lua 11.6
7.3 Pike 9.6 2
7.6 Python 9.2
8.4 Tcl 8.3 3
9.4 Scheme MzScheme 7.4 3
9.8 Perl 7.1 3
12 PHP 5.9 3
13 Smalltalk GST 5.2 1
15 Icon 4.7 6
17 Ruby 4.1 1
73 JavaScript SpiderMonkey 1.0
评分ruby 靠后
[img]http://bd7lx.iteye.com/upload/picture/pic/890/ec26e796-6159-4bfe-9996-cfa216aa4019.jpg[/img]
实际输入 ruby 对 perl
http://shootout.alioth.debian.org/gp4/benchmark.php?test=all&lang=ruby
至少可以[size=18]动手PK[/size], 过瘾吧
这篇关于Re: 别打了-改PK(呼吁版主开办ROR战场,不然沾上Ruby和Rails的帖子就卷入征战)...的文章就介绍到这儿,希望我们推荐的文章对编程师们有所帮助!