Ruby for my new business?

Jeff,
Thanks, I will read it tonite when I get home. Without having read it,
though, I can say that I still think of things as Categories in
prototype-based languages. For instance, in Io, a create a 'class' with:

Dog = Object clone
Dog speak := method(write("bark"))

And then I create individual dogs with:

fido = Dog clone
spot = Dog clone

spot speak
fido speak

My point is that I still use the objects as if there were categories and
classes of things (eg, you will still find a Button 'class') but that there
are no differences between classes and instances as far as the language is
concerned. But I am sure the author of the paper means something more
profound.

Thanks again,
Jared Nuzzolillo

···

On 8/16/05, Brian Mitchell <binary42@gmail.com> wrote:

On 8/16/05, Jeffrey Moss <jeff@opendbms.com> wrote:
> > ...but I still feel that prototype-based languages have a certain
> > conceptual elegance that is lacking in class-based alternatives.
>
> It's interesting the part western philosophy played in language design,
I
> tend to agree with you about the conceptual nature of class vs prototype
> inheritance, but class based inheritance is easier for me to use, easier
to
> lay out in my mind.
>
> Here's an interesting read on the subject:
> http://www.helsinki.fi/~jppesone/papers/kandi.html
>
> Summary:
> From an ontological point of view the prototype-based languages win.
There
> is little evidence of a strange platonic realm of categories, but
> class-based languages don't necessarily have to be realist in their
> ontology - a language can include universals and "Santa Claus" without
> committing to realism (von Wrigth 1972, 198). Unless the prototype-based
> languages include some notion of categories they lack something
> psychologically very important: the capacity of categorization.
>
> -Jeff

Very interesting. Thanks for the link. This is all ironic right now as
I am currently working on implementing a complete Ruby environment
inside/using Io. It has been interesting on how easy it was to lay the
class based design of Ruby over the prototype based Io. I am not quite
done solidifying the final translation between the two but when I get
further I will throw the code up for consumption.

Sometimes all we need is an initial pattern to help prime the mind.
Then we can go on to clone or copy that pattern into classes or
prototypes.

Brian.

James McCarthy wrote:

I still think remote work is much better.
It's cheaper, you have a far larger pool of telent (the whole world)

Telent? Is that talent that works via telnet?

:slight_smile:

James

···

--

http://www.ruby-doc.org - The Ruby Documentation Site
http://www.rubyxml.com - News, Articles, and Listings for Ruby & XML
http://www.rubystuff.com - The Ruby Store for Ruby Stuff
http://www.jamesbritt.com - Playing with Better Toys

Brian Mitchell schrieb:

Very interesting. Thanks for the link. This is all ironic right now as
I am currently working on implementing a complete Ruby environment
inside/using Io. It has been interesting on how easy it was to lay the
class based design of Ruby over the prototype based Io. I am not quite
done solidifying the final translation between the two but when I get
further I will throw the code up for consumption.

Since I'm interested in both languages, too, could you describe in a few more words what you are doing and what you want to achieve with that? In any case I'm looking forward to your code.

Regards,
Pit

Welcome to the fold my friend. We also made the same decision.

···

--
~~~~~~~~~~~~~~~~~~~
D'Andrew Thompson
http://dathompson.blogspot.com

On 8/22/05, Sy <sy1234@gmail.com> wrote:

On 8/22/05, Jared Nuzzolillo <onceuponapriori@gmail.com> wrote:
> Well, I discussed it with my partners. We are going to use Ruby and Ruby on
> Rails as our primary programming platform! I appreciate all of your advice
> and encouragement; I may have made a poor decision otherwise!

Good to hear!

Btw, part of my enthusiasm with joining a new company has been that
they love Ruby and want to use it as often as they can.

Sure. I am currently implementing Ruby's built-in's as primitives
using pure Io. That is a big task. You never realize how many methods
some of these classes have until you try to write them all... :slight_smile:

My goal is to have a working upper level language. That is, I want to
support all of Ruby's built-ins that way pure ruby that uses only
those should work. At a future time, if there enough volunteers to
help out, I would like to see if I could shim the ruby C API onto Io
but at this point I am not even going to consider it. So far the two
large chunks are built-ins and a parser (ideas pending on replacing
the Io parser anyway). Small notes include the fact that Io does
asymmetric coroutines but not continuations. I will have to find a way
to get callcc to work. Io is similar in the fact that numbers are
represented directly using what would be a reference but they are all
doubles. I would need to build a Fixnum->Bignum system for Ruby.

Right now Ruby refers to the 1.8 branch "spec", but I think I will
swap over to trying to match the 2 spec once I am farther along.

The reason for starting this is really not just one reason. Here are a few:

1) So I can tightly integrate my Io and Ruby code. Two very nice languages.
2) So I can learn more about Ruby.
3) An alternative implementation of Ruby would be nice (Ruby needs a
good external spec still.... source code only goes so far.)
4) Io's VM is extremely clean and well written. Customization and
experimentation should be much easier. (I've always wanted to
experiment with ruby but some of the code is hard to grasp).
5) I think Io is better for hosting languages than writing in Io
itself. This makes the language great for DSLs More so than ruby. I am
more productive in ruby (library would be part of the reason). With
the combination of the two I get quite a few neat things.
6) Interactive and dynamic interpreter/VM. Io is much more friendly at
runtime than C. I can imagine a lot of creativity can be found here.
7) Io is fast right now. That is with out any real optimization
technique. Using the right code I can auto-refactor Ruby code to run
faster than the current non-yarv VM (guess).
8) Io has plans for a plug-able VM. Micro is a small project that uses
GNU Lightning to get this done.

