Proof of concept: automatically import C header files

Paulo Pinto pjmlp at progtools.org
Thu Jul 18 00:31:47 PDT 2013


On Wednesday, 17 July 2013 at 15:34:54 UTC, Jacob Carlborg wrote:
> On 2013-07-17 13:24, Paulo Pinto wrote:
>
>> Thus we are back to the compiler as library discussion.
>
> Yes, but for the C family of languages we already have a 
> compiler as library, that is Clang.

Agreed.

I also confess that my anti-C bias got a bit softened with clang.

It does not sort out all C and C++ issues in regard with safety, 
but it helps bringing to C a Pascal like safety when integrated 
with proper tooling.

Unfortunately when using C and C++, not all compilers are like 
clang and it is not always easy to convince people to add extra 
tooling (lint and friends).

--
Paulo


More information about the Digitalmars-d mailing list