------art_36709_24310260.1175717656399
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

On 4/4/07, Vinh Chuc <vinh.chuc / gmail.com> wrote:
>
> Hi !
> I think i'll soon begin to learn programming in ruby, as so many people
> find it ( and its buddy RoR ) awesome.
> I'm a beginner programmer ( Basic, PHP, Caml, and i'm currently reading
> some C/C++ tutorials )


Welcome, glad to have you.  You may want to check out Chris Pine's online
tutorial as well:

http://pine.fm/LearnToProgram/

Ruby is an interpreted language, if i'm not wrong, interpreted languages
> are slightly slower than compiled ones,
> so far i mainly coded web apps, but i may one day do some Desktop apps
> programming, and so : are Ruby programs much slower/nearly as fast/ ...
> as a for example a C-compiled program  ( i guess it depends a lot on the
> kind of software ) ??


Yes, Ruby is slower than C most/all of the time, but that doesn't mean you
can't do great things with Ruby.  For example, there are desktop
applications written in Ruby.  Checkout FreeRIDE as an example of what can
be done.

http://freeride.rubyforge.org/

About the possibilities of Ruby, i know Ruby is a generic language, and
> that we can program almost every software in Ruby, but *almost* every
> for example, is it possible to develop a peripheral driver in Ruby ??
> more generally to access the hardware ? to write a linux kernel module
> ?? ( i guess it is not possible to write a ruby OS kernel )


You may want to check out Ruby USB.  It is a Ruby library that wraps libusb.
Michael Hewner presented a session on it at the MountainWest RubyConf (hope
to have video released soon) where he connected to and communicated with USB
devices.  I believe the library he used is found here:

http://www.a-k-r.org/ruby-usb/

There may be more information about Ruby USB on his blog, but it has the
word "fetish" in the domain so I can't view it from work.  :S

http://technofetish.net/buffaloblog/

thank you
>
> ( i'm not a native english speaker, sorry if any mistakes )
>
> --
> Posted via http://www.ruby-forum.com/.
>
>

------art_36709_24310260.1175717656399--