Why just stop at scripting, a whole Ruby OS is what we really need.  That
would be big fun!

Ralph
----- Original Message -----
From: "Dave Thomas" <Dave / PragmaticProgrammer.com>
To: "ruby-talk ML" <ruby-talk / ruby-lang.org>
Sent: Saturday, December 01, 2001 3:15 AM
Subject: [ruby-talk:27066] Musing


>
> Say a PDA such as this:
>
>    http://www.sharpplace.com/product.asp?sku=1865193
>
> came with Ruby, but not just as a standalone application.
>
> Instead, that Ruby is used as the overall scripting language, much
> as VBA is on Windows boxes. The PIM, e-mail, browser all support Ruby,
> using a consistent object model.
>
>   Inbox.add_observer(:mail_arriving) do
>     Display.popup "New mail"
>   end
>
> or
>
>   SMS.add_observer(:sms_msg) do |msg|
>     from = msg.sender
>     entry = Address.find(from)
>     if entry
>       Browser.new_frame(entry.homepage)
>       from = entry.first_name
>     end
>     Display.popup("SMS from #{from}")
>   end
>
> Why use Java for scripting a device like this? Ruby seems far more
> natural. How would we make this happen?
>
>
> Dave
>
>
>
>
>