News for hackers. Stuff that matters.
Re:A curated list of .NET performance resources by fnord123 on Thursday March 18, 2021 @06:35AM (#26501287)
> as far as I've heard from HFT people Java's relatively popular in HFT

Java's popularity depends how HF in HFT is and the threshold for pain developers are willing to go through to develop Java in a way to avoid GC and reduce memory use (and hence reduce cache misses)

Deploying to Linux boxen in colocation facilities is the norm and there is little/no culture of using dotNet on Linux. We all know it exists and it's open source now, but most Linux developers don't reach for dotNet.

Re:A curated list of .NET performance resources by tester34 on Thursday March 18, 2021 @07:04AM (#26501436)
>and there is little/no culture of using dotNet on Linux. We all know it exists and it's open source now, but most Linux developers don't reach for dotNet.

it's pretty weird sentence "most Linux developers dont use dotNet", but on the other hands dotNet (Core) developers definitely do use Linux - I have dotNet things on Linux on prod for 2 years atm

Re:A curated list of .NET performance resources by goodoldneon on Thursday March 18, 2021 @08:31AM (#26501958)
Just because some people do a thing doesn’t mean most people do that thing. Most Linux devs don’t use .NET. Maybe they have technical reasons or maybe they just don’t want to use a Microsoft product
Re:A curated list of .NET performance resources by yread on Thursday March 18, 2021 @09:01AM (#26502200)
most people don't do HFT programming either
Re:A curated list of .NET performance resources by blandflakes on Thursday March 18, 2021 @09:31AM (#26502466)
Right, so wouldn't intersecting those groups be even harder?
Re:A curated list of .NET performance resources by mikeyjk on Thursday March 18, 2021 @09:36AM (#26502525)
This sort of sounds like 2 clashing sets of anecdotal data.
Re:A curated list of .NET performance resources by mattferderer on Thursday March 18, 2021 @09:45AM (#26502605)
Deployed a small internal .NET Core app on Linux recently. So far it's worked great! I've done a few major version package updates as well without issue.
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.