I'm the one who went on record in "Deploying Rails Applications".  Rails
isn't slow on Windows - Ruby is. It was horribly slow almost four years ago
when I started, and it's slow now, although it's faster because our CPUs
have gotten faster.  I spent a good majority of my Rails career working on
the Windows platform but have since switched to Mac for most things. When I
go back to the Windows environment, it's quite noticeable.

A long time ago, it was explained to me that the compiler used to build Ruby
for Windows has some limitations. I'm being intentionally vague here because
I can't remember who said it so I can't really back that up,  I understand
that the maintainers of the One Click Ruby Installer are making some nice
improvements in performance in some of the test releases out there, so
there's hope.

But to the OP, it's definitely a Ruby on Windows thing, and it's a little
sad because it makes converting people much more difficult, and where it
really hurts is in testing. People stop running rake test:units or rake spec
because it's terribly slow.

The situation gets better all the time though, as talented Rubyists get
involved and improve the performance for the Windows users. I personally
find Mac the best environment to work on, but Ubuntu is fabulous as well.
Sadly enough, even VMWare with an Ubuntu insallation running on top of
Windows runs Ruby faster than Windows itself. VMWare + smb mounting can be
an interesting way to develop Rails if you can't move off of Windows :) (Way
more work than it should be though.)

On Thu, Oct 16, 2008 at 2:56 PM, Ar Chron
<[EMAIL PROTECTED]>wrote:

>
> > would still be interested whether this a windows(slow I/O?) or ruby/
> > [EMAIL PROTECTED] problem?
>
> I'd vote that Windows is the slow component.  I was dual booting XP Pro
> and Ubuntu 7.10 for a while, and just sourcing a big database in MySQL
> was 25 minutes in Windows, 7 minutes in Ubuntu on the same physical
> hardware.
>
> Ruby on windows still has to play by the Windows rules, so it may in
> fact be slower than ruby on *nix/Mac, but not due to its own faults.
> --
> Posted via http://www.ruby-forum.com/.
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to