Hello Peter, hello List,


Slightly OT: Does Python ship with a JIT or JIT option?

Personally I always wondered why interpreted languages dont ship with any kind of JIT.
 From a newbies point of view I understood this, before you mentioned the JIT, like the idea to take the ruby language and put it onto a very fast, general purpose VM, instead of using its own interpreter, which might be great but maybe not so fast.
If that's the point, then its a great thing - as long as security and features are kept more speed is always better.

Peter Suk wrote:
 > [...]
> 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.
 > [...]
> 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.
>
> 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.
 > [...]

--
ionas
Yes, I am a newbie.