<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p.msonormal0, li.msonormal0, div.msonormal0
        {mso-style-name:msonormal;
        mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
span.EmailStyle18
        {mso-style-type:personal-reply;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;
        font-family:"Calibri",sans-serif;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-US" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal">Any volunteers for a first pass?&nbsp; Preferably someone with some experience in this area? (hint hint Boris Kolpackov)<o:p></o:p></p>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<p class="MsoNormal">The other person I’m thinking of that will probably have valuable (and strong) opinions on the matter is John Lakos, seeing as he has literally written a book on this kind of topic… though not with modules as a backing technology.<o:p></o:p></p>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<div style="border:none;border-left:solid blue 1.5pt;padding:0in 0in 0in 4.0pt">
<div>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b>From:</b> tooling-bounces@open-std.org &lt;tooling-bounces@open-std.org&gt;
<b>On Behalf Of </b>Titus Winters<br>
<b>Sent:</b> Wednesday, April 11, 2018 9:07 AM<br>
<b>To:</b> WG21 Tooling Study Group SG15 &lt;tooling@open-std.org&gt;<br>
<b>Subject:</b> Re: [Tooling] Request for modules recommendations<o:p></o:p></p>
</div>
</div>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<div>
<p class="MsoNormal">Yeah, those seem like great questions to be asking.&nbsp; Thanks, Ben.<o:p></o:p></p>
</div>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<div>
<div>
<p class="MsoNormal">On Wed, Apr 11, 2018 at 12:58 AM Boris Kolpackov &lt;<a href="mailto:boris@codesynthesis.com">boris@codesynthesis.com</a>&gt; wrote:<o:p></o:p></p>
</div>
<blockquote style="border:none;border-left:solid #CCCCCC 1.0pt;padding:0in 0in 0in 6.0pt;margin-left:4.8pt;margin-top:5.0pt;margin-right:0in;margin-bottom:5.0pt">
<p class="MsoNormal">Ben Craig &lt;<a href="mailto:ben.craig@ni.com" target="_blank">ben.craig@ni.com</a>&gt; writes:<br>
<br>
&gt; * What granularity should I provide for my modules?<br>
&gt; ** Do I translate headers to modules one-to-one?<br>
&gt; ** Do I just have one big module for my entire library?<br>
&gt; ** Something in between?<br>
&gt;<br>
&gt; * What file extension(s) should I use for module files?<br>
&gt;<br>
&gt; * How should we map module names to file names? Just by replacing<br>
&gt;&nbsp; &nbsp;dots with slashes?<br>
&gt;<br>
&gt; * How should tools find modules?<br>
&gt;<br>
&gt; I know just enough about modules to ask subtly wrong questions, [...]<br>
<br>
No, these are spot on. We had to answer[1] all of these (and some more)<br>
while adding support for modules in build2.<br>
<br>
The problem of mapping module names to file names is especially tricky:<br>
<br>
1. We don't want it to become tedious like specifying the mapping for<br>
&nbsp; &nbsp;each module explicitly would be.<br>
<br>
2. We want decent performance from the build system so parsing each<br>
&nbsp; &nbsp;module interface to find its name is probably not an option.<br>
<br>
3. We want the file names to fit the project's overall scheme (some<br>
&nbsp; &nbsp;might want FooBar, others foo_bar, I like foo-bar and you seem<br>
&nbsp; &nbsp;to prefer foo/bar).<br>
<br>
[1] <a href="https://urldefense.proofpoint.com/v2/url?u=https-3A__build2.org_build2_doc_build2-2Dbuild-2Dsystem-2Dmanual.xhtml-23cxx-2Dmodules&amp;d=DwMFaQ&amp;c=I_0YwoKy7z5LMTVdyO6YCiE2uzI1jjZZuIPelcSjixA&amp;r=y8mub81SfUi-UCZRX0Vl1g&amp;m=cAIMNLCbJW_NgXfrRG9r9fGktJq3Meju41ylEMm8pCs&amp;s=FnKVt6XsCvcPL5uV4HPJsApSuYNapIqeYQ9-qVoRV1A&amp;e=" target="_blank">
https://build2.org/build2/doc/build2-build-system-manual.xhtml#cxx-modules</a><br>
<br>
Boris<br>
_______________________________________________<br>
Tooling mailing list<br>
<a href="mailto:Tooling@isocpp.open-std.org" target="_blank">Tooling@isocpp.open-std.org</a><br>
<a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__www.open-2Dstd.org_mailman_listinfo_tooling&amp;d=DwMFaQ&amp;c=I_0YwoKy7z5LMTVdyO6YCiE2uzI1jjZZuIPelcSjixA&amp;r=y8mub81SfUi-UCZRX0Vl1g&amp;m=cAIMNLCbJW_NgXfrRG9r9fGktJq3Meju41ylEMm8pCs&amp;s=JUXAev4FmbOCKuQhkIN-oi7eOQWlbLBpaFzhFjMBH8g&amp;e=" target="_blank">http://www.open-std.org/mailman/listinfo/tooling</a><o:p></o:p></p>
</blockquote>
</div>
</div>
</div>
</body>
</html>