Hello Peter,
> to the class being displayed. The effect is basically an
> "irb-anywhere" which you can arbitrarily interleave with any number of
So it can crash anywhere SCNR.
In general this sort of thing doesn't crash under Smalltalk. In fact, the debugger is just a normal application doing a few funky things with Processes. It's just a browser for the reified context stack. In fact, you can write your own feature-poor, but working debugger in Smalltalk and have it running in a matter or minutes.
Yes maybe its possible to transfer part of the language (all?) into an
smalltalk VM.
Not what I'm trying to do. The Smalltalk VM has basically *none* of the *language* in it.
But you can never get all the binary extensions to work,
Why not? There are plenty of binary extensions to the various Smalltalks. They are designed to make it easy to build in binary extensions.
an emulation layer would kill all your speed benefits if possible
at all. So maybe you should simply announce a ruby branch called SmallRuby,
since this would not have so much todo with the current ruby anymore.
You missed something in my previous posts, or do not have some pieces of background concerning how Smalltalk works. There is no emulation going on, except stepping during debugging, and that happens at the level of the bytecodes so all VM/Object semantics are preserved. Ruby will be running on top of a Just-In-Time compiler, translating the bytecodes into native machine instructions. The VisualWorks JIT has been in development since 1989, so is one of the most mature JIT interpreters around. Its speed rivals Hotspot in real-world situations where GC is significant. Object allocation will be native -- Objects will just be Objects to the VM/garbage collector, with the Ruby/Smalltalk implementation language being moot.
But i'm courious whats your result in the next years.
Is this your Ph.D thesis ?
No. I want to make the world safe for Pure-OO. A way I can help Pure-OO development is to vastly increase the power of the Ruby community by giving it access to the great technology developed for Smalltalk.
Other things that putting Ruby on top of Smalltalk VMs could garner for the Ruby community:
The Smalltalk MT environment can produce native Windows DLLs that are indistinguishable from C++ DLLs. We would theoretically be able to do the same for Ruby when we can host Ruby on that VM. There could be a Gemstone Ruby -- with a name like that there *should* be -- giving the community access to a great OODB. There is also a fast Smalltalk VM for .NET which could be used for Ruby. If we can overcome the lack of real Namespaces in Squeak, then we'd have a Ruby VM that runs completely bit-identical on 32 platforms.
Also, I'd like to do automated syntax + type-inference Ruby <--> Smalltalk translations so that Ruby can benefit from the wealth of great stuff done in Smalltalk, and Smalltalkers can be invigorated by contact with a larger, very active community.
--Peter
···
On Apr 7, 2005, at 4:32 PM, Lothar Scholz wrote:
--
There's neither heaven nor hell, save what we grant ourselves.
There's neither fairness nor justice, save what we grant each other.