[Haskell-cafe] Small optimisation question

Stefan O'Rear stefanor at cox.net
Sat Nov 17 12:26:57 EST 2007


On Sat, Nov 17, 2007 at 04:31:33PM +0000, Andrew Coppin wrote:
>> Both.  A curious feature of the STG machine is that constructor thunks
>> and evaluated data are represented identically in memory.
>
> Ooo... As per the Lambdacats "Boxed cat has a uniform representation"?
>
> Well, presumably the guys who designed STG did it this way for a really 
> good reason, and they know far more than me, so... ;-)

The STG-machine was brilliant when it was designed, but times have
changed.  In particular, indirect jumps are no longer cheap.  Pointer
tagging has allowed STG to hobble into the 21st century, but really the
air is ripe for a new abstract machine.

Stefan
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://www.haskell.org/pipermail/haskell-cafe/attachments/20071117/4437de5d/attachment.bin


More information about the Haskell-Cafe mailing list