Visual Studio 2022: just installed
Moderator: Ras
-
- Posts: 313
- Joined: Tue Aug 03, 2021 2:41 pm
- Full name: Bill Beame
Visual Studio 2022: just installed
For those using the Community version of VS, the 2022 version is out. I just installed it hoping for a speed increase. It not any faster on C#, but, it supports Net 6 and includes important bit operations that Net 4 doesn't. Those developing bitboard engine may want to install the new version. It's a lot more colorful and has new editing features. I have no idea if C++ has anything new, I won't be switching to that for a few more months. I'm disappointed in the speed, at least for C#. I can't see any significant difference.
-
- Posts: 307
- Joined: Wed Sep 01, 2021 4:08 pm
- Location: Germany
- Full name: Roland Tomasi
Re: Visual Studio 2022: just installed
Is this the real deal now, or still the preview? I installed the preview two weeks ago and it feels/looks a lot like the 2021 version and seemed pretty stable to me. When compiling with clang it uses clang 12 (same as the current 2021 version, if memory serves well), so no speed improvement. Not sure I'm going to upgrade fully to 2022 version now, since I like to use Intels VTune performance analyzer, but that in its latest version only integrates with the 2021 family of VS.Chessnut1071 wrote: ↑Tue Nov 30, 2021 4:51 am For those using the Community version of VS, the 2022 version is out. I just installed it hoping for a speed increase. It not any faster on C#, but, it supports Net 6 and includes important bit operations that Net 4 doesn't. Those developing bitboard engine may want to install the new version. It's a lot more colorful and has new editing features. I have no idea if C++ has anything new, I won't be switching to that for a few more months. I'm disappointed in the speed, at least for C#. I can't see any significant difference.
-
- Posts: 257
- Joined: Sat Mar 11, 2006 8:31 am
- Location: Malmö, Sweden
- Full name: Bo Persson
Re: Visual Studio 2022: just installed
Both.

Visual Studio 2022 version 17.0 is the real deal. The main difference is that the IDE is now a 64-bit process. The C++ compiler is not all that different from the VS2019 update released just a few weeks earlier.
And immediately there is also a 17.1 Preview.
-
- Posts: 307
- Joined: Wed Sep 01, 2021 4:08 pm
- Location: Germany
- Full name: Roland Tomasi
Re: Visual Studio 2022: just installed
And there's me working with VS2019, being convinced it's VS2021 (which never existed..)Bo Persson wrote: ↑Tue Nov 30, 2021 2:12 pmBoth.
Visual Studio 2022 version 17.0 is the real deal. The main difference is that the IDE is now a 64-bit process. The C++ compiler is not all that different from the VS2019 update released just a few weeks earlier.
And immediately there is also a 17.1 Preview.


