Re:System.Linq.Parallel Is Now Open Source
by mhaymo on Wednesday December 03, 2014 @07:53AM
(#8693436)
Can anyone knowledgeable tell us how this compares to Java's parallel streams?
[ Parent
| on HN ]
Re:System.Linq.Parallel Is Now Open Source
by kasey_junk on Wednesday December 03, 2014 @09:55AM
(#8693995)
LINQ/PLINQ are the obvious inspirations for Java 8s stream API. I don't know if they are exactly functionally equivalent but streams bring declarative style programming to Java iterable collections that C# has had for years.
But, don't be confused by the .NET Rx libraries which provide LINQ style methods to observable event streams and have been ported as RxJava. Personally, I think that is a better use of the term streams and find the Java 8 standard streams name confusing.