Andrei Alexandrescu wrote:
Saaa wrote:
bearophile wrote
Walter Bright:

No, it is done with one indirection.<
If even Andrei, a quite intelligent person that has written big books on C++, may be wrong on such a basic thing, then I think there's a problem.

It can be good to create an html page that explains how some basic things of D are implemented in the front-end. Such page can also contain box & arrow images that show how structures and memory are organized for various of such data structures.

Such html page is useful for both normal programmers that want to understand what's under the hood, and for people that may want to fix/modify the front-end.


?:)
I seem to have requested the thing you here ask for.
(within 24 hours even)
http://d.puremagic.com/issues/show_bug.cgi?id=3351

I wonder whether this would be a good topic for TDPL. Currently I'm thinking it's too low-level. I do plan to insert a short section about implementation, just not go deep inside the object model.

Andrei

Maybe that's a topic for an appendix of the book. It is really useful to know the internals of a language, even if you don't directly use them it can impact design choices.

Right now the best way to learn these internals is still to go hack and slash with the compiler's runtime implementation.

Besides, there is no such thing as too low-level :)

Reply via email to