On Sun, Aug 24, 2014 at 11:33:59AM +0200, Peter Bex wrote:
> Thank you for the feedback.  I've added my replies inline.  I've added
> fluid-let to the list of things to be removed.  It's dangerously unsafe,
> and it is completely unnecessary to have it in core.  There are a handful
> of uses of it in core that are potentially disastrous, so we should
> rewrite those bits.

It's not as bad as I initially thought; the current-*-port is handled as
a special case, so it's actually safe to update them with fluid-let.
This could be simplified by using parameters, though.

The compiler uses it in a few places to temporarily override the value
of a global variable.  This is fine, but if we ever decide to turn the
compiler into a library, it wouldn't be thread-safe.  So this might
better be rewritten.

Cheers,
Peter
-- 
http://www.more-magic.net

_______________________________________________
Chicken-hackers mailing list
Chicken-hackers@nongnu.org
https://lists.nongnu.org/mailman/listinfo/chicken-hackers

Reply via email to