Advertisement
Chronos_Ouroboros

C++ kek

Jan 24th, 2015
305
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.77 KB | None | 0 0
  1. [04:38.13] <Alex_Mercer> Compiling GZDoom is so boring
  2. [04:38.26] <Alex_Mercer> Why does it take so much time?
  3. [04:39.11] <AlexMax> Because C++
  4. [04:42.45] <AlexMax> Alex_Mercer: ++http://stackoverflow.com/questions/318398/why-does-c-compilation-take-so-long
  5. [04:44.06] <AlexMax> in short, because header files
  6. [04:44.35] <AlexMax> every time you use #include, it's like the compiler is literally cutting and pasting that file into the code
  7. [04:45.08] <AlexMax> so
  8. [04:45.09] <AlexMax> ++https://github.com/rheit/zdoom/blob/master/src/d_main.cpp
  9. [04:45.26] <AlexMax> that's like 50 or 60 headers
  10. [04:45.32] <TakeOne> I'm just worse at not having a beard, so the scrawny mess stays.
  11. [04:45.37] <AlexMax> and also those headers might also in turn include headers as well
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement