News for hackers. Stuff that matters.
Re:Understanding the .NET ecosystem: The evolution of .NET i... by sylens on Tuesday March 21, 2023 @06:13PM (#35253384)
It really is like finding enlightenment after having to figure out which third party package is best for every little thing in Node. Visual Studio is a pretty powerful IDE as well.
Re:Understanding the .NET ecosystem: The evolution of .NET i... by LelouBil on Tuesday March 21, 2023 @06:19PM (#35253470)
Jetbrains Rider is great for .NET too, although I didn't try backend developement with it.
Re:Understanding the .NET ecosystem: The evolution of .NET i... by alexzeitler on Tuesday March 21, 2023 @06:24PM (#35253538)
I’m using it for backend work day in and day out and it’s a joy.
Re:Understanding the .NET ecosystem: The evolution of .NET i... by andix on Tuesday March 21, 2023 @07:27PM (#35254289)
It’s awesome. What I enjoy most is, that all the different tools feel the same, and you can use the same kind of IDE also for web developmen, JavaScript and SQL. Rider also has webstorm and datagrip bundled as a plug in, so you can also do everything in one IDE. I prefer though to use the standalone tools for that, they have just less features than rider/IntelliJ, but i would consider that a plus. Less menu items, less tool windows.
Re:Understanding the .NET ecosystem: The evolution of .NET i... by cyral on Tuesday March 21, 2023 @11:30PM (#35256459)
The Datagrip integration is so cool whenever I need to write raw SQL queries inside Rider
Re:Understanding the .NET ecosystem: The evolution of .NET i... by warent on Tuesday March 21, 2023 @08:42PM (#35255059)
I'm a web developer that has used VS Code for years, but these past few months have been using Rider for developing a Unity project. One thing that really stands out to me about Rider is the "Refactor" (Ctrl+Shift+R) feature; extremely useful.

It allows you to just build things rapidly without worrying much about patterns/naming because once your vague ideas solidify and you realize where you went wrong, it's really easy to just Ctrl+Shift+R and make any codebase-wide adjustments instantly.

It's also great about picking up sub-optimal implementations or patterns with helpful warnings, and you just Ctrl+. to have it auto-fix for you. Using these Rider features combined with Github Copilot, I was able to pretty easily learn intermediate level C# because it's like having a mentor working along side you.

Re:Understanding the .NET ecosystem: The evolution of .NET i... by Semaphor on Wednesday March 22, 2023 @12:33AM (#35256874)
I migrated a while ago from VS + ReSharper to Rider. Mainly backend work. It’s been great.
Re:Understanding the .NET ecosystem: The evolution of .NET i... by dingi on Wednesday March 22, 2023 @03:34AM (#35257942)
Except botched C# style rules. Rider still insists on Java style guidelines for .net projects. And sometimes, it spawns a never ending background process that only way to get rid of is to restart the app. Otherwise, it's okay.

edit: been using Rider on Linux since a few years now

Re:Understanding the .NET ecosystem: The evolution of .NET i... by sebazzz on Wednesday March 22, 2023 @03:47AM (#35258022)
> Rider still insists on Java style guidelines for .net projects.

No, it uses Resharper as the backend.

Re:Understanding the .NET ecosystem: The evolution of .NET i... by moonchrome on Wednesday March 22, 2023 @04:30AM (#35258307)
I've been using Rider style rules for two years now exclusively in a VS based team and aside from some linebreak rules I need to tweak here and there I've seen no issues ?

But I use a .editorconfig tuned stylecop and roslynator on all projects so maybe that overrides some defaults.

Mind sharing which Java style rules are you seeing ?

Re:Understanding the .NET ecosystem: The evolution of .NET i... by dingi on Thursday March 23, 2023 @01:13AM (#35270757)
Rider highlights pascal cased class methods/attributes and suggests to use camel case, for example. I haven't changed any style settings. This is Rider default. Maybe its a Linux thing.
Re:Understanding the .NET ecosystem: The evolution of .NET i... by moonchrome on Thursday March 23, 2023 @06:25AM (#35272522)
That's just a few .editorconfig lines away from begin consistent for the whole team.
Re:Understanding the .NET ecosystem: The evolution of .NET i... by older on Tuesday March 21, 2023 @06:24PM (#35253540)
Yes, since VS2022 became 64-bit app it is much more pleasant to use now.
Re:Understanding the .NET ecosystem: The evolution of .NET i... by nonethewiser on Tuesday March 21, 2023 @06:25PM (#35253544)
It better be at a 30GB install size.
Re:Understanding the .NET ecosystem: The evolution of .NET i... by zip1234 on Tuesday March 21, 2023 @06:56PM (#35253907)
A 2TB nvme drive is less than $200. If VS is saving significant dev time, people would install it even if much larger install.
Re:Understanding the .NET ecosystem: The evolution of .NET i... by waboremo on Tuesday March 21, 2023 @07:12PM (#35254111)
I'm not sure it's 10x as nice as competitors, which is the context here. If it were just about space who cares, but when your competitor does the exact same at a much smaller size and ultimately better price too, it's a little confusing what is going on with VS.
Re:Understanding the .NET ecosystem: The evolution of .NET i... by Rapzid on Wednesday March 22, 2023 @01:22AM (#35257137)
It needs to be 10x nicer to make up for a 10x disk space footprint? What if it were only 1GB and the competitors were only 100Mb? Would it still need to be 10x nicer?
Re:Understanding the .NET ecosystem: The evolution of .NET i... by pjmlp on Wednesday March 22, 2023 @03:33AM (#35257932)
The competitor doesn't ship a full OS SDK for all kinds of development.

Go see how much GB, Apple or Android development stacks require.

Re:Understanding the .NET ecosystem: The evolution of .NET i... by Nullabillity on Wednesday March 22, 2023 @04:23AM (#35258265)

    $ pacman -Qi emacs | grep Size 
    Installed Size  : 111,46 MiB
Re:Understanding the .NET ecosystem: The evolution of .NET i... by pjmlp on Wednesday March 22, 2023 @05:58AM (#35258865)
I guess if anything you is Emacs Lisp, targeting the Emacs OS, then ok.
Re:Understanding the .NET ecosystem: The evolution of .NET i... by Alupis on Tuesday March 21, 2023 @07:10PM (#35254085)
I think people question why VS is so freaking huge when it's contemporaries are not.

Most of that disk size is supposedly in the toolchain (requiring 2-60GB of disk space alone[1]). Why is this so big? Modern toolchains from other vendors are not this large.

[1] https://learn.microsoft.com/en-us/visualstudio/releases/2022...

Re:Understanding the .NET ecosystem: The evolution of .NET i... by pjmlp on Wednesday March 22, 2023 @03:34AM (#35257949)
I have spotted someone that has never done Apple, Google, UNIX or game console native development.

It turns out native code for all kinds of OS workloads take some space.

Re:Understanding the .NET ecosystem: The evolution of .NET i... by paulddraper on Tuesday March 21, 2023 @09:17PM (#35255380)
IDK if it's related but I have like a 50% install success rate. Seems to be complicated.
Re:Understanding the .NET ecosystem: The evolution of .NET i... by kaba0 on Wednesday March 22, 2023 @03:33AM (#35257930)
Come on, my whole OS fits 3 times into that, let alone every single other programming language’s build tools with debug symbols, everything combined.

So what exactly does VS save you? Hell, I can’t even imagine what’s inside that.

Re:Understanding the .NET ecosystem: The evolution of .NET i... by pongo1231 on Wednesday March 22, 2023 @06:04AM (#35258918)
Also transparent compression is a thing in case you need to squeeze out more space. And I don't mean the shoddy NTFS active compression. It received support for much more efficient compression algorithms since win10 which are accessible using compact.exe[0], albeit passive rather than active so there is decay once files get modified.

[0] https://learn.microsoft.com/en-us/windows-server/administrat...

Re:Understanding the .NET ecosystem: The evolution of .NET i... by jongalloway2 on Tuesday March 21, 2023 @08:03PM (#35254667)
Install size depends on the features you pick when you install. Web / service / library development is small, desktop / mobile / C++ gets bigger as the toolchains + sdks + emulators are big. If your VS install is 30 GB and that's a problem, run the installer, click modify, and uncheck stuff you're not using. A lot of devs check off everything "just in case" but since you can add other features when you need them, it's better to start with what you know you'll use.
Re:Understanding the .NET ecosystem: The evolution of .NET i... by kcartlidge on Wednesday March 22, 2023 @02:45PM (#35265435)
Mine's generally around 10GB as I omit all the mobile dev stack and images.
Re:Understanding the .NET ecosystem: The evolution of .NET i... by SiVal on Tuesday March 21, 2023 @08:07PM (#35254709)
Can you install it [edit: the .Net 7/8 platform that sounds interesting, not the IDE] for free on a Linux server and get the same benefits? (This isn't advocacy, it's a literal question about something I don't know.)
Re:Understanding the .NET ecosystem: The evolution of .NET i... by SgtBastard on Tuesday March 21, 2023 @08:10PM (#35254742)
Yes:

https://learn.microsoft.com/en-us/dotnet/core/install/linux

Also VS Code, an open source IDE with first class support for .NET languages:

https://code.visualstudio.com/docs/setup/linux

Re:Understanding the .NET ecosystem: The evolution of .NET i... by all2 on Tuesday March 21, 2023 @11:20PM (#35256400)
Also emacs has a pretty good csharp language server integration. I personally use the Spacemacs "dotnet" layer.
Re:Understanding the .NET ecosystem: The evolution of .NET i... by emodendroket on Tuesday March 21, 2023 @08:13PM (#35254774)
I prefer Rider as a C# IDE whether it's Windows or Linux, although the last time I was doing this there were still a handful of things you needed VS for.
Re:Understanding the .NET ecosystem: The evolution of .NET i... by osigurdson on Tuesday March 21, 2023 @08:11PM (#35254753)
Yes, everything is completely free, open source.
Re:Understanding the .NET ecosystem: The evolution of .NET i... by Kipters on Tuesday March 21, 2023 @08:24PM (#35254897)
Everything but the debugger sadly
Re:Understanding the .NET ecosystem: The evolution of .NET i... by lll-o-lll on Tuesday March 21, 2023 @11:25PM (#35256424)
I know! How crap is that? As a result, no debugging on a Raspberry PI.

It turned me right off C# outside of work. There are plenty of other languages that are better suited for hobby development.

Re:Understanding the .NET ecosystem: The evolution of .NET i... by Rapzid on Wednesday March 22, 2023 @01:20AM (#35257123)
The why is Visual Studio. The VPs running that div are a bunch of Muppets who are constantly trying their best to destroy the OSS .Net projects reputation.

The cynic in me suspects all the drama was directly related to Scott Hanselman suddenly losing interest in bloggin.

Re:Understanding the .NET ecosystem: The evolution of .NET i... by osigurdson on Wednesday March 22, 2023 @01:30AM (#35257197)
Monetizing software is so incredibly indirect. Obviously companies don't make any money on free frameworks and tooling. These days, using C#/.NET maybe/kinda/sorta increases the chances that you might deploy on Azure or use Azure services. That tiny (or not so tiny) uptick easily funds all C# / .NET ecosystem development.

I'm not sure why they do not open source the debugger. I suppose it is obvious to some extent that some companies (JetBrains) are able to charge for high quality tooling. Microsoft makes a trickle of money from Visual Studio professional.

Though the objective function and decision variables are somewhat opaque, this is clearly an optimization problem.