Brian Hurt scripsit:

> - Use C as a back-end.  You're writing your own runtime again, tail 
> recursion is poorly supported again, and a lot of function programming 
> constructs don't map well to C.

- Use C as a back-end using "Cheney on the MTA" style.  CPS-convert
everything, compile naively to C with no returns; when the stack is
full, evict live data only (all control is garbage) to the heap and
longjmp() back.  See http://home.pipeline.com/~hbaker1/CheneyMTA.html
for the original idea, http://www.call-with-current-continuation.org
for an implementation (of Scheme).

-- 
John Cowan    [EMAIL PROTECTED]    http://ccil.org/~cowan
Rather than making ill-conceived suggestions for improvement based on
uninformed guesses about established conventions in a field of study with
which familiarity is limited, it is sometimes better to stick to merely
observing the usage and listening to the explanations offered, inserting
only questions as needed to fill in gaps in understanding. --Peter Constable
_______________________________________________
Cminusminus mailing list
[email protected]
https://cminusminus.org/mailman/listinfo/cminusminus

Reply via email to