News for hackers. Stuff that matters.
Re:Go Chainable: .map().filter().reduce() in Go by tptacek on Monday March 07, 2022 @01:01AM (#30584638)
I don't love libraries like this and feel like they work against the idiom in Go; I'm skeptical that things like this will be part of the idiom going forward. But Rust isn't all wine and roses with this stuff either; obviously, it's a much more powerful generics system, but closures are much more annoying to work with than they are in Go, where everything just magically escapes to the heap when you need it to.
Re:Go Chainable: .map().filter().reduce() in Go by Sytten on Monday March 07, 2022 @01:44AM (#30584857)
I used to hate the closure from rust but I learned to love it. With golang its a PITA to track down performance issues die to heap escape where it is explicit in rust.