R
Roy Sutton
SWIG works just fine on Windows without any sort of hocus-pocus.M. Edward (Ed) Borasky said:2. Dang, ara, you're gonna make me learn how to work SWIG on Windows,
aren't you?![]()
Roy
SWIG works just fine on Windows without any sort of hocus-pocus.M. Edward (Ed) Borasky said:2. Dang, ara, you're gonna make me learn how to work SWIG on Windows,
aren't you?![]()
I recall reading a bit ago of incompatibilities when building CAustin said:If Matz, as usual, has a 1.8.6 release for Christmas (Matz?) I will be
recommending Curt use MinGW to compile Ruby for Windows. The
discussions that are going on with Microsoft will be continuing with
the preferred target for the VC8 build being next year's 1.9.1,
because I suspect it will take nearly that long to build the support
tools we need to make this work properly.
Amen! But ... it's a boatload less expensive than Reflection X.![]()
As opposed to a cross-compile with GCC 4.1.1 on a Linux system? Just out
of curiosity, how is the Ruby on a MacOS machine compiled? Then again,
if we are helping Microsoft get VC8 "Ruby Ready", should we be helping
MinGW too?
I recall reading a bit ago of incompatibilities when building C
extensions with different versions of the C runtime library. Will
binary extensions break or was the fear overstated or misunderstood?
M. Edward (Ed) Borasky said:Really? Curt, Austin? Is native (one-click) Ruby 1.8.5 slower on, say, a
933 MHz Pentium III running Windows than, say, a gcc-compiled (O2) Ruby
on the same hardware?
Let me drag out my matrix benchmark and dual-booted (Win XP and Gentoo
Linux) Athlon XP laptop and see for myself!
Be back later, as they say in IRC!
A brief test of three Ruby implementations on the same processor. First, the
processor specifications (Linux "/proc/cpuinfo"):
processor : 0
vendor_id : AuthenticAMD
cpu family : 6
model : 8
model name : mobile AMD Athlon(tm) XP 2000+
stepping : 1
cpu MHz : 1656.440
cache size : 256 KB
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 1
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 sep mtrr pge mca cmov pat pse36 mmx fxsr sse syscall mp mmxext 3dnowext 3dnow ts fid vid
bogomips : 3313.62
Now, the times.
Native Windows One-Click Ruby Installer:
ruby 1.8.5 (2006-08-25) [i386-mswin32]
Matrix of dimension 256 times its inverse = identity? true
137.658000 0.060000 137.718000 (137.719000)
CygWin Ruby:
ruby 1.8.5 (2006-08-25) [i386-cygwin]
Matrix of dimension 256 times its inverse = identity? true
137.598000 0.110000 137.708000 (137.768000)
Gentoo Linux Ruby
Compiled from source with GCC 4.1.1 -O2 -march=athlon-xp -fomit-frame-pointer
ruby 1.8.5 (2006-08-25) [i686-linux]
Matrix of dimension 256 times its inverse = identity? true
107.380000 0.010000 107.390000 (107.425632)
What sort of serious problem? Can we help?Yukihiro said:Hi,
In message "Re: [OT] Re: How do I tell when I'm on Cygwin?"
|If Matz, as usual, has a 1.8.6 release for Christmas (Matz?)
I am not going to release it for Christmas this year, unless any
serious problem found.
matz.
These are some really interesting results! I guess the benchmark you use
can make a big difference. The one I used had heavy IO, which might be part
of it. Although you would expect the cygwin dll to impart some overhead
there.
I have no idea how to install termios for Cygwin since it's not part
of the standard distribution (i don't think), and I'm not really a
Cygwin user.
However, stty is included with Cygwin, so I think highline would work
using that.
on our machines copying files with FileUtils.cp_r is just as fast as 'cp
-r' -
very fast or slow disks seems to contraindicate benchmarks which do much
io.
that said, every real world problem tends to do lots of io. ...ducks!
-a
M. Edward (Ed) Borasky said:What sort of serious problem? Can we help?Yukihiro said:Hi,
In message "Re: [OT] Re: How do I tell when I'm on Cygwin?"
|If Matz, as usual, has a 1.8.6 release for Christmas (Matz?)
I am not going to release it for Christmas this year, unless any
serious problem found.
matz.
M. Edward (Ed) Borasky said:Really? Curt, Austin? Is native (one-click) Ruby 1.8.5 slower on, say, a
933 MHz Pentium III running Windows than, say, a gcc-compiled (O2) Ruby
on the same hardware?
Let me drag out my matrix benchmark and dual-booted (Win XP and Gentoo
Linux) Athlon XP laptop and see for myself!
Be back later, as they say in IRC!
OK ... here we go. I actually had to re-install CygWin; I had deleted it
because I wasn't using Windows on my laptop. By the way, speaking of
laptops, I want all of you at RubyConf to know that it has gotten over
the sadness it was feeling as a dual-booted Window and Linux machine
being surrounded by Macs.
From
http://rubyforge.org/cgi-bin/viewvc.cgi/MatrixBenchmark/athlon-xp-2000.log?root=cougar&view=co
A brief test of three Ruby implementations on the same processor. First, the
processor specifications (Linux "/proc/cpuinfo"):
processor : 0
vendor_id : AuthenticAMD
cpu family : 6
model : 8
model name : mobile AMD Athlon(tm) XP 2000+
stepping : 1
cpu MHz : 1656.440
cache size : 256 KB
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 1
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 sep mtrr pge mca cmov pat pse36 mmx fxsr sse syscall mp mmxext 3dnowext 3dnow ts fid vid
bogomips : 3313.62
Now, the times.
Native Windows One-Click Ruby Installer:
ruby 1.8.5 (2006-08-25) [i386-mswin32]
Matrix of dimension 256 times its inverse = identity? true
137.658000 0.060000 137.718000 (137.719000)
CygWin Ruby:
ruby 1.8.5 (2006-08-25) [i386-cygwin]
Matrix of dimension 256 times its inverse = identity? true
137.598000 0.110000 137.708000 (137.768000)
Gentoo Linux Ruby
Compiled from source with GCC 4.1.1 -O2 -march=athlon-xp -fomit-frame-pointer
ruby 1.8.5 (2006-08-25) [i686-linux]
Matrix of dimension 256 times its inverse = identity? true
107.380000 0.010000 107.390000 (107.425632)
So, it appears that on this benchmark, the One-Click and CygWin
interpreters are equal!! But GCC 4.1.1 beat them both.
Back to RAMEAU.![]()
Joel said:Doesn't sound like there are any problems yet, and there will be a
release only if there is a need to fix something serious.
(But doesn't the FXRuby loading problem caused by ruby 1.8.5 qualify as
serious? That's what's keeping me from upgrading from 1.8.4...)
M. Edward (Ed) Borasky said:FXRuby has got other problems, like FXScintilla going "end of life" out
from under it.
M. Edward (Ed) Borasky said:OK ... here we go. I actually had to re-install CygWin; I had deleted i= t
because I wasn't using Windows on my laptop. By the way, speaking of
laptops, I want all of you at RubyConf to know that it has gotten over
the sadness it was feeling as a dual-booted Window and Linux machine
being surrounded by Macs.
=20
Yukihiro said:Hi,
In message "Re: [OT] Re: How do I tell when I'm on Cygwin?"
|(But doesn't the FXRuby loading problem caused by ruby 1.8.5 qualify as
|serious? That's what's keeping me from upgrading from 1.8.4...)
I'm afraid that I don't recognize that problem. Can you help me to
identify the problem?
I just managed to hack FXRuby for fox-1.6 into life on Sunday atJoel said:Yukihiro said:Hi,
In message "Re: [OT] Re: How do I tell when I'm on Cygwin?"
on Thu, 26 Oct 2006 01:31:58 +0900, Joel VanderWerf
|(But doesn't the FXRuby loading problem caused by ruby 1.8.5 qualify
as |serious? That's what's keeping me from upgrading from 1.8.4...)
I'm afraid that I don't recognize that problem. Can you help me to
identify the problem?
Ruby 1.8.5 loads the fox16.so twice, causing a large number of "already
initialized constant" messages.
One report:
http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-talk/219241
That post links to the FXRuby bug report:
http://rubyforge.org/tracker/index.php?func=detail&aid=5633&group_id=300&atid=1223
I reported it about a year ago for the 1.9 snapshot:
http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-talk/117682
But at least one report (from Curt Hibbs) says that the problem doesn't
seem to affect anything important:
http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-talk/220744
So maybe it's ok.... does anyone have long-term experience with 1.8.5
and fox16? Is it stable?
Joel said:Ruby 1.8.5 loads the fox16.so twice, causing a large number of "already
initialized constant" messages.
Austin said:(I don't know; I stopped using Cygwin as soon as I
found more useful tools that didn't require the whole bloody
framework).
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.