Enhancing Java Streams API with PowerList Computation (original) (raw)
2020 IEEE International Parallel and Distributed Processing Symposium Workshops (IPDPSW)
Abstract
Since they were introduced, Java streams were very fast embraced by the industry, being currently used at a large scale. The parallelism enabled by them is very easy to achieve, but it is constrained either by the used parallelism model (in some cases), or by the set of operations that could be specified using streams. We investigate in this paper the possibility to enhance the computation types that could be defined using the Java streams API by introducing into this infrastructure the PowerList theory based computation. Powerlists are recursive data structures that together with their associated algebraic theory offer both abstractions in order to ease the development of parallel applications, and also a methodology to design parallel algorithms. The Java streaming infrastructure could be adapted to support them in a great measure. We present here such an adaptation, and we analyse and discuss the advantages and constraints. This analysis is exemplified by application examples.
Virginia Niculescu hasn't uploaded this paper.
Let Virginia know you want this paper to be uploaded.
Ask for this paper to be uploaded.