This is exciting!<p>A few years ago, someone created dotc [0], which lets you use node-style require and export in C.<p>With that said, from skimming the document, I&#x27;m not a big fan of this variation of imports. You&#x27;re dumping everything from the library into your environment. IMO, this makes it really difficult to trace code and figure out where stuff comes from.<p>For comparison, with ES6 you specify what you&#x27;re importing and from where you&#x27;re importing it:<p><pre><code>    import * as Foo from &#x27;.&#x2F;Foo&#x27;
    import { bar, baz } from &#x27;.&#x2F;Bar&#x27;

</code></pre>
When I see baz() used in my code, I know that I can look in the Bar file for its definition.<p>Isn&#x27;t this a concern? I must recognize, though, that I&#x27;ve barely touched C++, so maybe I just don&#x27;t know any better.<p>[0] <a href="https:&#x2F;&#x2F;github.com&#x2F;substack&#x2F;dotc" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;substack&#x2F;dotc</a>