[#17198] enhancing Ruby error messages for out of the bound constant Fixnum? — Guillaume Cottenceau <gc@...>

Hi,

11 messages 2001/07/03

[#17206] /* */ comments — Dave Thomas <Dave@...>

43 messages 2001/07/04
[#17207] Re: /* */ comments — Stephen White <spwhite@...> 2001/07/04

On Wed, 4 Jul 2001, Dave Thomas wrote:

[#17251] Re: /* */ comments — Sean Chittenden <sean-ruby-talk@...> 2001/07/04

> Over on http://www.rubygarden.org, dv posted a patch to parse.y that

[#17268] Re: /* */ comments — matz@... (Yukihiro Matsumoto) 2001/07/05

Hi,

[#17212] Ruby 1.6.4 Win32 .exe installer question — A Bull in the China Shop of Life <feoh@...>

Folks;

11 messages 2001/07/04

[#17225] Re: /* */ comments — Arnaud Meuret <ameuret@...4you.com>

|From: Mark Slagell [mailto:ms@iastate.edu]

17 messages 2001/07/04

[#17240] Ruby Mascot/logo — "Kevin Powick" <kpowick@...>

Hi there.

14 messages 2001/07/04

[#17281] Inheritance — "Aleksei Guzev" <aleksei.guzev@...>

15 messages 2001/07/05
[#17282] Re: Inheritance — ts <decoux@...> 2001/07/05

>>>>> "A" == Aleksei Guzev <aleksei.guzev@bigfoot.com> writes:

[#17348] Adding a method to a class at the top-level — Guillaume Cottenceau <gc@...>

Comrades,

14 messages 2001/07/05

[#17482] Aliases for class methods — "HarryO" <harryo@...>

Say I wanted to write my own version of File#open that adds some

23 messages 2001/07/08

[#17511] Ruby on Slashdot — jweirich@...

Ruby is currently mentioned on Slashdot. I posted some references.

29 messages 2001/07/08
[#17512] Re: Ruby on Slashdot — Tobias Reif <tobiasreif@...> 2001/07/08

Interesting...

[#17518] Re: Ruby on Slashdot — matz@... (Yukihiro Matsumoto) 2001/07/09

Hi,

[#17519] Re: Ruby on Slashdot — "James (ruby-talk)" <ruby@...> 2001/07/09

> |I thought about that too; what about Ruby being a standard?

[#17525] Re: Ruby on Slashdot — matz@... (Yukihiro Matsumoto) 2001/07/09

Hi,

[#17536] Re: Ruby on Slashdot — David Alan Black <dblack@...> 2001/07/09

Hello --

[#17572] Re: Constants and Variables — "HarryO" <harryo@...>

> If you want objects that don't change, try Object#freeze,

25 messages 2001/07/10

[#17732] Re: Array#sort! returns nil when array empty — hfulton@...

> Array#sort! returns nil if the array is empty, whereas ri

32 messages 2001/07/12
[#17736] Re: Array#sort! returns nil when array empty — Paul Brannan <pbrannan@...> 2001/07/12

On Fri, 13 Jul 2001 hfulton@pop-server.austin.rr.com wrote:

[#17739] Re: Array#sort! returns nil when array empty — ts <decoux@...> 2001/07/12

>>>>> "P" == Paul Brannan <pbrannan@atdesk.com> writes:

[#17746] Re: Array#sort! returns nil when array empty — Paul Brannan <pbrannan@...> 2001/07/12

On Fri, 13 Jul 2001, ts wrote:

[#17747] What is Array#- ? — Jim Freeze <jim@...> 2001/07/12

While following the Array thread, I noticed the minus

[#17752] Re: What is Array#- ? — Dave Thomas <Dave@...> 2001/07/12

Jim Freeze <jim@freeze.org> writes:

[#17753] Re: What is Array#- ? — Jim Freeze <jim@...> 2001/07/12

On Fri, 13 Jul 2001, Dave Thomas wrote:

[#17833] Extending objects — "Aleksei Guzev" <aleksei.guzev@...>

16 messages 2001/07/14
[#17834] Ruby-newbie seeks help with Rubywin starting IRB — "Euan Mee" <lucid@...> 2001/07/14

Once I fire up Rubywin, and then invoke _R_uby _I_rb from the

[#17839] Re: Ruby-newbie seeks help with Rubywin starting IRB — A Bull in the China Shop of Life <feoh@...> 2001/07/14

At 07:05 PM 7/14/01 +0900, Euan Mee spewed forth:

[#17859] Re: Creating methods on the fly — "HarryO" <harryo@...>

I

18 messages 2001/07/15

[#17925] Movement in scripting language communities to integrate XML-RPC — gsemones@... (Guerry Semones)

Greetings,

20 messages 2001/07/16
[#17934] Re: Movement in scripting language communities to integrate XML-RPC — Tobias Reif <tobiasreif@...> 2001/07/16

"out of the box" by including

[#18018] Broadcasting data — "HarryO" <harryo@...>

Does someone have an example of broadcasting data around a network using

12 messages 2001/07/18

[#18023] [ANN] libxslt Rubified! — Wai-Sun Chia <waisun.chia@...>

Hello,

16 messages 2001/07/18
[#18024] Re: [ANN] libxslt Rubified! — TAKAHASHI Masayoshi <maki@...> 2001/07/18

Wai-Sun Chia <waisun.chia@compaq.com> wrote:

[#18100] Looking for Ruby programming exercises — Wayne Vucenic <wvucenic@...> 2001/07/19

I've been learning Ruby, mostly with the Pickaxe book, and it's going

[#18188] Newbie. Sinking fast. Please help. — Matt <matt@...>

I bought Programming Ruby a number of months back and finally have an opportunity to try out Ruby. However, I can't get it to build. Actually, that's not quite accurate. It builds fine. It won't pass 'make test'.

12 messages 2001/07/20

[#18193] Re: 99 bottles of beer — "Dat Nguyen" <thucdat@...>

18 messages 2001/07/20
[#18204] Re: 99 bottles of beer — Glen Starchman <glen@...> 2001/07/20

99.downto(0){|x|w=" on the wall";u="#{x!=0?eval(x.to_s):'no more'}

[#18306] Ruby as opposed to Python? — "Mark Nenadov" <mnenadov@...>

Hello. I have toyed with the idea of trying Ruby out for some time now.

118 messages 2001/07/22
[#18759] Re: Ruby as opposed to Python? — Paul Prescod <paulp@...> 2001/07/29

Yukihiro Matsumoto wrote:

[#18774] Re: Ruby as opposed to Python? — "Florian G. Pflug" <fgp@...> 2001/07/30

On Mon, Jul 30, 2001 at 05:58:22AM +0900, Paul Prescod wrote:

[#18393] Trouble Using FXRuby on cygwin/Windows NT — rgilbert1@... (Robbie Gilbert)

Hi,

10 messages 2001/07/23

[#18566] Which database should I use? — Urban Hafner <the-master-of-bass@...>

Hello everybody,

17 messages 2001/07/26
[#18575] Re: Which database should I use? — Urban Hafner <the-master-of-bass@...> 2001/07/26

[#18582] Re: Which database should I use? — Michael Neumann <neumann@...> 2001/07/26

Urban Hafner wrote:

[ruby-talk:18487] Re: Ruby vs. Objective Caml

From: "MikkelFJ" <mikkelj-anti-spam@...1.dknet.dk>
Date: 2001-07-25 00:53:31 UTC
List: ruby-talk #18487
"Todd Gillespie" <toddg@linux127.ma.utexas.edu> wrote in message
news:9jkqck$m74$1@geraldo.cc.utexas.edu...
> Steve Tuckner <SAT@multitech.com> wrote:
> : I was recently introduced to Objective Caml ( http://www.ocaml.org
> : <http://www.ocaml.org> ) but haven't had the time to understand it yet.

I thought I had already posted - I was just about to post a request on Ruby
vs. OCaml.

At the great shootout editorial, you'll find OCaml, then Ruby mentioned:

http://www.bagley.org/~doug/shootout/editorial.shtml (what should I do
without Google :)

> : * Its very fast - many times it is as fast as straight C (I think speed
is a
....
> Can you back this one up?  It is true that pure functionals allow for some
Since I just did my research:
It has a rather fast bytecode, and on many platforms there a native pipeline
optimized assembler. But there is, of course, more to speed than that.

> : * It is a functional language and thus the programs written in it are
more
> : possible to prove correct
What really matters here, is whether the tools for doing that is readily
available. For practical purposes this is therefore irrelevant, for
theoretical purposes, Haskell is probably a better choice.

> This is true.  But pure functionals (Haskell in particular) can be
> notoriously difficult to use with foreign data, as integrating with the
> type system can be troublesome.

Actually OCaml has a very clean C language interface _linker_. It goes both
ways, and certainly is cleaner than the Ruby approach - despite the Ruby API
is cleaner than most other interfaces.
OCaml also has COM intergration, although I can say how well that is.

> : * It is interpreted so it can be easily run everywhere

Or compiled - whatever you choose. Very flexible runtime.

> : * With object extensions, it can do all the things that object languages
can
> : do

Yes, but is it really better. How does it manage large projects. How does
the includes work? How well does this integrate with the functional
programming?
I certainly do like the object approach.

I'm looking hard for something more powerful than C++.
Ruby is a hard contender, also in expressiveness, although Haskell and the
likes are hart to beat. Not sure about OCaml though. Haskell with lazy
evaluation has some supernatural features I'm not sure that I'm prepared for
yet. It *knows* all prime numbers in the world. It least it does after two
lines of code.

> This may be true, but one of the pleasing things about Ruby is its
> clean object syntax.  Extensions onto a language tend not to be as clean.

Oh yes - many of the examples I were looking it kept me wondering - but that
would have been at least as easy in Ruby. I guess the not-easily understood
higherlevel functions and functor stuff is where you really see the
difference. But then Ruby also has something similar - but I reckon that
part of Ruby is not nearly as clean as the equivalent functional languages.
I may be wrong.

> You have an interesting omission -- the ML type system, which is IMOH, the
> most valuable thing about the ML family.  It's a sophisticated static type
> system that infers all types -- no type declarations.  As this is
> traditionally what draws people to the MLs, you should look into it.

It's strange but I like strong typing, and I like weak typing. Strong typing
often prevents you from doing things, or if you get to do them, you loose
flexibility or typesafety (say Java / C++). A language that gives me
typesafety without the effort and gives me real expressive power is most
welcome (if it is also fast in runtime).

> : Downsides? I don't know enough about it to know. One may be that it is
> : difficult to learn but that may just be my ignorance of the functional
> : programming paradigm.

Downside: there are other languages that could possibly be more expressive,
and the support lib may be to small by comparison.

Other languages I just went over this evening: Clean, Erlang, Haskell.
Erlang is a giant to install. You don't compile it into your C++ app for
certain. But might be very strong serverside. Clean - just started look at
it. They claim to be on par with C in performance.

> : My question to the list is: Are object-oriented functional languages the
> : future instead of Ruby?

With the added computing power, combined with much improved compiler
technology may well make the change. But Ruby is not far from these
languages.

If you took a look at my interfaces? post recently, I had a case expression
based on the type of a list member. Functional programming has a lot of
cases, called guards and referred to as pattern matching. You do not need to
write an awful lot more code than these functional languages to do similar
things in Ruby. Ruby has pattern matching for strings, this could be
extended to datatypes. What about regular type expressions on arrays?

The greatest disadvantage of Ruby vs. functional programming is that Matz do
not have enough hours in the day to write an optimized compiler that will
implement functional style efficiently. He may also not have the necessary
skills since optimized functional compilers are the fruits of years of
advanced research.

I think overall, Ruby is one of the best languages around even if it is not
as powerful as some. But OCaml seem to have better compiler / runtime
capabilities, which really matters a lot in software development. But just
improved runtime performance of Ruby as it is, combined with faster XML
processing, and you have a strong server platform.
However, for the time being, Ruby lives in the realms of scripting languages
where it could be so much more.

But what is it with these Lisp macros?

Mikkel

language comparison links
http://starbase.neosoft.com/~claird/comp.lang.misc/language_comparisons.html




In This Thread