Old story (30 years ago)
Nick Clifton
nickc@redhat.com
Tue Jan 24 13:27:19 GMT 2023
Hi Cut Hour,
>> This is not to say that exploring the idea is not worthwhile. It
>> might produce some interesting results. But I would be hesitant about
>> applying it to a generic tool like the linker without a real need.
>
> I myself had needed it. My plan was like this. Every instance has a
> ptr to its class. Every class has a method table (array of ptr to
> function). All methods are called via a ptr in the method table.
> The syntax is almost the same as ObjC. Binutils (for the structured
> programming) is what makes this simplest OO language so hard to come
> by. Neither C++ nor ObjC nor Java pointed that out. Again, is this
> cleared in LLVM?
I do not think so. I cannot say for sure, but linking with LLVM (and
its linker LLD) is basically the same process as used by the binutils
linker. The implementations differ, but what they do is basically the
same.
Cheers
Nick
More information about the Binutils
mailing list