4 ms·
You know any other language that uses the header/cpp split likes C/C++ do? This is C++es way of finally getting rid of them, akin to Swift or Rust.
by Longhanks 2y ago
You know any other language that uses the header/cpp split likes C/C++ do?
This is C++es way of finally getting rid of them, akin to Swift or Rust.
- hot_gril 2y agoIt's called putting all your code in the .h
- Longhanks 2y agoWhich is going to murder your compilation times. Modules do it better, the MS Office team claims the following: Worst case: 0.9% regression compared to PCH - Best case: 21.2% improvement compared to PCH (From https://m.youtube.com/live/H6GQUg5JquU?si=1iC_OvRQ_MprzDTQ&t=7389 https://m.youtube.com/live/H6GQUg5JquU?si=1iC_OvRQ_MprzDTQ&t...)
- izacus 2y agoAnd what are the metrics in comparison to not using PCH?