-
- Posts: 327
- Joined: Sat Mar 27, 2010 7:15 pm
Re: Visual Studio 2022: just installed
Does 2022 produce faster executables (compared with 2019)? what have people found?
Regards,
Tom
Regards,
Tom
-
- Posts: 1062
- Joined: Tue Apr 28, 2020 10:03 pm
- Full name: Daniel Infuehr
Re: Visual Studio 2022: just installed
The C++ compiler MSVC is the same. The C# compiler Roslyn is the same.silentshark wrote: ↑Sat Dec 04, 2021 3:13 pm Does 2022 produce faster executables (compared with 2019)? what have people found?
Regards,
Tom
The IDE is new and has new features:
https://docs.microsoft.com/en-us/visual ... ew=vs-2022
But in 1 year or so there will be updates for VS2022 and VS2019 wont get the newest compiler updates anymore.
Also I am old enought to remeber they switched from colored icons in vs2010 to monochrome (which is horrible) icons. It took the whole decade until 2022 that they are all back to colored - and the monochrome is gone thankfully. Its like windows that switches between rounded and square corners every decade or so.
https://docs.microsoft.com/en-us/visual ... ew=vs-2022
Worlds-fastest-Bitboard-Chess-Movegenerator
Daniel Inführ - Software Developer
Daniel Inführ - Software Developer
-
- Posts: 313
- Joined: Tue Aug 03, 2021 2:41 pm
- Full name: Bill Beame
Re: Visual Studio 2022: just installed
Any ideas on how to get BitScanForward working on VS C# 2022? I included System.Numerics in the assembly list; however, I can't seem to get it working and have to rely on a 64 iteration loop which is slow. I think 2022 is Net 7 which I thought included BSF.dangi12012 wrote: ↑Sat Dec 04, 2021 4:19 pmThe C++ compiler MSVC is the same. The C# compiler Roslyn is the same.silentshark wrote: ↑Sat Dec 04, 2021 3:13 pm Does 2022 produce faster executables (compared with 2019)? what have people found?
Regards,
Tom
The IDE is new and has new features:
https://docs.microsoft.com/en-us/visual ... ew=vs-2022
But in 1 year or so there will be updates for VS2022 and VS2019 wont get the newest compiler updates anymore.
Also I am old enought to remeber they switched from colored icons in vs2010 to monochrome (which is horrible) icons. It took the whole decade until 2022 that they are all back to colored - and the monochrome is gone thankfully. Its like windows that switches between rounded and square corners every decade or so.
https://docs.microsoft.com/en-us/visual ... ew=vs-2022
-
- Posts: 313
- Joined: Tue Aug 03, 2021 2:41 pm
- Full name: Bill Beame
Re: Visual Studio 2022: just installed
Unfortunately, the speed is identical on C#. We were supposed to get a slew of new bit operations; however, I can't seem to get them working, especially BitScanForward, which is really needed for bitboards.silentshark wrote: ↑Sat Dec 04, 2021 3:13 pm Does 2022 produce faster executables (compared with 2019)? what have people found?
Regards,
Tom
-
- Posts: 1062
- Joined: Tue Apr 28, 2020 10:03 pm
- Full name: Daniel Infuehr
Re: Visual Studio 2022: just installed
You have BSF!Chessnut1071 wrote: ↑Sat Dec 04, 2021 5:52 pmAny ideas on how to get BitScanForward working on VS C# 2022? I included System.Numerics in the assembly list; however, I can't seem to get it working and have to rely on a 64 iteration loop which is slow. I think 2022 is Net 7 which I thought included BSF.dangi12012 wrote: ↑Sat Dec 04, 2021 4:19 pmThe C++ compiler MSVC is the same. The C# compiler Roslyn is the same.silentshark wrote: ↑Sat Dec 04, 2021 3:13 pm Does 2022 produce faster executables (compared with 2019)? what have people found?
Regards,
Tom
The IDE is new and has new features:
https://docs.microsoft.com/en-us/visual ... ew=vs-2022
But in 1 year or so there will be updates for VS2022 and VS2019 wont get the newest compiler updates anymore.
Also I am old enought to remeber they switched from colored icons in vs2010 to monochrome (which is horrible) icons. It took the whole decade until 2022 that they are all back to colored - and the monochrome is gone thankfully. Its like windows that switches between rounded and square corners every decade or so.
https://docs.microsoft.com/en-us/visual ... ew=vs-2022


Just use .net core and System.Runtime.Intrinsics.X86.Bmi1.X64.TrailingZeroCount(value);
Worlds-fastest-Bitboard-Chess-Movegenerator
Daniel Inführ - Software Developer
Daniel Inführ - Software Developer
-
- Posts: 313
- Joined: Tue Aug 03, 2021 2:41 pm
- Full name: Bill Beame
Re: Visual Studio 2022: just installed
I get the message not available on 7.3, use 9.0 or higher. Are you using VS 2022?dangi12012 wrote: ↑Sat Dec 04, 2021 6:08 pmYou have BSF!Chessnut1071 wrote: ↑Sat Dec 04, 2021 5:52 pmAny ideas on how to get BitScanForward working on VS C# 2022? I included System.Numerics in the assembly list; however, I can't seem to get it working and have to rely on a 64 iteration loop which is slow. I think 2022 is Net 7 which I thought included BSF.dangi12012 wrote: ↑Sat Dec 04, 2021 4:19 pmThe C++ compiler MSVC is the same. The C# compiler Roslyn is the same.silentshark wrote: ↑Sat Dec 04, 2021 3:13 pm Does 2022 produce faster executables (compared with 2019)? what have people found?
Regards,
Tom
The IDE is new and has new features:
https://docs.microsoft.com/en-us/visual ... ew=vs-2022
But in 1 year or so there will be updates for VS2022 and VS2019 wont get the newest compiler updates anymore.
Also I am old enought to remeber they switched from colored icons in vs2010 to monochrome (which is horrible) icons. It took the whole decade until 2022 that they are all back to colored - and the monochrome is gone thankfully. Its like windows that switches between rounded and square corners every decade or so.
https://docs.microsoft.com/en-us/visual ... ew=vs-2022![]()
![]()
Just use .net core and System.Runtime.Intrinsics.X86.Bmi1.X64.TrailingZeroCount(value);