[#14464] who uses Python or Ruby, and for what? — ellard2@...01.fas.harvard.edu (-11,3-3562,3-3076)

A while ago I posted a request for people to share their experiences

12 messages 2001/05/01

[#14555] Ruby as a Mac OS/X scripting language — Dave Thomas <Dave@...>

10 messages 2001/05/02

[#14557] Arggg Bitten by the block var scope feature!!! — Wayne Scott <wscott@...>

13 messages 2001/05/02

[#14598] Re: Arggg Bitten by the block var scope feature!!! — "Conrad Schneiker" <schneik@...>

# On Thu, 3 May 2001, Wayne Scott wrote:

9 messages 2001/05/03

[#14636] Yet another "About private methods" question — Eric Jacoboni <jacoboni@...2.fr>

I'm still trying to figure out the semantics of private methods in Ruby.

39 messages 2001/05/04
[#14656] Re: Yet another "About private methods" question — Dave Thomas <Dave@...> 2001/05/04

Eric Jacoboni <jaco@teaser.fr> writes:

[#14666] Ruby and Web Applications — "Chris Montgomery" <monty@...> 2001/05/04

Greetings from a newbie,

[#14772] Re: Ruby and Web Applications — Jim Freeze <jim@...> 2001/05/07

On Sat, 5 May 2001, Chris Montgomery wrote:

[#14710] Why's Ruby so slow in this case? — Stefan Matthias Aust <sma@3plus4.de>

Sure, Ruby, being interpreted, is slower than a compiled language.

12 messages 2001/05/05

[#14881] Class/Module Information — "John Kaurin" <jkaurin@...>

It is possible to modify the following code to produce

18 messages 2001/05/09

[#15034] Re: calling .inspect on array/hash causes core dump — ts <decoux@...>

>>>>> "A" == Andreas Riedl <viisi@chello.at> writes:

15 messages 2001/05/12

[#15198] Re: Q: GUI framework with direct drawing ca pabilities? — Steve Tuckner <SAT@...>

Would it be a good idea to develop a pure Ruby GUI framework built on top of

13 messages 2001/05/15

[#15234] Pluggable sorting - How would you do it? — "Hal E. Fulton" <hal9000@...>

Hello all,

16 messages 2001/05/16

[#15549] ColdFusion for Ruby — "Michael Dinowitz" <mdinowit@...2000.com>

I don't currently use Ruby. To tell the truth, I have no real reason to. I'd

12 messages 2001/05/22

[#15569] I like ruby-chan ... — Rob Armstrong <rob@...>

Ruby is more human(e) than Python. We already have too many animals :-).

15 messages 2001/05/23

[#15601] How to avoid spelling mistakes of variable names — ndrochak@... (Nick Drochak)

Since Ruby does not require a variable to be declared, do people find

13 messages 2001/05/23

[#15734] java based interpreter and regexes — "Wayne Blair" <wayne.blair@...>

I have been thinking about the java based ruby interpreter project, and I

48 messages 2001/05/25

[#15804] is it possible to dynamically coerce objects types in Ruby? — mirian@... (Mirian Crzig Lennox)

Greetings to all. I am a newcomer to Ruby and I am exploring the

13 messages 2001/05/27
[#15807] Re: is it possible to dynamically coerce objects types in Ruby? — matz@... (Yukihiro Matsumoto) 2001/05/27

Hi,

[#15863] Experimental "in" operator for collections — Stefan Matthias Aust <sma@3plus4.de>

There's one thing where I prefer Python over Ruby. Testing whether an

13 messages 2001/05/28

[#15925] Re: Block arguments vs method arguments — ts <decoux@...>

>>>>> "M" == Mike <mike@lepton.fr> writes:

43 messages 2001/05/29
[#16070] Re: Block arguments vs method arguments — "Hal E. Fulton" <hal9000@...> 2001/05/31

----- Original Message -----

[#16081] Re: Block arguments vs method arguments — Sean Russell <ser@...> 2001/05/31

On Thu, May 31, 2001 at 11:53:17AM +0900, Hal E. Fulton wrote:

[#16088] Re: Block arguments vs method arguments — Dan Moniz <dnm@...> 2001/05/31

At 11:01 PM 5/31/2001 +0900, Sean Russell wrote:

[#15954] new keyword idea: tryreturn, tryturn or done — Juha Pohjalainen <voidjump@...>

Hello everyone!

12 messages 2001/05/29

[ruby-talk:16060] Re: java based interpreter and regexes

From: Glen Starchman <glen@...>
Date: 2001-05-30 23:14:07 UTC
List: ruby-talk #16060
On Wed, 30 May 2001, Stefan Matthias Aust wrote:
> Glen Starchman <glen@enabledventures.com> wrote:
> 
> >After doing some digging and (re) discovering Smalltalk, it seems to me
> >that one option for creating a JVM version of Ruby might be greatly
> >simplified. Turns out that the vast majority of Ruby functionality can
> >be duplicated in Smalltalk.
> 
> That would be definitely an option.  I'd vote for Squeak as it comes
> with full sources, even for the VM.  So you could even modify the VM
> if that should be needed (probably for frozen objects).   The
> semantics of Ruby and Smalltalk are very similar, so a lot of
> internals of the Smalltalk system could be reused.  Especially reusing
> the Squeak GC - which is quite good - would be a great time safer.

What about GNU Smalltalk? Not being a Smalltalk expert I can't verify
its completeness, but so far it seems very robust to me, much moreso
than the GNU SmallEiffel implementation. Plus, of course, you end up
with the complete source. 


> The disadvantage is that you can simply forget the compatibility to
> the existing extension API.  
 
That's the tradeoff that Jython had to make.... You want to use an
existing Python C extension? Rewrite it in Java. Your functionality
isn't supported by Java? Tough luck. I think that using a language
other than Java, preferably one that allows for a closer integration
with the underlying OS (while masking some of the idiosyncracies) is
ideal. Hence my Smalltalk suggestion. 

>The Smalltalk VM is a stand alone
> application which is much more difficult to extend with C code.

Is it? I don't really know, but the manual for GNU Smalltalk has what
appears to be a fairly simple example of extending the JVM and another
for embedding within a host container. Since I don't have the necessary
expertise to evaluate the examples, perhaps someone else would care to
look at it?

 > >Obviously the syntax is radically
> >different, but a smart parser should be able to transate Ruby to
> >Smalltalk, and then use a Smalltalk to JVM compiler. 
> 
> But... The latter doesn't really exist either.  There's bistro, but
> that's more a Java with Smalltalk syntax and I know two companies who
> tried to create a Smalltalk VM simulated on a JVM.
> 

Hm... I have heard of Bistro, but never used it. I was (mistakenly)
under the impression that there were several such products.

> So my suggestion would be to use the Smalltalk VM to actually run
> Ruby.
> 

Not a bad idea at all. And, it literally would only take a matter of
hours to implement the majority of the core Ruby classes. Even I, with
little Smalltalk expertise, managed to get a very rough Smalltalk
implementation of the Ruby Collection class built in a couple of hours. 

Yet, once again we get into the clash with the parser. GNU Smalltalk
comes with a Lisp (and a Prolog!) interpreter that is surprisingly
fast and complete with only a couple hundred lines of code. Obviously
Lisp syntax is radically simplified compared to Ruby, but... 

More food for thought.

In This Thread