Can there / will there be support for weak reference types?
Is Obj.hash() really unique among all instances in a process? Or does it follow Java's semantics?
If Obj.hash() really is unique... bravo!
Best, Aaron
brianThu 17 Apr 2008
Probably need them at some point at the Fan level (you can always dive down into Java or C# if needed right now)
You mean to use Obj.hash as object identity? No, Fan objects are just Java or C# objects which don't add any additional memory overhead so if you don't override Obj.hash, then you get the VM's system identity hashcode.
thatguydrinksbeerThu 17 Apr 2008
Yeah, I was really talking about System.identityHashcode(), sorry about the poor phrasing, you know me...
Instance identity was always a big deal, and a thorn in my side with xl2.
You know what would be cool? If every instance had or could have a uniquely identifying Uri. Hmmm, I bet that is how you could implement Fan level weak references.
thatguydrinksbeer Thu 17 Apr 2008
If Obj.hash() really is unique... bravo!
Best, Aaron
brian Thu 17 Apr 2008
thatguydrinksbeer Thu 17 Apr 2008
Yeah, I was really talking about System.identityHashcode(), sorry about the poor phrasing, you know me...
Instance identity was always a big deal, and a thorn in my side with xl2.
You know what would be cool? If every instance had or could have a uniquely identifying Uri. Hmmm, I bet that is how you could implement Fan level weak references.