On Mar 4, 2011, at 4:29 PM, Dimitry Golubovsky wrote:
> 
> Well the original discussion on the Squeak ML declined into the OLPC
> issues (back to Intel that is ;)
> 
> Let's continue here.
> 
> Thanks for the hints, I looked into these projects, but:
> 
> Potato Squeak (JSqueak) doesn't seem alive. I tried to run it on my PC
> with some recent Java (don't remember which version, same as I use to
> compile Android stuff). Very slow, crashed all the time. Plus image
> version is 2.x ...
> 
> PySqueak seems like the repo is gone. Also, it's old too.
> 
> Anyway, wrt translation of Squeak/Pharo VM to Java. How much labor
> would it take to change VMMaker so it generates Java code instead of
> C? Given some similarity between the two languages syntax?
> 
> I need to move on with the native port because my endpoint is in a
> concrete application rather than the port itself. But would anyone be
> interested in adjusting VMMaker?


This is *far* more complicated then that. An interpreter for Smalltalk written
in Java would be *very* slow. 
So one would need to do a "JIT" that translates smalltalk to java... difficult,
and a huge project in itself.

The worst aspect: You need to be *the* expert on Java VM internals to do that.
I am doing Pharo because this is exactly where I do not want to go.

        Marcus

--
Marcus Denker  -- http://www.marcusdenker.de
INRIA Lille -- Nord Europe. Team RMoD.


Reply via email to