3 ms·
I was under the impression the API is also unstable between releases. Has the API broken less often than the text format over the last few releases?
by rwallace 10y ago
I was under the impression the API is also unstable between releases. Has the API broken less often than the text format over the last few releases?
- sanxiyn 10y agoYes. Quotes from LLVM Developer Policy http://llvm.org/docs/DeveloperPolicy.html http://llvm.org/docs/DeveloperPolicy.html On text format: "The textual format is not backwards compatible. We don't change it too often, but there are no specific promises." On C API: "The C API is, in general, a "best effort" for stability. This means that we make every attempt to keep the C API stable, but that stability will be limited by the abstractness of the interface and the stability of the C++ API that it wraps." There is confusion because C++ API is unstable (very unstable). But C API is stable. And C API is more stable than text format. (In my experience, policy is accurate description of actual practice and not empty promise.)
- rwallace 10y agoAh! I was under the impression that the C API was quasi-deprecated relative to the C++ API, but from what you're saying, it sounds like that's not the case?