Generic code: @autoconst, @autopure, @autonothrow

Rainer Deyke rainerd at eldwood.com
Sun Aug 29 12:18:52 PDT 2010


On 8/29/2010 08:44, Robert Jacques wrote:
> So... dynamic libraries (DLL's, etc.) are an archaic compilation model?
> Might you be able to suggest an newer alternative? (that doesn't involve
> a JIT, of course)

Not necessarily, but it /is/ a special case.  Dlls are best treated as
separate programs communicating through C function calls.  C function
calls are used to achieve language neutrality.  C function calls don't
support pure and D-const, so the purity and constness of functions at
the dll boundary is a moot point.


-- 
Rainer Deyke - rainerd at eldwood.com


More information about the Digitalmars-d mailing list