How Do People Deal Without LINQ?

How do you guys even query lists in your preferred programming languages? Does your language really not have stuff like LINQ which allows you to query lists for multiple conditions and create a totally new list?

Attached: 1654864677525.png (842x467, 60.9K)

Other urls found in this thread:

techempower.com/benchmarks/#section=data-r20&hw=cl&test=composite&a=2
twitter.com/SFWRedditVideos

In proper languages we call it UFCS, pajeet.

It's slow as fuck.

Slower than what? Create a C# program with LINQ code everywhere and it will only be second to Rust and C++

Real languages like F# don't need such things.

No it's not

Right. Need that optimal fizzbuzz performance you fat NEET fuck.

Where's your benchmark? The tradeoff of LINQ has always been speed.

In Rust, we just use iterators. Seems to work just fine.

Then even node will be faster. Unless something changed since 2019.

vendorQuery = sortOn companyName . filter ((`elem` "Toy") . companyName) $ vendors

They work great, not like that crap LINQ they talking about.

LINQ is ubiquitous in the dotnet world. Its a standard. It used to represent a noticeable performance loss but a lot of things changed this last decade. Even EF Core got close to the performance of ADO.NET and can be as performant as your raw SQL Queries if used correctly.

In the TechEmpower benchmarks, regardless of the month or the iteration, dotnet apps will always rank just behind C++ and C

techempower.com/benchmarks/#section=data-r20&hw=cl&test=composite&a=2

Node is at least 20x slower than a very average asp.net core program that uses LINQ and EF Core.

>just behind C++ and Rust*

>it will only be second to Rust
This is embarrassing, though.

Trolling and coping this much

Not when you get the productivity and ease of use of interpreted languages with that level of performance. Creating and deploying a full featured ASP.NET solution today is most likely faster than doing the same in Django. With Rust you're the least productive you could ever be and the language is not convenient to use at all.

Oh well, I thought that C# had dropped the Java mentality of "we only need to be slightly faster than Python".

It's actually 44x times faster than Python. They're closing the gap with Rust and dotnet 6 processes queries and computation faster than Go.

Modern C# is not that much behind Rust in performance. The 5ms performance advantage your Rust program will get useless. The real difference is in productivity and convenience. Using C# feels like cheating while using Rust feels like being punished. You move slow, there is no such thing as convenience and you're less productive than with C++. The real advantage of C# is that it manages to get system level performance with Python levels of productivity.

>How Do People Deal Without LINQ?
They write code the traditional way. Personally I think LINQ is great for database queries but not much for anything else.

Attached: gibbs.jpg (520x577, 67.78K)

Hard to beat Rust when it has no runtime GC and the memory is managed at the compile time.