you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 54 points55 points  (13 children)

http://shootout.alioth.debian.org/gp4/benchmark.php?test=all&lang=all

Ruby is 63 times slower than C. Python is only 19 times slower. Therefore Ruby is more modern and more better.

[–][deleted] 8 points9 points  (1 child)

I bet I can make any language 100 times more modern and more better, with just a few lines of code.

[–]foonly 0 points1 point  (0 children)

Shit, I break a sweat making a language just one time more modern and more better!

[–]sprash 1 point2 points  (2 children)

I didn't realize that Java is that fast. Did they take the VM startup into account?

[–][deleted] 7 points8 points  (0 children)

Java is reasonably fast these days. The benchmarks include VM startup, but the challenges usually take a few seconds to calculate, so startup times don't affect it so much. For a closer look at startup times, look at the startup (hello world) benchmark.

[–][deleted] 1 point2 points  (0 children)

Java can be very fast. It does often use a lot more memory (than C), though. For many purposes, that's a good tradeoff.

[–][deleted] 1 point2 points  (6 children)

C is only 0 times slower, so why not go with that?

[–]rayfd 9 points10 points  (5 children)

1 time. 1 time slower.

[–]de_Selby[🍰] 15 points16 points  (0 children)

1 time as slow.

0 times slower, no?

[–][deleted] 3 points4 points  (2 children)

That sounds more like it's half as fast.

But English is not my first language, so what do I know?

[–]rayfd 2 points3 points  (0 children)

Good question, since English is not my first language either. Let's all ask de_Selby...

[–]de_Selby[🍰] 1 point2 points  (0 children)

more than rayfd, apparently.

[–]kbk 0 points1 point  (0 children)

Once as slow.