Re: Weak Reference proposal

2016-02-18 Thread John Lenz
This seems like a very solid proposal. I like that the finalizers run on their own turn (it had to be that way in retrospect). I'm unclear about one thing: the reasoning for not running finalizers when weak-references them become unreferenced. Did I misunderstand this? Doesn't this force he

Re: Error stack strawman

2016-02-18 Thread John Lenz
On Thu, Feb 18, 2016 at 6:13 PM, Gary Guo wrote: > Andreas wrote: > > This would be fairly difficult to support by implementations. In V8, for > example, we currently have no way of reconstructing that information, nor > would it be easy or cheap to

Re: Error stack strawman

2016-02-18 Thread Mark S. Miller
On Thu, Feb 18, 2016 at 6:13 PM, Gary Guo wrote: > Andreas wrote: > > This would be fairly difficult to support by implementations. In V8, for > example, we currently have no way of reconstructing that information, nor > would it be easy or cheap to

RE: Error stack strawman

2016-02-18 Thread Gary Guo
Andreas wrote:> This would be fairly difficult to support by implementations. In V8, for example, we currently have no way of reconstructing that information, nor would it be easy or cheap to add that. A frame is created by the callee, but that does not know how it got