A perf ABI fix
Posted Sep 24, 2013 21:16 UTC (Tue) by
khim (subscriber, #9252)
In reply to:
A perf ABI fix by kugel
Parent article:
A perf ABI fix
Why is the API break required? If the fields were not renamed from usr to user the same code would comopile under both.
And that is exactly the problem: now you can have a code which can be compiled with old headers and new headers but which will only work if old headers are used. Not fun. It's much better to introduce explicit API breakage in such cases.
You see, API and ABI are different. APIs are used by programmers when they write programs and if they are changed (subtly or not so subtly) then the best way to communicate the problem is to introduce deliberate breakage (programmer will fix the problem or will use old version of headers), ABIs breakage is handled by the end-user (or system administrator who's only marginally more clueless then end-user) and they don't have any sane means of handling it. Instead they will just change random stuff around till the damn thing will start.
(
Log in to post comments)