David Chisnall
David Chisnall
These look like terrible APIs. Presumably it's the responsibility of the caller to ensure that there's enough space, but how does it know how much space the runtime will use?...
That last use appears to be very dangerous. A weak reference can be turned into a strong reference at any point. If one thread tries to dealloc the object and...
Possibly. There's still the question of what to do if you have a Swift object that wraps an Objective-C object and something takes a weak reference to it. Calling `objc_removeAssociatedObjects`...
Additionally, should the retain / release mechanism for these objects actually manipulate the enclosing object? We could have a much simpler API along the lines of this: ```objc id objc_createEmbeddedInstance(id...
I think I'd rather keep this in the WinObjC version, where the ABI guarantees are weaker. I'm not sure that using lld-link.exe instead of link.exe is that much of a...
Interesting. It looks as if the runtime is picking up some C++ standard library symbol dependencies. I think this may be a thing that happens with libstdc++ if you include...
I think we still have a bug. The existence of libsupc++.a should not break the build.
Not quite. They also need to ensure that the +initialize method is invoked. There's a comment in the Mac version that describes some of this: ``` // Generate: // //...
I don't really like requiring a message send here, because it largely defeats the point of direct messages for efficiency. I'm tempted to add an `__objc_initialize` function to guarantee that...
Sorry, I didn't see this when it was reported. This symbol is part of the generic unwinder. This is normally provided by libgcc_s and should be added to the link...