News for hackers. Stuff that matters.
Re:Understanding Rust futures by going way too deep by MrBuddyCasino on Monday July 26, 2021 @05:08AM (#27957280)
I didn't mean "typical" as in "most Rust fn signatures are like that", obviously most functions are far simpler. Who would even claim that?

I meant "you will only encounter this level of generics complexity in Rust" (disclaimer: I don't know C++). They can't be that rare either, I have not written a lot of Rust but already encountered similar constructs multiple times. But admittedly that might be partly due to no-std requirements.

Re:Understanding Rust futures by going way too deep by jen20 on Monday July 26, 2021 @02:21PM (#27963124)
C#'s `Tuple<T1,T2,T3,T4,T5,T6,T7,TRest>` [1] would like a word!

[1[: https://docs.microsoft.com/en-us/dotnet/api/system.tuple-8?v...