Re: P-Source: A Guide to the Apple Pascal System
- From: Jerry <SNIPawanderin@xxxxxxxxxxxx>
- Date: Fri, 30 Nov 2007 05:06:42 GMT
Eric wrote:
On Nov 27, 12:38 am, David Schmenk <dschm...@xxxxxxxxxxxxxx> wrote:
As soon as I finish working out some issues with the garbage
collector (I don't like automatic garbage collectors) I should have
something to try out.
I assume you've studied NanoVM. That takes a lot of liberties that
work great on a small machine but wouldn't (or couldn't) work well on
a larger machine. The way he uses the high bit of an integer or object
reference to indicate whether it needs to be collected is both
ingenoius and perhaps dangerous. You then have only 15 bit integers
instead of 16 bit integers and that can lead to buggy code.
FWIW, using N-1 bit integers so the high-bit can be used by the
garbage-collector was just mentioned today in the "Incrementally
implementing a simple ML compiler using LLVM" thread in comp.compilers. :)
--
-- Jerry
.
- References:
- Re: P-Source: A Guide to the Apple Pascal System
- From: David Schmenk
- Re: P-Source: A Guide to the Apple Pascal System
- From: Eric
- Re: P-Source: A Guide to the Apple Pascal System
- Prev by Date: Re: P-Source: A Guide to the Apple Pascal System
- Next by Date: Re: P-Source: A Guide to the Apple Pascal System
- Previous by thread: Re: P-Source: A Guide to the Apple Pascal System
- Next by thread: DoraPaint
- Index(es):