From: BearItAll Date: 2005-08-12T17:11:11+09:00 Subject: Re: Performance Ruby On Thu, 11 Aug 2005 14:12:47 +0200, Goel wrote: > I'm sorry, but my knowledge is not that deep. > > I'm still from the 'old' Pascal school, learned some Java, understand OO and > the concept is very logic, however Java itself is for me 'too strange'. > When I saw some written code in Ruby, I immediately knew this was my > language, since the writing and logic is my naturally (for me at least). > > A friend is thinking to use it at his work too (standalone), but must know > some things about the performance before he is going to use it; hence my > (wrong) question. > When I first tried Ruby, my main software language was c++ and main script language was perl or python. I decided that despite it being incredibly easy to learn, Ruby was just too slow for the script project I was doing at the time, which was a replacement for my server mirror software. The speed of traversing through the directories increased my over night mirror by a very long time (no point in saying how long because it obviously depends on how many files are involved, but it was a great deal longer than the previous version written in C++). But I have since sort of slipped into using Ruby for just about all of my scripting in such a way that I hardly noticed until I wrote this post, that I haven't actually written in python since xmas. All those small two minute jobs that you tend to need a lot, such as find routines and maintenance tasks, are written in moments using Ruby. I still find some areas of Ruby very confusing, compared to c++, but that is more because I was C++ only so such a long time that I would of found difficulty with any language. Ruby rails is to me the biggee though. When it comes to web type work I have always had a blind spot. I hated html from the day I first saw it, and we've never got on since. So anything that can help me write a web site without too much html involved is a good thing. It is a struggle at the moment to find hosts for it, in fact I haven't found one yet, but it is such a good web development environment that I am sure it will pick up steam.