<div dir="ltr"><br><br><div class="gmail_quote"><div dir="ltr">On Wed, Sep 16, 2015 at 8:05 AM Mehdi Amini <<a href="mailto:mehdi.amini@apple.com">mehdi.amini@apple.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">What I had in mind was trying to answer when I said that I haven’t seen data:<br>
<br>
- Who are the primary users of the C API?<br>
- What are their use case? Which should translate to “What part of the API is of interest”? (the linker does not care about the IRBuilder for instance).<br>
- What do they expect from a C API: is stability really important or would pure bindings be OK?<br>
- etc.<br>
<br>
It may be that a large amount of project are using C because you can’t interface with C++ conveniently. Since we don’t promise full compatibility these projects would have to either revlock to LLVM or write some compatibility layer anyway, so having some way to auto-generate C-bindings over the C++ API can cover these use cases.<br>
In this scenario, the non-bindings “stable” C API would have very little surface in comparison.<br>
<br></blockquote><div><br></div><div>Hopefully s/in comparison// :)</div><div><br></div><div>-eric</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
—<br>
Mehdi<br>
<br>
> On Sep 15, 2015, at 6:14 PM, Amaury SECHET <<a href="mailto:deadalnix%2Bllvmreview@gmail.com" target="_blank">deadalnix+llvmreview@gmail.com</a>> wrote:<br>
><br>
> deadalnix added a comment.<br>
><br>
> I'm not sure what data you'd like to see. I'm talking from experience using the C API from a foreign language, and it seems that @jyknight has the same experience.<br>
><br>
><br>
> <a href="http://reviews.llvm.org/D12685" rel="noreferrer" target="_blank">http://reviews.llvm.org/D12685</a><br>
><br>
><br>
><br>
<br>
</blockquote></div></div>