[LLVMdev] LLVM as a shared library
David Chisnall
David.Chisnall at cl.cam.ac.uk
Wed Aug 6 08:07:56 PDT 2014
On 6 Aug 2014, at 16:04, Rafael EspĂndola <rafael.espindola at gmail.com> wrote:
>> Currently, we conflate 'C' and 'stable'. In many cases, I'd prefer a C++ API to a C one, or would be happy to write (or even use automatically generated) thin C wrappers around C++. The requirement is not the language, it's the stability. I presume this also applies to WebKit: there's no reason why a C++ library should prefer a C API for talking to a C++ library. Stability isn't just a binary thing. We care about several different definitions:
>
> The additional effort of providing a stable C++ interface is not one I
> would like to undertake. Are you offering to write such an interface
> and keep it up to date with the underlying LLVM (which is sure to keep
> changing at a fast pace)?
Why do you assume that providing a stable C++ interface to a C++ codebase is more effort than providing a stable C interface to a C++ codebase?
David
More information about the llvm-dev
mailing list