Ruby 1.9 is fast!
-
I just got around to installing Ruby 1.9 - why didn't you guys tell me it was sooo much faster than the 1.8 series on Windows? And not "noticably" faster, but shockingly faster.
-
Does this has an impact on the SKP rubies?
-
@unknownuser said:
Does this has an impact on the SKP rubies?
Only if we can figure out how to make Sketchup load the 1.9.x Interpreter DLL.
On Windows, When I try it, I get a "Entry Point Not Found" error.
Has anyone been sucessful in getting SU to use 1.9.x on the Mac ??
-
Could you wrote a wrapper that somehow tricked SketchUp into thinking it's using 1.8?
-
Got some numbers Jim?
-
No, I removed the old version even before installing 1.9.
-
-
@thomthom said:
Got some numbers Jim?
FYI: (From one of ThomThom's links)
@unknownuser said:
(http://antoniocangiano.com/2007/12/03/the-great-ruby-shootout/)":1zpya81u]Ruby 1.9 confirms itself as a fast implementation, about three times the speed of 1.8.6 ...
ADD: (From the other link by ThomThom)
@unknownuser said:
(http://www.thebuzzmedia.com/ruby-19-quick-speed-test/)":1zpya81u]Now, it is no news that 1.9 is faster than 1.8, but an 8x improvement on this simple recursive script? I was astonished! This is better than using XRuby to speedup Ruby performance!
-
@jim said:
Could you wrote a wrapper that somehow tricked SketchUp into thinking it's using 1.8?
Well.. in a way I did. The simpliest of all wrappers... I renamed a copy of the DLL file:
from msvcrt-ruby191.DLL
to msvcrt-ruby18.DLL (and copied it to the SU program folder.)But I'm wondering if I got a 1.9.1 release that was compilied with mingwin.
It's about time for me to try it again, with a newER release. -
Here's a slideshow of things to know about Ruby 1.9.
And the slideshow itself was created from simple textile markdown files using the slideshow gem. Kind of a nice idea and nice looking presentations, I think.
-
Why do you suppose no one has written a compiler?
20 years ago a top-of-the-line PC was a 25MHz 80386. Interpreters made sense. Today, compile, link and run in a good IDE is done with the press of an F key and doesn't take a full second. Am I missing some good reason to stay interpreted?
-
Yes. Late binding allows lots of flexibility.
Advertisement