Re:ISO C became unusable for operating systems development
by pjmlp on Friday January 21, 2022 @06:00PM
(#30031076)
It is being discussed to change the defaults on .NET 7.
Re:ISO C became unusable for operating systems development
by int_19h on Friday January 21, 2022 @06:42PM
(#30031434)
C# 11, rather? I wouldn't expect them to change anything on bytecode level, since the choice between wraparound and overflow is always explicit there.
Do you recall where that discussion is taking place? I can't find a proposal to this effect in the usual GitHub repo.
Re:ISO C became unusable for operating systems development
by pjmlp on Saturday January 22, 2022 @02:54AM
(#30034647)
Because the change is on the Visual Studio templates to set the checkbox enabled by default, no need to change the language for something it already supports.
It was mentioned on one of the regular YouTube videos with the team, but I am failing to find it now.
Re:ISO C became unusable for operating systems development
by MaxBarraclough on Friday January 21, 2022 @06:11PM
(#30031163)
Thanks, I've edited that in.
You can tell the compiler to use "checked" by default for a given project, but it's fairly rare to see that in practice.
I wish it was the other way around, but I guess they didn't consider the overhead of "checked" acceptable as a default back in 1999; and now it's a back-compat issue.