Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

(ichimunki) Re: One more perl programmer's take on Ruby (discussion)

by ichimunki (Priest)
on Nov 18, 2001 at 04:40 UTC ( [id://126064]=note: print w/replies, xml ) Need Help??


in reply to One more perl programmer's take on Ruby (discussion)

What inquiring minds want to know about Ruby in order to compare it to Perl (and really, these things in my mind set Perl apart from a LOT of other potential programming languages): does it work as well on Windows as it does on Linux and many Unix systems? Does it also then have a cross-platform GUI toolkit?

One of the things that absolutely thrills me about Perl is the fact that with the exception of some fancy process management issues and certain filesystem specific things, a HUGE quantity of code is truly cross-platform-- especially nice when considering the Tk module. I realize that Tk probably hasn't been ported nearly as many places as Perl itself, but it is nice to have most x86 systems being able to pick up a client and work with it. And Linux capable PPC too.

Not that I'm trying to hammer on Ruby, just curious. Especially since I gather it has a "cleaner" OO model, which could be quite valuable in the realm of GUI scripting (especially if you want to get into compound widgets and stuff).
  • Comment on (ichimunki) Re: One more perl programmer's take on Ruby (discussion)

Replies are listed 'Best First'.
(ichimunki) Re x 2: One more perl programmer's take on Ruby (discussion)
by ichimunki (Priest) on Nov 19, 2001 at 22:59 UTC
    {In a blatant attempt to gain XP} I will answer my own questions, having taken a 30 minute peek at Ruby and running a Hello, World! or two.

    1) Ruby works on Windows-- the install is painless and includes Tk (better than ActivePerl, which requires additional work to get Tk). As with all claims to cross-platform functionality, this must be taken with a grain of salt. But I see no reason to consider it a better or worse language than others in this regard.

    2) The Tk module. This is included in the binary installer for Windows-- and the example Hello World from the Tk chapter of the docs worked without a hitch. I assume it is similarly easy to crank this up on Linux.

    3) The OO model looks insanely cool. While getting the basics of OO from Perl (with massive help from merlyn's perlboot), I get the sense that Perl 5.x.x has a rather cobbled together OO system (compared to what OO purists would like from an OO system, that is).

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://126064]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others meditating upon the Monastery: (4)
As of 2024-04-19 11:30 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found