ImportC can now automatically run the preprocessor
Paulo Pinto
pjmlp at progtools.org
Tue May 17 07:19:19 UTC 2022
On Tuesday, 17 May 2022 at 07:15:52 UTC, Tejas wrote:
> On Tuesday, 17 May 2022 at 05:11:01 UTC, Walter Bright wrote:
>> On 5/16/2022 2:52 AM, deadalnix wrote:
>>> I don't understand where this is going at all. At first, I
>>> thought that this was able being able to import c (as the
>>> name would suggest), which seems super useful, but now it
>>> seems to be evolving into a full blow C compiler and I have
>>> no idea why I would want that. I already have several on my
>>> machine, and they are extremely high quality.
>>
>> People can and do put the full C language into .h files (for
>> example, functions that are expected to be inlined).
>
> Yeah, header-only libraries are very popular among users, since
> it helps keep binary sizes under control, so authors shove as
> much of the functionality as possible into the header files
Yeah, because linkers and LTO are yet to be invented.
More information about the Digitalmars-d
mailing list