Utilize este identificador para referenciar este registo:
https://hdl.handle.net/1822/68620
Título: | Java stream fusion: Adapting FP mechanisms for an OO setting |
Autor(es): | Ribeiro, Francisco Saraiva, João Pardo, Alberto |
Palavras-chave: | Functional Programming Object-Oriented Programming Program Fusion |
Data: | 2019 |
Editora: | Association for Computing Machinery (ACM) |
Resumo(s): | In this paper, we show how stream fusion, a program transformation technique used in functional programming, can be adapted for an Object-Oriented setting. This makes it possible to have more Stream operators than the ones currently provided by the Java Stream API. The addition of more operators allows for a greater deal of expressiveness. To this extent, we show how these operators are incorporated in the stream setting. Furthermore, we also demonstrate how a specific set of optimizations eliminates overheads and produces equivalent code in the form of for loops. In this way, programmers are relieved from the burden of writing code in such a cumbersome style, thus allowing for a more declarative and intuitive programming approach. |
Tipo: | Artigo em ata de conferência |
URI: | https://hdl.handle.net/1822/68620 |
ISBN: | 9781450376389 |
DOI: | 10.1145/3355378.3355386 |
Versão da editora: | https://dl.acm.org/doi/10.1145/3355378.3355386 |
Arbitragem científica: | yes |
Acesso: | Acesso aberto |
Aparece nas coleções: |