On Mon, Aug 17, 2009 at 10:25 AM, Roger Pack<rogerdpack at gmail.com>
wrote:> I keep hearing people say "oh ruby would be even faster if it used a
> more modern compiler and/or version of msvcrt"
>
Me too, I''ve already proven back in 2008, that out of the box
compilation with VS2008 is not faster.
> Does anybody have some builds that can substantiate this that they can
> make available?
> Anybody know what compiler is used to build the binaries here:
>
ftp://ftp.ruby-lang.org/pub/ruby/binaries/mswin32/ruby-1.9.1-p0-i386-mswin32.zip
> ?
VC6 with sh scripts (on top of cygwin I believe)
>
> I''m just always curious to understand speed differences [my first
> question being "if they are faster, is it because they use profile
> guided optimization, or is it just the newer version of msvcrt?"]
> Thanks.
> -r
The new version fot he CRT is not that is faster or slower, it offer
"safer" CRt functions for string processing and other stuff, the CRT
speed should not be the impact here.
Of course: code optimization is crucial in the CRT, but is not eh bottleneck.
--
Luis Lavena
AREA 17
-
Perfection in design is achieved not when there is nothing more to add,
but rather when there is nothing more to take away.
Antoine de Saint-Exup?ry