Adding Modules to C in 10 Lines of Code

Paulo Pinto pjmlp at progtools.org
Sat Jun 4 12:29:59 UTC 2022


On Saturday, 4 June 2022 at 07:40:36 UTC, Walter Bright wrote:
> On 5/29/2022 11:13 PM, Paulo Pinto wrote:
>> [...]
>
> Not the same as C doing the importing of C code.
>
>> [...]
>
> Going around the horn, really doing it the hard way. Besides, 
> writing a paper is not the same thing as implementing a working 
> system. There were many proposals about adding modules to C, 
> they just all went nowhere.
>
>
>> [...]
>
> Yee gods, doing it with a database representation is certainly 
> going around the horn.
>
> Note that neither D nor ImportC rely on some database or symbol 
> table file.
>
>
>> [...]
>
> Precompiled headers for C and C++ were certainly a module-like 
> system (I know because I wrote one), but they are horrific 
> kludges.

I guess going around the horn is a synonym for lets pretend there 
wasn't prior art and keep arguing D did it first, as usual.


More information about the Digitalmars-d-announce mailing list