Threadwell

Recent Notes

  • DemetriSpanos

    Oct 06, 2026

    • archive
    • twitter
    • demetrispanos
  • NOTimothyLottes

    Oct 06, 2026

    • archive
    • twitter
    • notimothylottes
  • bonzajplc

    Oct 06, 2026

    • archive
    • twitter
    • bonzajplc
Home

❯

Archive

❯

Threads

❯

EricLengyel

❯

One advantage to not including any OS headers or standard C/C++ headers is that I get to enjoy blazing fast build times on my old-ish quad core.

❯

@EricLengyel I think often it's good enough to not include system headers in your own headers, but only .cpp where needed (and maybe own headers that are only used in a few .cpp's)

@EricLengyel I think often it's good enough to not include system headers in your own headers, but only .cpp where needed (and maybe own headers that are only used in a few .cpp's)

Properties5
typearchive
sourcetwitter
date2017-11-17
tagsarchive, twitter, ericlengyel
description@EricLengyel I think often it's good enough to not include system headers in your own headers, but only .cpp where needed (and maybe own headers that are only used in a few .cpp's)

Nov 17, 20171 min read

  • archive
  • twitter
  • ericlengyel
  • defines

Source

  • URL: https://x.com/Doomed_Daniel/status/931339758319603712
  • Author: No (@Doomed_Daniel)
  • Posted: 2017-11-17 01:54:36

Branch

1/ @Doomed_Daniel

@EricLengyel

I think often it’s good enough to not include system headers in your own headers, but only .cpp where needed (and maybe own headers that are only used in a few .cpp’s)

system headers all over the place is also super bad because of stupid defines in them

Related

  • Spine: 2017-11-17-one-advantage-to-not-including-any-os-headers-or

Graph View

  • Source
  • Branch
  • Related

Backlinks

  • One advantage to not including any OS headers or standard C/C++ headers is that I get to enjoy blazing fast build times on my old-ish quad core.

Created with Quartz v5.0.0 © 2026

  • GitHub