Author: David Rasmussen
Date: 10:54:37 12/25/02
Go up one level in this thread
On December 24, 2002 at 13:37:36, Matt Taylor wrote: > >One of the weaknesses of C/C++ compilers in general is that the compiler can >only inline what it sees. It is interesting that, in VC 7, the linker can do >inlining. I was very pleased when I read that because it means I can practice >good design without having to expose unnecessary portions of my code for inline >functions. > That is not a weakness of the language but of the implementations. But, sure, a lot of implementations aren't very clever about this and other things that can be optimized. I think it is a question of time. In time, implementations will be have matured enough to handle this and other problems. Very good (and very expensive or unavailable) implementations already exists that can do what you want and much more. The other side of the coin is that the implementations of other languages (C for example) aren't better at this than C++ implementations, in general. /David
This page took 0 seconds to execute
Last modified: Thu, 15 Apr 21 08:11:13 -0700
Current Computer Chess Club Forums at Talkchess. This site by Sean Mintz.