News for hackers. Stuff that matters.
Re:Show HN: Rill – Composable concurrency toolkit for Go by destel on Monday November 25, 2024 @03:20PM (#42239782)
The short answer would be: I kept writing a code that spawns goroutines, that read from a channel, do some processing and write results to another channel. Add some wait/err groups to this and we'll get a lot of boilerplate repeated all over the place. I viewed this as "channel transformations" and wanted to abstract it away. When generics came out it became technically possible.

Surprisingly, part of my inspiration came from scala (which I haven't touched since 2014). Back then Scala had transformable streams and the "Try" typethen.

There are no comments on this comment yet.