(Those last ones are a bit of a stretch but I threw them in for a good
measure of insanity.)

All in all, I am serious about this project for at least number 2. I
look forward to Rubyconf this year where I hopefully can show some of
this stuff between presentations.

Brian.

···

On 8/17/05, Pit Capitain <pit@capitain.de> wrote:

Brian Mitchell schrieb:
> Very interesting. Thanks for the link. This is all ironic right now as
> I am currently working on implementing a complete Ruby environment
> inside/using Io. It has been interesting on how easy it was to lay the
> class based design of Ruby over the prototype based Io. I am not quite
> done solidifying the final translation between the two but when I get
> further I will throw the code up for consumption.

Since I'm interested in both languages, too, could you describe in a few
more words what you are doing and what you want to achieve with that? In
any case I'm looking forward to your code.

What's Io?

Julian.

···

On 17/08/2005, at 7:40 PM, Pit Capitain wrote:

Brian Mitchell schrieb:

Very interesting. Thanks for the link. This is all ironic right now as
I am currently working on implementing a complete Ruby environment
inside/using Io. It has been interesting on how easy it was to lay the
class based design of Ruby over the prototype based Io. I am not quite
done solidifying the final translation between the two but when I get
further I will throw the code up for consumption.

Since I'm interested in both languages, too, could you describe in a few more words what you are doing and what you want to achieve with that? In any case I'm looking forward to your code.

Regards,
Pit

Okay! So who's starting a business in Des Moines, Iowa that's using
Ruby on Rails!? Anyone? Hello?

Oh, that's right, it's just me and the scarecrows.

Seriously though, congratulations. I'm sure you have the envy of
several people on this list.

···

On 8/23/05, D'Andrew Thompson <dandrew.thompson@gmail.com> wrote:

Welcome to the fold my friend. We also made the same decision.

--
~~~~~~~~~~~~~~~~~~~
D'Andrew Thompson
http://dathompson.blogspot.com

On 8/22/05, Sy <sy1234@gmail.com> wrote:
> On 8/22/05, Jared Nuzzolillo <onceuponapriori@gmail.com> wrote:
> > Well, I discussed it with my partners. We are going to use Ruby and Ruby on
> > Rails as our primary programming platform! I appreciate all of your advice
> > and encouragement; I may have made a poor decision otherwise!
>
> Good to hear!
>
> Btw, part of my enthusiasm with joining a new company has been that
> they love Ruby and want to use it as often as they can.
>
>

--
Brock Weaver
[OBC]Technique

Brian Mitchell schrieb:

···

On 8/17/05, Pit Capitain <pit@capitain.de> wrote:

Brian Mitchell schrieb:

Very interesting. Thanks for the link. This is all ironic right now as
I am currently working on implementing a complete Ruby environment
inside/using Io. It has been interesting on how easy it was to lay the
class based design of Ruby over the prototype based Io. I am not quite
done solidifying the final translation between the two but when I get
further I will throw the code up for consumption.

Since I'm interested in both languages, too, could you describe in a few
more words what you are doing and what you want to achieve with that? In
any case I'm looking forward to your code.

Sure. I am currently implementing Ruby's built-in's as primitives
using pure Io. That is a big task. You never realize how many methods
some of these classes have until you try to write them all... :slight_smile:
...

Brian, thanks for your detailed answer. This is a big task indeed, reminding me of the Pugs project. Though I find this really interesting, I think that in the next couple of months I won't be able to help.

Good luck and keep us informed from time to time.

Regards,
Pit

http://www.iolanguage.com/about/

Jim

···

On 8/21/05, Julian Leviston <julian@coretech.net.au> wrote:

What's Io?

--
Jim Menard, jim.menard@gmail.com
http://www.io.com/~jimm

Thanks. I will be setting up a website and blog finally... so I may
have something in a week or two for people to chew on (don't expect
much yet).

Brian.

···

On 8/17/05, Pit Capitain <pit@capitain.de> wrote:

Brian Mitchell schrieb:
> On 8/17/05, Pit Capitain <pit@capitain.de> wrote:
>
>>Brian Mitchell schrieb:
>>
>>>Very interesting. Thanks for the link. This is all ironic right now as
>>>I am currently working on implementing a complete Ruby environment
>>>inside/using Io. It has been interesting on how easy it was to lay the
>>>class based design of Ruby over the prototype based Io. I am not quite
>>>done solidifying the final translation between the two but when I get
>>>further I will throw the code up for consumption.
>>
>>Since I'm interested in both languages, too, could you describe in a few
>>more words what you are doing and what you want to achieve with that? In
>>any case I'm looking forward to your code.
>
> Sure. I am currently implementing Ruby's built-in's as primitives
> using pure Io. That is a big task. You never realize how many methods
> some of these classes have until you try to write them all... :slight_smile:
> ...

Brian, thanks for your detailed answer. This is a big task indeed,
reminding me of the Pugs project. Though I find this really interesting,
I think that in the next couple of months I won't be able to help.

Good luck and keep us informed from time to time.