|
Yeah, this is just a bunch of AI slop, but, ehhm... I really don't get all the CLR GC hate? Sure, if you're running a 24-months-ago Mono build, and your game performs like crap, I can sort-of sympathize, but otherwise? Look, I'm all-in on CLR/C#, and one of my 'apps' is a 24/7 industrial camera monitoring system, and it has been running for the past, like, 3 months, on .NET 10 with "GCSettings.LatencyMode = GCLatencyMode.SustainedLowLatency" and "stackalloc" where needed, and... Its performance, handling 8x ~800Mb/s streams has been... absolutely okay: 0 bytes over-allocated in the past 90 days (which is the last time my CoreOS-deployment auto-rebooted: all nodes are behind a VPN and outbound-only, so the latest OMG-CRITICAL-CVE doesn't really apply), so... "If it works, it works" |
Hell, I actually wrote one once; it was an Elixir app port to Akka.NET, but for performance and business requirements, due to various large broadcast messages of updates (as well as a policy/setup of killing an IIS worker if it hit over a certain limit,) I actually had to manually set GCHeapHardLimit via runtimeconfig; We would produce a lot of LOH stuff and somehow the way the allocator behaved as far as lack of compaction by default and the way server GC segments work on multicore, well it caused the process to frequently go over the IIS limit and kick the process.
Once we set GCHeapHardLimit (cause that magically enables LOH compaction,) all of those problems went away. Thing was smooth as silk after that (Well, at least until they added Dynatrace APM to the servers which caused a problem on every failover update of the SQL Backend...)