Search:

Type: Posts; User: CornedBee

Search: Search took 0.05 seconds.

  1. Thread: C++ vs C

    by CornedBee
    Replies
    79
    Views
    8,584

    In the context of this discussion, I took...

    In the context of this discussion, I took "compiling" to mean "turn C++ source code into machine code". Of course every transformation from one code representation to another may be called compiling....
  2. Thread: C++ vs C

    by CornedBee
    Replies
    79
    Views
    8,584

    I have never heard of a compiler/linker that...

    I have never heard of a compiler/linker that actually recompiles anything during linking. All LTO systems that I know instead compile the code to some intermediate representation and dump that to the...
  3. Thread: C++ vs C

    by CornedBee
    Replies
    79
    Views
    8,584

    C++ headers tend to be heavier due to templates....

    C++ headers tend to be heavier due to templates. Check out Doug Gregor's talk on Modules at the LLVM Developer's Conference for some numbers.
  4. Thread: C++ vs C

    by CornedBee
    Replies
    79
    Views
    8,584

    As I said, I've often enough seen incremental...

    As I said, I've often enough seen incremental builds (i.e. recompiling only what changed) take too long. And if you change your unit test system to make the compiles even more minimal (say, by...
  5. Thread: C++ vs C

    by CornedBee
    Replies
    79
    Views
    8,584

    Build time is most certainly not irrelevant....

    Build time is most certainly not irrelevant. There is the whole module effort going on right now, which is somewhat about avoiding the pitfalls of the preprocessor, but mostly about reducing compile...
  6. Thread: C++ vs C

    by CornedBee
    Replies
    79
    Views
    8,584

    That very macro has caused a lot of hard-to-find...

    That very macro has caused a lot of hard-to-find bugs over the years.

    int highestInsertPosition = 0;
    for (auto item : items) {
    highestInsertPosition = Max(highestInsertPosition,...
Results 1 to 6 of 6