[Date Prev][Date Next][Thread Prev][Thread Next][Author Index][Date Index][Thread Index]
Re: Var is dead! Long Live CheckedPtrVar and IntegerVar!
- To: <michael@xxxxxxxxxxx>, <roger@xxxxxxxxxxx>
- Subject: Re: Var is dead! Long Live CheckedPtrVar and IntegerVar!
- From: Bill Richard <thelema!wjr>
- Date: Wed, 15 Aug 90 14:40:04 PDT
- Cc: <mark@xxxxxxxxxxx>, <xtech@xxxxxxxxxxx>
Date: Wed, 15 Aug 90 13:40:39 PDT
From: xanadu!roger (Roger Gregory)
Subject: Re: Var is dead! Long Live CheckedPtrVar and IntegerVar!
I thought the version that wjr had done held onto a pointer ot something,
not necessarily a heaper. Heapers have a lot of baggage the bignum parts
on IntegerVars don't have to have all that stuff.
That's correct. The bignum code I wrote does its own storage management
using system primitives. It doesn't need heapers and I don't think it
need vtables either (Does overloading operators require a vtable?). It does
however require that IntgerVars have destructors in order to free their
bignum storage and this brings up the 'temp variables with destructors' bug.
This is the main reason that this code wasn't integrated a long time ago.