Utilize este identificador para referenciar este registo: https://hdl.handle.net/1822/68620

TítuloJava stream fusion: Adapting FP mechanisms for an OO setting
Autor(es)Ribeiro, Francisco
Saraiva, João
Pardo, Alberto
Palavras-chaveFunctional Programming
Object-Oriented Programming
Program Fusion
Data2019
EditoraAssociation 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.
TipoArtigo em ata de conferência
URIhttps://hdl.handle.net/1822/68620
ISBN9781450376389
DOI10.1145/3355378.3355386
Versão da editorahttps://dl.acm.org/doi/10.1145/3355378.3355386
Arbitragem científicayes
AcessoAcesso aberto
Aparece nas coleções:HASLab - Artigos em atas de conferências internacionais (texto completo)

Ficheiros deste registo:
Ficheiro Descrição TamanhoFormato 
paper.pdf683,96 kBAdobe PDFVer/Abrir

Partilhe no FacebookPartilhe no TwitterPartilhe no DeliciousPartilhe no LinkedInPartilhe no DiggAdicionar ao Google BookmarksPartilhe no MySpacePartilhe no Orkut
Exporte no formato BibTex mendeley Exporte no formato Endnote Adicione ao seu ORCID