News for hackers. Stuff that matters.
Re:Building a bare-metal bootable game for Raspberry Pi in C# by cptskippy on Monday December 11, 2023 @10:21AM (#38601392)
Rider and VS Code are slowly killing Visual Studio for .NET development. Unless you're using .NET Framework (legacy framework with confusing name), you're likely better served using anything else.
Re:Building a bare-metal bootable game for Raspberry Pi in C# by calamari4065 on Monday December 11, 2023 @11:34AM (#38602055)
For a long time, the only reason I ever needed to open VS was for WinForms and WPF visual editing. Earlier this year, Rider implemented a WYSIWYG editor for those frameworks. I think based on Avalonia.

Now I have no reason to use VS at all, and my life is better for it

Re:Building a bare-metal bootable game for Raspberry Pi in C# by andyjohnson0 on Monday December 11, 2023 @12:50PM (#38602861)
> Rider and VS Code are slowly killing Visual Studio for .NET development.

You're probably right, but I never understand the dislike for VS on HN. For me it's s a reliable, capable tool.

Re:Building a bare-metal bootable game for Raspberry Pi in C# by cptskippy on Monday December 11, 2023 @01:46PM (#38603700)
My only complaint with VS is that it's optimal resource requirements always seem to be just beyond the limits of my work issued machine. Functionally I have no issues with it and it's worlds better than a lot of other IDEs that I've used.
Re:Building a bare-metal bootable game for Raspberry Pi in C# by subtra3t on Tuesday December 12, 2023 @12:41PM (#38615556)
Could you share the specs of your mschine? Visual Studio seems to run decently on my 4 GB laptop with an 8th generation i3 CPU. It does have an SSD though.

It does not run perfectly though. There is definitely a difference in input lag between VS and Sublime text.

Re:Building a bare-metal bootable game for Raspberry Pi in C# by cptskippy on Tuesday December 12, 2023 @02:21PM (#38616980)
I have an i9-9880H with 16GB of RAM, I'm in the queue for an upgrade.

VS 2022 Enterprise takes a solid 78 seconds to load to the "Open recent" splash page and idles there at 5%. Opening a 16 project solution takes another 34 seconds and the CPU hovers around 48-67% CPU for a minute after opening the solution before dropping down to around 6%. Any coding causes CPU spikes with each keystroke up to 67%. Loading a 150 line class is pretty instantaneous but it takes another 15-20 seconds for the references, last changes, collapsible UI, and inherit/override dialogs to appear.

It always feels like I'm waiting, even if it's just 5 or 10 seconds, for what I need.

Re:Building a bare-metal bootable game for Raspberry Pi in C# by subtra3t on Wednesday December 13, 2023 @08:39AM (#38627155)
Huh. That seems odd to me but I only open 1 project solutions with not more than ~5 files open at a time, with no other applications other than my browser running. But those CPU spikes upon each keystroke seems very odd indeed.
Re:Building a bare-metal bootable game for Raspberry Pi in C# by jmaker on Wednesday December 13, 2023 @07:39PM (#38636309)
Yes, VS has been terribly slow all the years. Having 64g RAM doesn’t always help much. Rider is fine on 16g, though the most recent release turned a bit sluggish after updating the SDK from RC2 to final, likely something misconfigured on my machine.
Re:Building a bare-metal bootable game for Raspberry Pi in C# by subtra3t on Tuesday December 12, 2023 @12:34PM (#38615432)
I think it is because of the usual HN-esque disdain for corporate products and their urge to exercise their freedom to choose other products.
Re:Building a bare-metal bootable game for Raspberry Pi in C# by pjmlp on Monday December 11, 2023 @01:09PM (#38603145)
Except VS is the first party IDE, and Microsoft already acknowledged VS Code will never provide feature parity with VS.

Rider, being a 3rd party IDE, will always be playing catchup with VS and .NET tooling from Microsoft.

Re:Building a bare-metal bootable game for Raspberry Pi in C# by cptskippy on Monday December 11, 2023 @01:40PM (#38603607)
> Microsoft already acknowledged VS Code will never provide feature parity with VS.

That's correct and misleading. The features that VS supports that aren't present in VS Code are mostly legacy features that need to exist for legacy support reasons and are not being utilized in modern development.

Re:Building a bare-metal bootable game for Raspberry Pi in C# by pjmlp on Monday December 11, 2023 @02:14PM (#38604115)
Like native desktop Windows applications, and server profiling tooling?

This has been asserted by Microsoft employees in .NET podcasts, and on twitter, maybe start paying attention?

Re:Building a bare-metal bootable game for Raspberry Pi in C# by jmaker on Wednesday December 13, 2023 @07:34PM (#38636275)
Microsoft just introduced some features taken from Rider in Visual Studio, who’s catching up with whom? I think it’s a good way of competition.