3 ms·
I feel that the site would benefit from a paragraph or two about what C++ Modules are and why devs should use them
by falcor84 3y ago
I feel that the site would benefit from a paragraph or two about what C++ Modules are and why devs should use them
- fuomag9 3y agoAgreed, I’m not a C++ developer and I’ve barely guessed what’s this about
- paulddraper 3y ago> I’m not a C++ developer and I’ve barely guessed what’s this about I feel those statements are related.
- ctxc 3y agoBut concepts are easily transferable, so a line or two could help a lot :)
- Longhanks 3y agoYou 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 3y agoIt's called putting all your code in the .h
- Longhanks 3y 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 3y agoAnd what are the metrics in comparison to not using PCH?