News for hackers. Stuff that matters.
Re:“ZLinq”, a Zero-Allocation LINQ Library for .NET by garganzol on Wednesday May 21, 2025 @06:43AM (#44050073)
I know that some companies try to avoid LINQ as a rule. However, avoiding LINQ gives negligible gains most of the times.

Of course, if it's really a hot path like matrix multiplication then it makes total sense, but avoiding LINQ gives unpleasant side effect: loss of code soundness and quality.

Re:“ZLinq”, a Zero-Allocation LINQ Library for .NET by hoppp on Wednesday May 21, 2025 @06:11PM (#44056789)
I can understand avoiding it, it can get messy when used with large amounts of data fetched from an sql database, if the lazy dev uses Linq instead of implementing proper queries in SQL or using stored functions.