On 13 Jul 2015 7:38 pm, "Matt Rice" <ratm...@gmail.com> wrote: > > On Mon, Jul 13, 2015 at 11:26 AM, Keean Schupke <ke...@fry-it.com> wrote: > > Yes, its a good point. Objective-C effectively has Smalltalk objects, and > > the CLR implements something similar based on the earlier COM protocol. > > These are kind of like platform specific version of CORBA. All this can be > > implemented in C/C++, just like you can use COM or CORBA as a library, but > > its obviously much neater to have it all hidden and generated automatically > > from the language classes. My point was that dynamic loading/linking > > provides the underlying functionality necessary for this, and without it you > > could not implement these kind of features. > > Not true for objective-c, classes can be created programatically > absent any knowledge from the dynamic linker, it essentially > reimplements the dynamic linkers relocation, at the point where > classes get added to the runtime (and for compiled classes this adding > to the runtime gets executed from constructors executed by the dynamic > linker)
Yes, sorry saying you could not implement the DL features in a runtime was obviously rubbish :-) That objective-c reimplements the dynamic linker's functionality, doesn't change the fact that the linker does it, and can do it for C/C++. Keean.
_______________________________________________ bitc-dev mailing list bitc-dev@coyotos.org http://www.coyotos.org/mailman/listinfo/bitc-dev