Thoughts on versioning
bauss
jj_1337 at live.dk
Wed Oct 27 06:10:46 UTC 2021
On Wednesday, 27 October 2021 at 01:36:24 UTC, Adam D Ruppe wrote:
> On Wednesday, 27 October 2021 at 01:23:44 UTC, Basile B. wrote:
>> The A and W API are funadementally there because it's a C API.
>
> That's irrelevant. They do actually overload it with macros.
>
> The point is the old functions - the A ones - are kept around
> but simply forward to the new functions - the W ones - after
> doing some compatibility transformations.
>
> That is a viable path for Phobos. The existing std.x functions
> can forward to std.v2.x as appropriate.
Yes and no, if it's done subtle and you don't know which
functions change it could possibly lead to silent bugs.
More information about the Digitalmars-d
mailing list