New Implementation of Virtual Functions in C++

sjmccaug@prairienet.org (Scott J. McCaughrin)
18 Nov 1999 02:52:05 -0500

          From comp.compilers

Related articles
New Implementation of Virtual Functions in C++ sjmccaug@prairienet.org (1999-11-18)
Re: New Implementation of Virtual Functions in C++ johnmce@texas.net (1999-11-19)
Re: New Implementation of Virtual Functions in C++ neeri@iis.ee.ethz.ch (Matthias Neeracher) (1999-11-19)
Re: New Implementation of Virtual Functions in C++ landauer@apple.com (1999-11-19)
Re: New Implementation of Virtual Functions in C++ jsgray@acm.org (Jan Gray) (1999-11-23)
| List of all articles for this month |
From: sjmccaug@prairienet.org (Scott J. McCaughrin)
Newsgroups: comp.compilers
Date: 18 Nov 1999 02:52:05 -0500
Organization: Compilers Central
Keywords: C++, code, comment

A colleague informs me that virtual functions are now more commonly
implemented via thunks (instead of class vtbls). He couldn't cite a
source for this. Can you?
[I would be astonished if this were true, regardless of whether he
means real Algol-style thunks or Microsoft's misnamed function
wrappers. Every C++ compiler I've ever seen uses vtbls, perhaps
optimized to a straight call when the compiler or linker can be sure
it'll never be overridden. -John]


Post a followup to this message

Return to the comp.compilers page.
Search the comp.compilers archives again.