Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: XCode Falls Short - for now



Dave Camp wrote:

Maybe this explains Windows engineers tendency to put all their C++ code in the .h files? Almost every Windows port job I work on has 50-75% of the C++ source inlined in the .h files. I've never been able to get an explanation as to why I see this so often... that's got to put a lot of pressure on the linker to strip out all the duplicate code generated in each object file.

I doubt that has anything to do with it. The more code the compiler can see, the better it can optimize that code. Interprocedural optimization is hard enough, but when you have code that has already been compiled into machine code (in object files), you lose all of the structure that you had at the source level.



-- Steve Checkoway


_______________________________________________ Do not post admin requests to the list. They will be ignored. Xcode-users mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/xcode-users/email@hidden

This email sent to email@hidden
References: 
 >Re: XCode Falls Short - for now (From: Scott Ribe <email@hidden>)
 >Re: XCode Falls Short - for now (From: Dave Camp <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.