[Nix-dev] nix killed by 11

Eelco Dolstra e.dolstra at tudelft.nl
Fri Sep 18 17:30:37 CEST 2009


Hi,

Nicolas Pierron wrote:

> So we should try to get rid of the stack introspection because:
> - It can makes errors and can alter non-Terms pointers. (already
> experience that in a Stratego extension)

It never alters them, it's not a copying garbage collector.

> - It is not portable to some CPU architecture: those which are saving
> stack frames inside registers (and not accessible from deepest stack
> frame)

IIRC, the ATerm library tries to scan the registers somewhat portably by doing a
longjmp and then scanning the jmp_buf structure.

-- 
Eelco Dolstra | http://www.st.ewi.tudelft.nl/~dolstra/



More information about the nix-dev mailing list