You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Only delayed - we need to create some benchmark infrastructure before the compiler back-end team will be comfortable accepting changes to its perf-critical functions.
Can you please confirm that 17.2 release will mark the C++20 ABI lockdown (due to improbable urgency the #2518 was closed),
and that we won't see any format and ranges improvements until vNext? 😭😭😎
AlexGuteniev Thanks for asking! Charlie Barto (@barcharcraz) says that #2119 is definitely not ABI breaking because it doesn't change representations of data structures, and that #2437 can be made to be non-ABI-breaking by renaming internal data structures (e.g. from _Ugly to _Ugly2) so I think we should be okay there.
What is missing from <ranges>? From the blog post titled MSVC C++20 and the /std:c++20 Switch it seems P0896R4 was implemented already for VS 2019 v16.10 & v16.11, but __cpp_lib_ranges seems not to be defined.
Although it also states /std:c++20 to be ABI stable and from what I'm reading that won't happen until v17.2 😅.
What is missing from <ranges>? From the blog post titled MSVC C++20 and the /std:c++20 Switch it seems P0896R4 was implemented already for VS 2019 v16.10 & v16.11, but __cpp_lib_ranges seems not to be defined.
Although it also states /std:c++20 to be ABI stable and from what I'm reading that won't happen until v17.2 😅.
You can look at #1814 for full gory detail, but the short version is "We couldn't put <ranges>/<format> under /std:c++20 until WG21 stopped breaking ABI with Defect Report fixes." If you compile with /std:c++latest - the flag that explicitly asks for unstable features from in-progress implementation of the not-yet-complete next version of the C++ standard - you will see __cpp_lib_ranges is defined. But be aware that there are significant ABI-breaking changes going on until 17.2 p2 when we finally pull <ranges>/<format> into /std:c++20.
Activity
jonwil commentedon Jan 19, 2022
Has the plan to open source vcruntime/vcstartup been dropped or is it just delayed (e.g. legal reviews, code cleanup, whatever
)
StephanTLavavej commentedon Jan 21, 2022
Only delayed - we need to create some benchmark infrastructure before the compiler back-end team will be comfortable accepting changes to its perf-critical functions.
jovibor commentedon Feb 7, 2022
Can you please confirm that 17.2 release will mark the
C++20 ABIlockdown (due to improbable urgency the #2518 was closed),and that we won't see any
formatandrangesimprovements untilvNext? 😭😭😎StephanTLavavej commentedon Feb 8, 2022
Yes, 17.2 will contain the C++20 ABI lockdown - as decided by our bosses and boss-like entities.
We can continue to improve
<format>and<ranges>in ways that preserve ABI.AlexGuteniev commentedon Feb 9, 2022
I'm worried about #2119 and #2437 -- what would happen to them?
StephanTLavavej commentedon Feb 9, 2022
AlexGuteniev Thanks for asking! Charlie Barto (@barcharcraz) says that #2119 is definitely not ABI breaking because it doesn't change representations of data structures, and that #2437 can be made to be non-ABI-breaking by renaming internal data structures (e.g. from
_Uglyto_Ugly2) so I think we should be okay there.jrmoore commentedon Feb 21, 2022
What is missing from
<ranges>? From the blog post titled MSVC C++20 and the /std:c++20 Switch it seems P0896R4 was implemented already for VS 2019 v16.10 & v16.11, but__cpp_lib_rangesseems not to be defined.Although it also states
/std:c++20to be ABI stable and from what I'm reading that won't happen until v17.2 😅.CaseyCarter commentedon Feb 21, 2022
You can look at #1814 for full gory detail, but the short version is "We couldn't put
<ranges>/<format>under/std:c++20until WG21 stopped breaking ABI with Defect Report fixes." If you compile with/std:c++latest- the flag that explicitly asks for unstable features from in-progress implementation of the not-yet-complete next version of the C++ standard - you will see__cpp_lib_rangesis defined. But be aware that there are significant ABI-breaking changes going on until 17.2 p2 when we finally pull<ranges>/<format>into/std:c++20.StephanTLavavej commentedon Mar 30, 2022
Q2 2022 priorities are now pinned: #2628