Value vs. reference semantics, and pointers

S. Chancellor dnewsgr at mephit.kicks-ass.org
Wed Mar 22 20:59:23 PST 2006


On 2006-03-21 00:14:15 -0800, Scott L. Burson <Scott_member at pathlink.com> said:

> Hi,
> 
> As a newcomer to D I want to say first that it looks like a very clean and
> well-thought-out design, free of the endless frustrations of C++.  As a Lisp
> fanatic, I am particularly glad to see that you have included local functions,
> function literals, and closures, though the distinction between function
> "pointers" and delegates strikes me as superfluous ... oh, I see you 
> are already
> considering eliminating

Delegates and function pointers are fundamentally different structures 
in memory.  In order to maintain compatibility with C binaries there 
must be a distinction made between the two.  C can't handle delegates.




More information about the Digitalmars-d mailing list