[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

What's in YOUR Ruby??? Could Ruby ever be a g.p. dev language?

CodeToad

10/25/2007 8:49:00 PM

Hi Folks,
I just finished my first 40+ hours with plain old Ruby (without rails
for now), and I love this stuff!! Everyone relates it to smalltalk,
and that seems mostly true.

Being a Certified Old Dude (and sometimes a quant-heavy economist), it
does remind me of the pleasurable experience of learning serious
programming tripping along with smalltalk on one end and various lisp
incarnations on the other, circa xerox/parc days. So...

What are you doing with ruby?
What would you *like* to do with ruby?
Do you see ruby as a focal-point or general purpose language?
Has anyone worked with ruby along side c++ ?
Has anyone tryed ruby with Qt4 ?
How about ruby with a big, bad oo-database like Objectivity?

Thanks,
OldCodeToad
TheOldCodeToad att gmaillll.commercial

12 Answers

Robert Dober

10/25/2007 9:54:00 PM

0

On 10/25/07, CodeToad <TheOldCodeToad@gmail.com> wrote:
> Hi Folks,
> I just finished my first 40+ hours with plain old Ruby (without rails
> for now), and I love this stuff!! Everyone relates it to smalltalk,
> and that seems mostly true.
>
> Being a Certified Old Dude (and sometimes a quant-heavy economist), it
> does remind me of the pleasurable experience of learning serious
> programming tripping along with smalltalk on one end and various lisp
> incarnations on the other, circa xerox/parc days. So...
>
> What are you doing with ruby?
lots of metaprogramming, text processing, ssh and telnet clients, Webservers
DSL, XML parsing and even OLE for Word document creation and Excel parsing.
And yes of course mission critical SW for a spacecraft ;)
> or general purpose language?
GP
> Has anyone worked with ruby along side c++ ?
nope :)
> Has anyone tryed ruby with Qt4 ?
nope :))
> How about ruby with a big, bad oo-database like Objectivity?
no idea
>
> Thanks,
> OldCodeToad
> TheOldCodeToad att gmaillll.commercial
R.
--
what do I think about Ruby?
http://ruby-smalltalk.blo...

M. Edward (Ed) Borasky

10/26/2007 5:18:00 AM

0

CodeToad wrote:
> Hi Folks,
> I just finished my first 40+ hours with plain old Ruby (without rails
> for now), and I love this stuff!! Everyone relates it to smalltalk,
> and that seems mostly true.
>
> Being a Certified Old Dude (and sometimes a quant-heavy economist), it
> does remind me of the pleasurable experience of learning serious
> programming tripping along with smalltalk on one end and various lisp
> incarnations on the other, circa xerox/parc days. So...
>
> What are you doing with ruby?

Pretty much anything I can. At the moment I'm seeing how tightly I can
tweak the interpreter using "standard" Gnu/Linux tricks.

> What would you *like* to do with ruby?

The "big bad project" is something called RAMEAU
(http://cougar.rubyforge.org/svn/trunk/Rameau/...), which is
really more like a Linux distro than a Ruby project, although all of the
infrastructure above the (Gentoo) Linux level is in Ruby. But I have
some smaller things I want to do as well.

What I tend to do is pick the "native language" for any given project.
So when I work in algorithmic composition, I tend to do it in Lisp, even
though the sort of things I do would work in almost any language. That's
because I can hack on existing Lisp code like AthenaCL and Common Music.
When I do something numeric/statistical, I do it in R, and when I do
scripting/DSL/etc., I do it in Ruby.

> Do you see ruby as a focal-point or general purpose language?

It's general purpose in the sense that it's a good combination of the
best parts of Perl and Java. But it's not general purpose in the same
sense as C or C++ -- yet. :)

> Has anyone worked with ruby along side c++ ?

There are plenty of interfaces to C++ code in Ruby -- most of the major
C++ open source libraries have Ruby bindings, for example.

> Has anyone tryed ruby with Qt4 ?

There is an excellent Ruby library/binding for both Qt3 and Qt4.

> How about ruby with a big, bad oo-database like Objectivity?

Never heard of it.
>
> Thanks,
> OldCodeToad
> TheOldCodeToad att gmaillll.commercial
>
>
>


David A. Black

10/26/2007 12:30:00 PM

0

Jörg W Mittag

10/26/2007 4:07:00 PM

0

M. Edward (Ed) Borasky wrote:
> CodeToad wrote:
>> Hi Folks,
>> I just finished my first 40+ hours with plain old Ruby (without rails
>> for now), and I love this stuff!! Everyone relates it to smalltalk,
>> and that seems mostly true.
>>
>> Being a Certified Old Dude (and sometimes a quant-heavy economist), it
>> does remind me of the pleasurable experience of learning serious
>> programming tripping along with smalltalk on one end and various lisp
>> incarnations on the other, circa xerox/parc days. So...
[...]
>> How about ruby with a big, bad oo-database like Objectivity?
> Never heard of it.

