Re: [dev] include files should never include include files?

From: Jessta <jessta_AT_gmail.com>
Date: Mon, 18 Jan 2010 02:10:55 +1100

2010/1/17 Anders Andersson <pipatron_AT_gmail.com>:
> You won't run in to any problems if you do it right, when you do as
> you say. The time it takes to parse the header is probably negligible
> compared to the rest of compilation in a modern compiler and a modern
> system with disk cache etc. .

It's good to note that Apple has been putting lots of effort in to the
llvm c compiler (clang) because it parsers header files much faster
than gcc and the current way Apple does includes is to have one
include file that includes everything else you'd ever need.
Which is kind of insane.

- jessta

-- 
=====================
http://jessta.id.au
Received on Sun Jan 17 2010 - 15:10:55 UTC

This archive was generated by hypermail 2.2.0 : Sun Jan 17 2010 - 15:24:01 UTC