<div dir="ltr"><br><br><div class="gmail_quote"><div dir="ltr">On Sun, Aug 16, 2015 at 10:35 PM deadal nix <<a href="mailto:deadalnix@gmail.com">deadalnix@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">2015-08-16 21:51 GMT-07:00 Eric Christopher <span dir="ltr"><<a href="mailto:echristo@gmail.com" target="_blank">echristo@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><br><br><div class="gmail_quote"><div><div><div dir="ltr">On Sun, Aug 16, 2015 at 9:49 PM deadal nix <<a href="mailto:deadalnix@gmail.com" target="_blank">deadalnix@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">2015-08-16 21:47 GMT-07:00 Eric Christopher <span dir="ltr"><<a href="mailto:echristo@gmail.com" target="_blank">echristo@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><br><br><div class="gmail_quote"><span><div dir="ltr">On Sun, Aug 16, 2015 at 6:45 PM deadal nix via llvm-dev <<a href="mailto:llvm-dev@lists.llvm.org" target="_blank">llvm-dev@lists.llvm.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><span><div><div>Chiming in with <a href="http://reviews.llvm.org/D10725" target="_blank">http://reviews.llvm.org/D10725</a><br><br></div>Being
able to read and generate IR is at least some very basic thing we can
agree on is needed. Can we get some testing for it ? Personally I don't
really mind if this is going to be stable or not, but at least, having
some test coverage would allow to take whatever path that is going to be
taken willingly.<br><br></div></span></div></blockquote><div><br></div></span><div>Right, and that's the problem. Expanding the C API to cover reading and generating IR in a stable way will lock the C++ API down in a way that I'm not comfortable with - I think it has already gone too far.</div><div><br></div><div>-eric</div></div></div></blockquote><div><br></div></div></div></div><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><div>That seems like a bare minimum.<br></div><br></div><div class="gmail_quote">The C++ evolve from one version to another, what is preventing the C API to do the same ?<br></div><div class="gmail_quote"><br></div></div></div></blockquote><div><br></div></div></div><div>The promise of stability. We don't promise that the C++ API will stay stable.</div><span><font color="#888888"><div><br></div><div>-eric </div></font></span></div></div>
</blockquote></div><br><br></div></div><div dir="ltr"><div class="gmail_extra">Why was that promise be made in the first place ? Has it been made in the first place ?<br><br></div></div></blockquote><div><br></div><div>Please read the rest of the thread :)</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_extra"></div><div class="gmail_extra">Also, whether, the C API is stable or change between version, being able to read and write IR from it seems like a bare minimum and having test for this as well.<br><br></div><div class="gmail_extra">Having a test does not prevent the API to be changed. It just ensure that it is changed willingly as one would have to update the test in addition of the API.<br><br></div></div></blockquote><div><br></div><div>Your reading of this is not the same as anyone else's reading for what would be considered stable.</div><div><br></div><div>-eric</div></div></div>