GemStone is going to port their kick-ass distributed, clustered,
transparent, orthogonal, object-persistance layer / object database
GemStone/S from Smalltalk to Rubinius (GemStone/R, anyone?), once
Rubinius hits 1.0 (December this year). That's looking to be *very*
interesting: <http://www.gemstone.com/products/smal...

jwm

John Carter

10/29/2007 3:34:00 AM

0

M. Edward (Ed) Borasky

10/29/2007 3:41:00 AM

0

John Carter wrote:
> Haven't tried, but just on general principles I do Lots of data
> mining. But I don't use databases.
>
> Databases are vastly complicated by the need to handle updates,
> insertes, deletes and transactions.
>
> For data mining working with a flat file snapshot can be a 100 times
> faster!

I haven't found that to be the case for the kind of data mining I do.
Ruby, Perl, etc. are great for extracting the data into something like
CSV format, but once you've got a CSV, or a bunch of CSVs, it's a lot
faster to copy them into a database (PostgreSQL COPY is your friend --
INSERT is *way* too slow), index them and just throw queries at them.


Terry Poulin

10/29/2007 4:06:00 AM

0

>> What are you doing with ruby?

Having fun :-)

>> What would you *like* to do with ruby?

Write a UNIX shell that works under Winsucks and can be used as a full login
shell under BSD/Linux/Unix -> I was toying with this awhile back but lost time
to finish the basics.

Also as 'just for funs' I would like to write a (semi-toy) operating system
using Ruby and X86 Assembly / C (ISO/IEC 9899:1999). That takes POSIX into
consideration but provides a Ruby focused design. For the simple reason that I
would like to learn more about such things and I rather enjoy Ruby since I
don't like having to deal with some things in C

>> Do you see ruby as a focal-point or general purpose language?

Ruby is very useful for just about any thing


>> Has anyone worked with ruby along side c++ ?

Only if you count using QT/C++ Documentation for wqorking with QTRuby.

I generally use Ruby because I don't like C++ :-P

>> How about ruby with a big, bad oo-database like Objectivity?

Interesting idea...


TerryP.


--

Email and shopping with the feelgood factor!
55% of income to good causes. http://www.ip...


Marc Heiler

10/29/2007 1:13:00 PM

0

"What are you doing with ruby?"
Everything. Its my language for all tasks and I just laugh into the face
of anyone telling people to use the best tool for a given job (though I
_partially_ agree if speed is a big concern ... ) ;)

"What would you *like* to do with ruby?"
An OS with much more ruby and objects instead of ugly C, shell scripts
and perl everywhere all over the place. A gimp-like image manipulation
program in ruby. Audio Generation via objects/piping. A way to easily
use ruby similar to how .php was used (and gained popularity despite
being a bad language). Recommend it to other people and for this have
much better online docs.
Use ruby much more for creating game content (as "scripting language").
Hmm i think i forgot a lot of stuff... well my todo list is full with
things...

"Do you see ruby as a focal-point or general purpose language?"
General purpose. But in some areas it could need a little specialized
purpose attention IMHO ... ;)

"Has anyone worked with ruby along side c++ ?"
Not me. A bit C+Ruby but C is so incredibly boring ...

"Has anyone tryed ruby with Qt4 ?"
Yes, Qt4 does IMHO look even better than gtk, but I am too lazy to
scrape
together all info about qt4. They need a wiki, I keep on telling them
this,
but as long as they dont have a wiki i just recommend people to use
ruby-gtk.
(Btw just so that there is no misunderstanding, the guy behind ruby-qt
is very
nice, friendly and helpful.)

"How about ruby with a big, bad oo-database like Objectivity?"
Dunno... never had a need for a huge database anyway. Just some sqlite
but
for my stuff, generating yaml is just fine... (But on my todo list is
a database
--
Posted via http://www.ruby-....

Robert Dober

10/29/2007 1:28:00 PM

0

On 10/29/07, Marc Heiler <shevegen@linuxmail.org> wrote:
> "What are you doing with ruby?"
> Everything. Its my language for all tasks and I just laugh into the face
> of anyone telling people to use the best tool for a given job
you are wrong, because you *are* using the best tool for a given job;
not your fault that it's always named ruby :)
<snip>
Robert
--
what do I think about Ruby?
http://ruby-smalltalk.blo...

Dido Sevilla

10/30/2007 5:44:00 AM

0

On 10/26/07, CodeToad <TheOldCodeToad@gmail.com> wrote:> What are you doing with ruby?Web stuff, with Rails, distributed programming, 9P2000/Styx workinteroperating with Plan 9 and Inferno, network monitoring,telecommunications applications.> What would you *like* to do with ruby?Everything else I currently still do with PHP and C.> Do you see ruby as a focal-point or general purpose language?General purpose. In my experience, it's a language that combines thebest of both Perl and Lisp in an elegant package.-- ??????????????????????????????????????????????????!http://stormwyrm.bl...