www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - Compilation models for C++

reply bearophile <bearophileHUGS lycos.com> writes:
A nice article (that I've found with Reddit), "Five compilation models for C++
templates", by Todd L. Veldhuizen:
http://ubiety.uwaterloo.ca/~tveldhui/papers/2000/tmpw00/index.html

Among the things it shows there's running templated code with fully dynamic
typing (6.1 Dynamic typing, with -T0), that may be useful to debug such code.
(I think that's similar to what Descent is now doing).

Bye,
bearophile
Aug 25 2009
parent reply Andrei Alexandrescu <SeeWebsiteForEmail erdani.org> writes:
bearophile wrote:
 A nice article (that I've found with Reddit), "Five compilation models for C++
templates", by Todd L. Veldhuizen:
 http://ubiety.uwaterloo.ca/~tveldhui/papers/2000/tmpw00/index.html
The article enjoyed 17 citations in 8 years. http://scholar.google.com/scholar?cites=9722018129966630217&hl=en That's a rather poor record. Andrei
Aug 25 2009
next sibling parent reply bearophile <bearophileHUGS lycos.com> writes:
Andrei Alexandrescu:
 The article enjoyed 17 citations in 8 years.
 http://scholar.google.com/scholar?cites=9722018129966630217&hl=en
 That's a rather poor record.
I like papers, people, books, and computer languages from what they can teach me, or from the ideas they give me :-) Bye, bearophile
Aug 25 2009
parent Bill Baxter <wbaxter gmail.com> writes:
On Tue, Aug 25, 2009 at 11:06 AM, bearophile<bearophileHUGS lycos.com> wrote:
 Andrei Alexandrescu:
 The article enjoyed 17 citations in 8 years.
 http://scholar.google.com/scholar?cites=9722018129966630217&hl=en
 That's a rather poor record.
I like papers, people, books, and computer languages from what they can teach me, or from the ideas they give me :-)
Anyway the author is the main guy behind Blitz++ so I suspect he knows something about templates. Could be the paper is more a survey of known practices or state of the art in an area that isn't really going anywhere. That doesn't mean the knowledge is not useful to someone who is not up-to-date with the state of the art. --bb
Aug 25 2009
prev sibling parent reply Yigal Chripun <yigal100 gmail.com> writes:
Andrei Alexandrescu wrote:
 bearophile wrote:
 A nice article (that I've found with Reddit), "Five compilation models 
 for C++ templates", by Todd L. Veldhuizen:
 http://ubiety.uwaterloo.ca/~tveldhui/papers/2000/tmpw00/index.html
The article enjoyed 17 citations in 8 years. http://scholar.google.com/scholar?cites=9722018129966630217&hl=en That's a rather poor record. Andrei
"don't judge a book by its cover" Did you even bother reading the article before posting the above reply? This reminds me the case of a student who got an F on an assignment to measure a tower in Haifa, Israel. He appealed the grade and they found out that his measurement was correct. Apparently, that building got taller by 10 cm over a period of 30 years. The others students copied the result from a reference which was used by the teaching professor and he never bothered to actually go and check it again each semester. So the only student in 30 years who bothered to do the actual measurement was the only one with the correct result.
Aug 25 2009
parent reply Andrei Alexandrescu <SeeWebsiteForEmail erdani.org> writes:
Yigal Chripun wrote:
 Andrei Alexandrescu wrote:
 bearophile wrote:
 A nice article (that I've found with Reddit), "Five compilation 
 models for C++ templates", by Todd L. Veldhuizen:
 http://ubiety.uwaterloo.ca/~tveldhui/papers/2000/tmpw00/index.html
The article enjoyed 17 citations in 8 years. http://scholar.google.com/scholar?cites=9722018129966630217&hl=en That's a rather poor record. Andrei
"don't judge a book by its cover" Did you even bother reading the article before posting the above reply?
Hmmm... doesn't look like the quote applies to this case. Anyhow, I have been thoroughly familiar with the paper and related work ever since its publication. Andrei
Aug 25 2009
parent Bill Baxter <wbaxter gmail.com> writes:
On Tue, Aug 25, 2009 at 1:36 PM, Andrei
Alexandrescu<SeeWebsiteForEmail erdani.org> wrote:
 Yigal Chripun wrote:
 Andrei Alexandrescu wrote:
 bearophile wrote:
 A nice article (that I've found with Reddit), "Five compilation models
 for C++ templates", by Todd L. Veldhuizen:
 http://ubiety.uwaterloo.ca/~tveldhui/papers/2000/tmpw00/index.html
The article enjoyed 17 citations in 8 years. http://scholar.google.com/scholar?cites=9722018129966630217&hl=en That's a rather poor record. Andrei
"don't judge a book by its cover" Did you even bother reading the article before posting the above reply?
Hmmm... doesn't look like the quote applies to this case. Anyhow, I have been thoroughly familiar with the paper and related work ever since its publication.
I guess that shouldn't be surprising, given that you seem to have been on the program committee for that particular workshop: http://tech.groups.yahoo.com/group/scott_meyers/message/6?l=1 --bb
Aug 25 2009