r/programming • u/Kissaki0 • Nov 08 '21
Visual Studio 2022 now available
https://devblogs.microsoft.com/visualstudio/visual-studio-2022-now-available/2
42
6
u/Valay_17 Nov 09 '21
A question to anyone who has updated from 2019 to 2022, do you still keep 2019 and can run both if you want or does 2019 upgrade to 2022?
11
3
Nov 10 '21
We've always been able to run different versions of VS side by side. I currently have 2005, 2008, 2013, 2015, 2017 and 2019 installed, as some customers have libraries or tools that only work with certain versions of Visual Studio (SQL Server Reporting Services is a major reason - a certain version of SSRS often requires a particular version of VS. The SQL Server and Visual Studio teams in Microsoft really need to work better together).
5
20
Nov 08 '21
Call me cynical, and I really hope I’m wrong, but I’m expecting Intellicode to not work very well.
31
u/TimeRemove Nov 08 '21
Intellicode was released in 2018, it works fine, but don't set your expectations too high. It isn't like Github's Copilot. It is just a much better Intellisense, nothing more. 2022 makes it a little better, but it is ultimately the same thing we've all been using for years.
2
u/KeyboardG Nov 09 '21
Intellicode was so much slower that I had to disable it. I know they improved the speed but its still bad.
4
u/VsPerfPm Nov 09 '21
Hey there,
I am Kanika I work as a PM on the Visual studio team focusing on improving performance of VS. I would love to talk to you and learn more about the issues you are facing. If you would be willing to talk to me please drop me a note at [email protected] and I will set up some time for us to chat
10
u/anonveggy Nov 08 '21
The memory usage is kind of heavy but it's dead on most of the time.
3
u/VsPerfPm Nov 09 '21
Hey there,
I am Kanika I work as a PM on the Visual studio team focusing on improving performance of VS. I would love to talk to you and learn more about the issues you are facing. If you would be willing to talk to me please drop me a note at [email protected] and I will set up some time for us to chat
-2
u/anonveggy Nov 09 '21
I will not associate my real identity to my anonymous reddit account to talk to a vs pm about something as mundane as couple of gigs worth of ram usage - there's plenty of ram to go around. Go back to developer community - plenty of people there waiting for feedback. Stop reading reddit at work.
9
u/JabNX Nov 08 '21
Honestly, I've been pretty satisfied with the feature that puts commonly used properties/methods on top of the completion list, and the new stuff in 2022 that tries to autocomplete the rest of your line also does pretty good guesses in general.
But yeah, it's not really transformative or anything, it's a nice bonus that doesn't get in your way and might occasionally help you.
24
Nov 08 '21
Visual Studio 98 is still fastest release I can remember using. For me, it seems like every release has been marketed with the phrase improved performance while in reality its just been the opposite.
8
Nov 08 '21
I feel like intellisense used to be worse than it is now.. and I love that improvement to the debugger they did a while back that let you move the instruction pointer backwards. But yeh, those are the only two things I can think of that they’ve improved since 98. Performance is pretty dreadful.
EDIT: Oh and they made search better too I guess.. ctrl-, etc.
3
u/VsPerfPm Nov 09 '21
Hey there,
I am Kanika I work as a PM on the Visual studio team focusing on improving performance of VS. I would love to talk to you and learn more about the issues you are facing. If you would be willing to talk to me please drop me a note at [email protected] and I will set up some time for us to chat
2
Nov 09 '21
Oh hey Kanika, thanks for reaching out.
I'm sick at the mo so you probably don't want to talk to me this second but I'll ping you once I'm in a position to chat.
Broadly, my comment relates to something I noticed that all the devs in my team are doing. We're (almost) all using two editors to edit/view the code in our repo. Most are using Visual Studio and VS Code and I'm using Visual Studio and Vim.
When I think about why we do this, it's because we often want to switch git branches and look at the code there quite quickly. With VS Code or Vim you can open the editor and be using the search features in a meaningful way within a couple of seconds. With Visual Studio, you can sometimes be waiting 45+ seconds or so for the project to open and be ready to use.
Essentially I find myself using Visual Studio if I know I'm going to be working on the code for a while, since I know intellisense and all that good stuff will help me actually write code and it'll be worth the wait. However, if I just want to read/browse/search code I'll usually reach for another editor first.
For reference, our product has 181 vcxproj files, 66 csproj files, 1500 cpp files, 996 cs files and so I can understand that VS has a lot of work to do when it opens compared a normal editor.
1
u/VsPerfPm Nov 09 '21
Hey there,
I am Kanika I work as a PM on the Visual studio team focusing on improving performance of VS. I would love to talk to you and learn more about the issues you are facing. If you would be willing to talk to me please drop me a note at [email protected] and I will set up some time for us to chat
2
Nov 09 '21
Hey. I don't have time for that, sorry, I'm busy waiting for Visual Studio to load my solutions.
Jokes aside, I don't have much more to add - if you compare the time to start the IDE, to load solutions and so on it should be apparant that they have increased over the years.
The only way this can be missed is if hardware upgrades compensate for the software performance degradation, something which I assume is very possible if you're a Microsoft employee.
I have Visual Studio 2013 and 2022 on the laptop I'm typing this on. VS2013 starts about twice as fast as 2022.
This decline of performance over the years can't be news to a PM working on the VS team?
1
u/douglasg14b Nov 08 '21
It works reasonably well for me, but it suggests really stupid things sometimes that are just compiler errors. You would think it's suggestions would follow the static typing we already have...
6
u/ramsees79 Nov 09 '21
It has a horrible memory leak, it went from using 1.5 gb of ram to 3.7 gb in 40 mins in my main project.
6
u/KillianDrake Nov 09 '21
it's 64-bit now, so your project really needs 3.7gb and before it was just trashing forever with infinite garbage collection in 2019.
3
u/ramsees79 Nov 09 '21
Almost 4gb for a project is not normal, this project only used 350mb of ram in VS 2012 before migrating.
1
u/VsPerfPm Nov 09 '21
Hey there,
I am Kanika I work as a PM on the Visual studio team focusing on improving performance of VS. I would love to talk to you and learn more about the issues you are facing. If you would be willing to talk to me please drop me a note at [email protected] and I will set up some time for us to chat
1
u/VsPerfPm Nov 09 '21
Hey there,
I am Kanika I work as a PM on the Visual studio team focusing on improving performance of VS. I would love to talk to you and learn more about the issues you are facing. If you would be willing to talk to me please drop me a note at [email protected] and I will set up some time for us to chat
1
u/ThatOneArchUser Nov 09 '21
Does someone knows if driver development kit extension is also available for vs 2022?
-20
u/npmbad Nov 08 '21 edited Nov 09 '21
I'm happy I don't have to use this
edit: jesus fuck it's just a personal preference you insecure baboons
-7
u/NZ987654321 Nov 09 '21
It’s terrible, just so slow and full of bugs….
2
u/fraudulentdev_ Nov 10 '21
There is no way you even tried it. In term of performance alone this is by far the best iteration of VS i've used since pre 2008. For a regular workflow I have not noticed anything close to deserving the mention "full of bugs". Try upgrading your 2012 installation.
0
0
0
Nov 08 '21
[deleted]
2
u/Kissaki0 Nov 08 '21
I was hoping the Preview would upgrade to stable, but it updated to the next preview. I had to uninstall the preview and install the stable. :)
0
Nov 09 '21
[deleted]
2
u/Kissaki0 Nov 09 '21
In a few ways, it is superior to vscode.
If you are looking for selection wrapping, use this Selection Wrapper extension.
48
u/emotionalfescue Nov 08 '21
Visual Studio is very impressive tool that enhances programmer productivity. However, there are some annoyances that do not get better, and often are worse with each new release.
Load times for VS.exe and project files in a memory-constrained environment. I'm seeing a lot of long delays with "Not responding".
When opening a project file created under an older version of VS, you get nagged to upgrade the platform SDK and VC++ toolset versions. And it wants to create a new project file that is presumably only compatible with the new VS. If someone else on the team wants to use it, they'll have to upgrade their toolsets.
There are tons of versions of the Windows platform SDK, none seemingly better than another, except by virtue of being newer. So you might need a half dozen or more platform SDK versions to accommodate all references from the project files of one enterprise application. These consume a nontrivial amount of disk space.
VS doesn't make it easy to create a build tree that's separate from the source trees, when your project spans multiple directories and directory levels. (I'm sure it's possible, but it doesn't look like it's worth the effort). This kind of thing is straightforward to do in a Linux/Unix makefile environment.