FW: Question about code generation
J J
azreal1977 at hotmail.com
Mon Apr 9 11:20:52 UTC 2007
Hello all,
I sent this to the Exupery list, but no one answered. Maybe someone here
knows or has some pointers to where the information is.
Thanks,
Jason
>From: "J J" <azreal1977 at hotmail.com>
>Reply-To: "Discussion about Exupery a native code
>compiler."<exupery at lists.squeakfoundation.org>
>To: exupery at lists.squeakfoundation.org
>Subject: Question about code generation
>Date: Fri, 06 Apr 2007 14:16:53 +0000
>
>Hi list,
>
>I was just curious how Exupery is able to directly generate the machine
>codes for a given platform. Squeak runs on a ton of platforms, so Exupery
>would have to have some way to know the codes for all of them.
>
>I am curious because I was wondering about generation of the Squeak VM.
>Right now it is done with a smalltalk looking language called Slang (as you
>all know) that just converts directly to C. My thinking was the VM
>generator should at a minimum be a GCC front end and possibly build the
>executable itself (the problem with being a GCC front end is that it
>targets C, which may not be flexible enough). This might allow the VM to
>do some optimizations it can't at the moment (I seem to remember that C
>doesn't give you the information about float overflows, perhaps this might
>be useful to a language like smalltalk that doesn't make one pick the size
>of their numbers).
>
>I haven't looked far enough to see if this would be worthwhile, and I also
>wonder how such a change would play with Exupery.
>
>Thanks,
>Jason
_________________________________________________________________
Cant afford to quit your job? Earn your AS, BS, or MS degree online in 1
year.
http://www.classesusa.com/clickcount.cfm?id=866145&goto=http%3A%2F%2Fwww.classesusa.com%2Ffeaturedschools%2Fonlinedegreesmp%2Fform-dyn1.html%3Fsplovr%3D866143
More information about the Squeak-dev
mailing list
|