Click here to Skip to main content
15,881,852 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.

 
AnswerRe: I hope this isn't a programming question... (C++ Modules) Pin
Gary R. Wheeler30-Jan-23 12:01
Gary R. Wheeler30-Jan-23 12:01 
GeneralRe: I hope this isn't a programming question... (C++ Modules) Pin
Jeremy Falcon31-Jan-23 8:51
professionalJeremy Falcon31-Jan-23 8:51 
AnswerRe: I hope this isn't a programming question... (C++ Modules) Pin
jmaida30-Jan-23 15:22
jmaida30-Jan-23 15:22 
GeneralRe: I hope this isn't a programming question... (C++ Modules) Pin
David O'Neil30-Jan-23 18:50
professionalDavid O'Neil30-Jan-23 18:50 
GeneralRe: I hope this isn't a programming question... (C++ Modules) Pin
jmaida30-Jan-23 19:10
jmaida30-Jan-23 19:10 
AnswerRe: I hope this isn't a programming question... (C++ Modules) Pin
megaadam30-Jan-23 22:06
professionalmegaadam30-Jan-23 22:06 
GeneralRe: I hope this isn't a programming question... (C++ Modules) Pin
Jeremy Falcon31-Jan-23 8:42
professionalJeremy Falcon31-Jan-23 8:42 
AnswerRe: I hope this isn't a programming question... (C++ Modules) Pin
jschell2-Feb-23 9:03
jschell2-Feb-23 9:03 
Jeremy Falcon wrote:
But, C++ modules... what's the big deal with them?


Seems like a really good question.

None of the replies that I have seen nor the links that I found actually answered the question as to why one would use them. Except for reduced compilation time. The links all go into depth on how to use them and the code for that but nothing about why a development show would use them.

Jeremy Falcon wrote:
What's the benefit over using a static library with a pre-compiled header?


I wouldn't phrase it exactly like that. What is the advantage of these over a static library with a well defined (limited) public api which is exposed via an include file?

Presuming not much then, in that development shop, then managing modules as the same problem as the libraries. The process for delivering it into the rest of the applications would need its own process path (versions, builds, etc.) Not to mention correctly compartmentalizing the functionality. Seems like if a development shop already has that down then they might as well continue doing it that way. But then they might want to switch to modules.

But if the development shop does not have that process down then seems unlikely that this is going to help with anything.
Generalcats made us love them several thousand years before we ,,, Pin
BillWoodruff30-Jan-23 3:15
professionalBillWoodruff30-Jan-23 3:15 
GeneralRe: cats made us love them several thousand years before we ,,, Pin
obermd30-Jan-23 3:36
obermd30-Jan-23 3:36 
GeneralRe: cats made us love them several thousand years before we ,,, Pin
Slacker00730-Jan-23 5:56
professionalSlacker00730-Jan-23 5:56 
GeneralRe: cats made us love them several thousand years before we ,,, Pin
Paul Kemner30-Jan-23 8:52
Paul Kemner30-Jan-23 8:52 
GeneralRe: cats made us love them several thousand years before we ,,, Pin
Paul Sanders (the other one)30-Jan-23 20:49
Paul Sanders (the other one)30-Jan-23 20:49 
GeneralRe: cats made us love them several thousand years before we ,,, Pin
Paul Kemner30-Jan-23 4:39
Paul Kemner30-Jan-23 4:39 
GeneralRe: cats made us love them several thousand years before we ,,, Pin
Single Step Debugger30-Jan-23 4:28
Single Step Debugger30-Jan-23 4:28 
GeneralRe: cats made us love them several thousand years before we ,,, Pin
dandy7230-Jan-23 4:36
dandy7230-Jan-23 4:36 
GeneralRe: cats made us love them several thousand years before we ,,, Pin
Single Step Debugger30-Jan-23 4:58
Single Step Debugger30-Jan-23 4:58 
GeneralRe: cats made us love them several thousand years before we ,,, Pin
Daniel Pfeffer30-Jan-23 8:43
professionalDaniel Pfeffer30-Jan-23 8:43 
GeneralRe: cats made us love them several thousand years before we ,,, Pin
Mike Hankey30-Jan-23 4:53
mveMike Hankey30-Jan-23 4:53 
GeneralRe: cats made us love them several thousand years before we ,,, Pin
Daniel Pfeffer30-Jan-23 8:41
professionalDaniel Pfeffer30-Jan-23 8:41 
GeneralRe: cats made us love them several thousand years before we ,,, Pin
Greg Utas30-Jan-23 5:32
professionalGreg Utas30-Jan-23 5:32 
GeneralRe: cats made us love them several thousand years before we ,,, Pin
Gerry Schmitz30-Jan-23 7:41
mveGerry Schmitz30-Jan-23 7:41 
GeneralRe: cats made us love them several thousand years before we ,,, Pin
honey the codewitch30-Jan-23 11:13
mvahoney the codewitch30-Jan-23 11:13 
GeneralRe: cats made us love them several thousand years before we ,,, Pin
BillWoodruff31-Jan-23 3:32
professionalBillWoodruff31-Jan-23 3:32 
GeneralRe: cats made us love them several thousand years before we ,,, Pin
honey the codewitch31-Jan-23 4:35
mvahoney the codewitch31-Jan-23 4:35 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.