News for hackers. Stuff that matters.
Re:Memory usage of a toy C# server and client with 500K conc... by moogly on Saturday January 26, 2019 @09:00PM (#19009945)
A lot of people in the C# community actually use Paket (F#'s package manager) because NuGet is a complete shit-show. I'm about to do that change myself, because NuGet is truly one of the worst package managers I've ever used (and that is saying something).
Re:Memory usage of a toy C# server and client with 500K conc... by brianberns on Sunday January 27, 2019 @12:02AM (#19010415)
I’m an F# developer in a C# shop, so I’ve only used NuGet. Can you enumerate some of the advantages of Paket?
Re:Memory usage of a toy C# server and client with 500K conc... by chusk3 on Sunday January 27, 2019 @12:10AM (#19010435)
paraphrasing from the main site(https://fsprojects.github.io/Paket/):

> Paket is a dependency manager for .NET and mono projects, which is designed to work well with NuGet packages and also enables referencing files directly from Git repositories or any HTTP resource. It enables precise and predictable control over what packages the projects within your application reference.

The big change is solution-level dependency management instead of the nuget-default project-level management, so you always have the same versions of dependencies across all projects in a solution. It also uses a lockfile for these versions so that restores are idempotent. It also allows for fetching independent files from HTTP-accessible locations or git repos, which is nice in F# because the language is succinct and enables you to reuse modules without going through the rigamarole of making and publishing nuget packages.

Re:Memory usage of a toy C# server and client with 500K conc... by pjmlp on Sunday January 27, 2019 @04:20AM (#19011036)
I use .NET on and off since the pre-beta days (priviledges of working at an MSFT partner) and never seen anyone use Paket, other than on F# tweets.
Re:Memory usage of a toy C# server and client with 500K conc... by JamesBarney on Sunday January 27, 2019 @11:20AM (#19012263)
This is different from my experience. I've find that I run into 10 npm issues for every nuget issue.