The forked elephant in the room

Mike Parker aldacron at gmail.com
Tue Jan 30 15:36:34 UTC 2024


On Tuesday, 30 January 2024 at 15:17:31 UTC, Dibyendu Majumdar 
wrote:
> On Tuesday, 30 January 2024 at 14:27:18 UTC, bachmeier wrote:
>
>>
>> It's not full ImportC, but I remember Walter was talking about 
>> adding C header translation to the compiler [well before 
>> that](https://forum.dlang.org/post/p59jdq$2ttu$1@digitalmars.com), and apparently it was an old idea by then:
>>
>
> The idea of generating automatic bindings to declarations in 
> header files may have been old, but the idea of compiling 
> actual C programs appears to have come from Zig:
>
> https://andrewkelley.me/post/zig-cc-powerful-drop-in-replacement-gcc-clang.html

There were discussions about the possibility of dmd compiling C 
code several years ago. My search attempts keep turning up way 
too many pages, but this is an old idea in the D community.


More information about the Digitalmars-d mailing list