The AOS Platform: a future python VM?

Sandy Norton sandskyfly at hotmail.com
Sun Nov 18 16:39:27 CET 2001


Having just recently downloaded an early seed version of David
Simmons' AOS/Smallscript system from http://www.smallscript.com, I
must say I'm very impressed: Mr. Simmons seemed to have built a very
fast virtual machine with a 'quasi-language-independent' architecture
that can handle the overhead and complexity of dynamically typed
languages, and compile straight to highly optimized machine code or to
intermediate bytecode that can run on the .NET platform.

Of more interest to pythonistas is that he has explicitly indicated an
interested in creating a python implementation that utilizes the AOS
virtual machine.

Here's a direct quote from Simmons in a prior posting:

---snip---

http://groups.google.com/groups?q=g:thl1777651169d&hl=en&rnum=2&selm=bq%25F6.22782%24Jh5.22352484%40news1.rdc1.sfba.home.com

> What do you mean by "quasi language independent" -- that it supports
> SmallScript and the "convential" AOS Smalltalk? Will it support python, for
> example?

This 4th generation of the AOS Platform has been developed and tested
for
dynamic (and dynamically typed) languages and is geared as an adaptive
virtual machine jitting model. Specific work has not been done, in
this
generation, for implementing a particular statically typed (compiled)
language. The object model and internal architecture are designed with
such
languages in mind. But, there are areas in the architecture that have
not
been fleshed out and validated. So, it is really wrong to declare it
as a
generic language independent UVM.

As to Python specifically, I want to stress that work is currently
focused
on delivering the .NET, PPC, and x86 platform versions. The
SmallScript
language layer and related general compiler frameworks are basically
completed and have been for some time.

The compiler architecture and SmallScript language design has, from
its
inception, been geared for enabling hi-performance support of a
variety of
Scripting languages. Out of the dirth of scripting languages
available,
Python and PHP are at the top of our well-known candidate list. There
are
parties who have either expressed an interest in or are working on
languages
such as Scheme, JScript, and Basic.

Once the other pieces are in place, more attention will be focused on
work
in Python and PHP. Reality dictates that direct compilation/execution
support for Java and C# are also worthy of serious consideration at
some
stage.

As an aside, the execution performance numbers for
SmallScript/Smalltalk are
directly indicative of the level of performance one could expect for
Python
or PHP on the same platform.

---snip---

With Armin Rigo's uber-cool efforts on Psyco (Python specializing
compiler), the possibility of an AOS/Python implementation, and the
interesting stuff that's being done on Parrot(a common language
runtime for perl and python): the future for python looks extremely
sunny!

Now if only we had a time machine... (-:

regards,

Sandy



More information about the Python-list mailing list