[ruby-talk:00359] Re: thinking aloud

From: Klaus Schilling <Klaus.Schilling@...>
Date: 1999-05-29 12:39:36 UTC
List: ruby-talk #359
GOTO Kentaro writes:
 > Hi, 
 > 
 > In message "[ruby-talk:00357] thinking aloud"
 >     on 99/05/28, "Bryce Dooley" <thecrow@cyberdude.com> writes:
 > >First off, I think Ruby is a very nice scripting language.
 > >And extension writing is pretty nice too :)
 > 
 > Yes, I think so!
 > 
Better than in tcl or perl (unless one munches his way through xs or
swig) anyways.

 > >    1. will there ever be static type checking?
 > >        or is that totally out of scope.
 > 
 > Well, what sort of type-checking do you want, Bryce?  If you want
 > typed variable, I don't agree that.  Because type-free variable is a
 > essential feature of scripting languages, I'm believing.

Some have optional type-safety.
Pike , for example (it is used by a webserver called roxen challenger)
uses type declarations, but it allows `mixed' as run-time scapehole
type, so at the expense of performance and safety, runtime flexibility
is possible to be achieved.
Guile, a scheme variant, offers arrays of uniform type, which also
leads to performance gain in case this is useful.
 
 > 
 > >    2. has anyone considered a java port? (JRuby...?)
 > 
 > Shugo wrote Java interface for Ruby 1.1x. 
 > ftp://ftp.netlab.co.jp/pub/lang/ruby/contrib/java-module-0_5.tar.gz
 > Check it out.  

Does that java interface translate ruby source into java bytecode?
 > 
 > >    3. has 'freezing' or 'compiling' been attempted or
 > >    even being considered in the near future?
 > 
 > You mean something like `dump' of perl?  Such feature was 
 > requested few times, but Matz don't planed to support that. 
 > I think such feature is not bad for MS-Windows.  

What does that have to do with windows?

 > 
 > >    4. is there a 'class browser' or something like that
 > >    available for Ruby?
 > 
 > Maebashi-san's text editor mine-0.0.4 experimentally support it. It is
 > written in Ruby/Tk. Unfortunately, no English document is available. 
 > 
Would it be possible to write one that runs on the unix text console?

Klaus Schilling

In This Thread