Dynamic Class Loading Idea

Daniel Keep daniel.keep.lists at gmail.com
Sat Nov 3 09:21:57 PDT 2007



Craig Black wrote:
>> I like DDL's approach, in which it acts as a run-time linker. It uses
>> relocation data in OBJ files to find address references and fix them
>> (thus "relocating" the code for any memory address) when loading the
>> libraries.
> 
> Does this relocation use function pointers?

Here's how I understand it.  DDL is a linker.  The only difference
between DDL and dmd/gcc is that it works at run time instead of compile
time.

What you described is basically what a linker does, hence what DDL does.

	-- Daniel



More information about the Digitalmars-d mailing list