News for hackers. Stuff that matters.
Re:A curated list of .NET performance resources by TeMPOraL on Thursday March 18, 2021 @07:02AM (#26501429)
> but most Linux developers don't reach for dotNet

On that note, how bad is .NET experience on Linux vs. on Windows? Besides the IDE (MonoDevelop is no Visual Studio).

I was about to dig into this topic soon - I'm particularly interested in how useful PowerShell is on Linux these days. On Windows, I appreciate the deep .NET interop it offers; I think it's closest experience to Lisp Machines that you can find in mainstream computing.

EDIT: Big thanks to the commenters who mentioned Rider, I didn't realize JetBrains had an IDE for .NET!

That said, to clarify my comment above, I'm more interested in the experience with the platform itself - how does .NET Core work on Linux in terms of performance, fragility, access to first-party and third-party libraries? Can I expect non-UI .NET code to port well to Linux? And, in PowerShell, do I get to do things like Add-Type "<insert bunch of C# code here>", or $foo = [Some.dotNET.Type]::new()?

Re:A curated list of .NET performance resources by philliphaydon on Thursday March 18, 2021 @07:24AM (#26501542)
I've been full time .NET Core on Ubuntu since Jan 2020. With the occasional booting a windows VM for a legacy project.

JetBrains Rider is such a pleasure to work with.

Re:A curated list of .NET performance resources by scaladev on Thursday March 18, 2021 @11:49AM (#26503911)
>Can I expect non-UI .NET code to port well to Linux

If it wasn't written with tons of pinvoke to win32 or using Windows-only services (like WCF), then sure.

I've been building NET Core applications for Linux and exclusively on Linux for a few years now, mostly using Rider as the IDE. No complaints. I haven't seen any Windows-exclusive libraries worthy of any attention in all that time. Even libraries with tons of native code (like imagemagick) have Linux support.

The official MS tooling is behind what they offer on windows, but it's getting there. You can collect GC and memory dumps

https://docs.microsoft.com/en-us/dotnet/core/diagnostics/dot...

https://docs.microsoft.com/en-us/dotnet/core/diagnostics/dot...

traces:

https://docs.microsoft.com/en-us/dotnet/core/diagnostics/dot...

and here's the port of the veritable sos tool:

https://docs.microsoft.com/en-us/dotnet/core/diagnostics/dot...

Re:A curated list of .NET performance resources by tester34 on Thursday March 18, 2021 @07:05AM (#26501445)
I think people on Linux go for Rider/VS Code instead of MonoDevelop
Re:A curated list of .NET performance resources by pbz on Thursday March 18, 2021 @08:47AM (#26502097)
It's been rock solid for us. We're not using PS on Linux, just running/building binaries.
Re:A curated list of .NET performance resources by lol768 on Thursday March 18, 2021 @07:27AM (#26501567)
Rider is great and surpasses Visual Studio in my opinion.
Re:A curated list of .NET performance resources by tasogare on Thursday March 18, 2021 @10:16AM (#26502915)
I use mainly MacOs with VS Code (it’s no match for the real VS) and deploy dotnet apps in Linux containers (alpine). It’s a small app which more than an hundred users and it’s run fine for a year. I never add issues with libraries only available for Windows.
Re:A curated list of .NET performance resources by hackerfromthefu on Thursday March 18, 2021 @09:57AM (#26502718)
Its first class these days. You have native linux powershell, sql server, .net 5 (which is 4th linux/core version), vscode/rider or use visual studio with windows subsystem for linux.