Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon.

Pages: 1-

This just in: Ruby actually fast now

Name: Anonymous 2009-03-29 17:46

Apple's version of Ruby could already, at this early stage of its development, be about three times as fast as the fastest Ruby implementation available elsewhere.[1]

But that's still slow as fuck, right?
___
[1] - http://developers.slashdot.org/article.pl?sid=09/03/29/207240

Name: Anonymous 2009-03-29 17:58

>>1
3 * infinity is still infinity

Name: Anonymous 2009-03-29 17:59

YARV is already a reasonable improvement, but it's a dynamic language after all.

Name: Anonymous 2009-03-29 18:22

YARV isn't really a valid acronym.

Name: Anonymous 2009-03-29 19:19

YARV = YARV Acronym isn't Really Valid

Name: Anonymous 2009-03-29 21:40

>>1
the fastest Ruby implementation
There's no such thing.

Name: Anonymous 2009-03-29 21:47

>>2
3 * infinity is still infinity
I think you mean ∞/3 = ∞.

Name: Anonymous 2009-03-29 22:29

(∞+∞)-∞ = 0

Name: Anonymous 2009-03-29 22:31

>>7
How do you do the backwards 8 symbol?

Name: Anonymous 2009-03-30 0:08

>>9
backwards-mode

Name: Anonymous 2009-03-30 0:20

>>1
it's still slower than FIOC 3000, which is 3000 times slower than regular FIOC.

Name: Anonymous 2009-03-30 1:54

Why exactly was Ruby so slow in the first place? Shitty compilers?

Name: Anonymous 2009-03-30 2:05

>>12
ruby doesn't use compilers. it's interpreted. and the interpreters are written by a bunch of php „proogrammers“.

Name: Anonymous 2009-03-30 2:11

>>12
It started out as a hobby language for writing shell scripts. The author didn't care much about speed, so even though he wrote it in C, it wasn't designed with fast execution in mind, and so it was merely "good enough." He added features for years with no regard to how much work it would take to reimplement everything.

Then the killer apps like Rails came along, and used all those features he'd been adding, so even when people started implementing fast versions of Ruby, there were so many weird edge cases that none of the apps worked right. So, it's taking forever to get a fast, stable, production-ready Ruby out the door.

If the core of the language had been smaller, tighter, and more consistent, it would have been trivial to drop in a replacement interpreter with a faster design.

Name: Anonymous 2009-03-30 2:14

>>13
Rails is written by PHP /prog/rammers

Ruby is written by people who used to write C++ for a living

Name: Anonymous 2009-03-30 2:16

>>12
It's compiled with the same shitty old version of GCC that compiles all the other shitty and broken C software that had diarrhea all over your hard drive. It's slow because it's dynamically typed and you can subclass any subclass so you can iterate while you see what I did there.

Name: Anonymous 2009-03-30 11:21

>>14
So would it be fast if it was written in C++?

Name: Anonymous 2009-03-30 11:35

>>17
It IS written in C/C++

Name: Anonymous 2009-03-30 11:56

>>14
he wrote it in C
>>16
It's compiled with the same shitty old version of GCC that compiles all the other shitty and broken C software

Based on the previous two statements that have clearly been stated clearly, I have come to the conclusion and shall announce for all to see/hear: >>18 was TROLLe by >>17.

Thank you.

Name: Anonymous 2009-03-30 13:23

>>19
>>14 and >>16 obviously meant to say "C/C++" so I don't know what you're talking about.

Name: Anonymous 2009-03-30 18:41

>>21
STOP BUMPING SHITTY THREAD!!

Name: Anonymous 2009-03-30 23:38

>>16
This issue can be fixed by using JRuby, which leverages the power of the Java Virtual Machine to compile down to native code (JIT) when appropriate.

Name: Anonymous 2009-03-31 0:13

>>22
Yet, it's still Ruby, so it's still slow as fuck

Name: Anonymous 2010-12-06 10:00

Back to /b/, ``GNAA Faggot''

Name: Anonymous 2011-02-04 17:01

<

Don't change these.
Name: Email:
Entire Thread Thread List