Re: Userdata environment example (Re: GC method for objects)
[
Date Prev][
Date Next][
Thread Prev][
Thread Next]
[
Date Index]
[
Thread Index]
- Subject: Re: Userdata environment example (Re: GC method for objects)
- From: Asko Kauppi <asko.kauppi@...>
- Date: 2005年4月24日 21:26:47 +0300
What would be an interesting thing is to have the closure C syntax
(that's what you mean by upvalues, right?) transparently supported via
this new mechanism. Such code would also show the way as to how to
convert away from upvalue/closures to these environment/closures.
-ak
24.4.2005 kello 20:15, Mark Hamburg kirjoitti:
Returning to the issue of function environments, is there a reason to
preserve support for upvalues for C functions given environment
tables? I'm
not necessarily advocating their removal, but it seems like the
environments
mechanism may have significantly diminished their value.