D's greatest mistakes
Bruno Medeiros
brunodomedeiros+spam at com.gmail
Thu Dec 9 09:07:28 PST 2010
On 29/11/2010 22:53, Walter Bright wrote:
> Steven Schveighoffer wrote:
>> Because we tried hard and failed != it's impossible.
>
> The source to DMD is there. Feel free to try! I spent months trying to
> make it work, and I learned my lesson.
Even without knowing anything about DMD internals, I would suspect that
to successfully make this change it would require (at least internally
in the compiler, but not necessarily in the D language itself) that
classes are treated as value types an not as references (similarly to
C++, where structs are the same as classes).
--
Bruno Medeiros - Software Engineer
More information about the Digitalmars-d
mailing list