Back to Search
Start Over
Watch Out for that Tree! A Tutorial on Shortcut Deforestation
- Source :
- Central European Functional Programming School ISBN: 9783030283452, CEFP
- Publication Year :
- 2019
- Publisher :
- Springer International Publishing, 2019.
-
Abstract
- Functional programmers are strong enthusiasts of modular solutions to programming problems. Since software characteristics such as readability or maintainability are often directly proportional to modularity, this programming style naturally contributes to the beauty of functional programs. Unfortunately, in return of this beauty we often sacrifice efficiency: modular programs rely, at runtime, on the creation, use and elimination of intermediate data structures to connect its components. In this tutorial paper, we study an advanced technique that attempts to retain the best of this two worlds: (i) it allows programmers to implement beautiful, modular programs (ii) it shows how to transform such programs, in a way that can be incorporated in a compiler, into programs that do not construct any intermediate structure.<br />(undefined)
- Subjects :
- business.industry
Computer science
Programming language
media_common.quotation_subject
Maintainability
Ciências Naturais::Ciências da Computação e da Informação
020207 software engineering
0102 computer and information sciences
02 engineering and technology
Construct (python library)
15. Life on land
Modular design
Data structure
computer.software_genre
01 natural sciences
Programming style
Software
010201 computation theory & mathematics
0202 electrical engineering, electronic engineering, information engineering
Deforestation (computer science)
Compiler
business
computer
Engenharia e Tecnologia::Engenharia Eletrotécnica, Eletrónica e Informática
media_common
Subjects
Details
- ISBN :
- 978-3-030-28345-2
- ISBNs :
- 9783030283452
- Database :
- OpenAIRE
- Journal :
- Central European Functional Programming School ISBN: 9783030283452, CEFP
- Accession number :
- edsair.doi.dedup.....1b33db59fe4acd21190c051fbf6c3878
- Full Text :
- https://doi.org/10.1007/978-3-030-28346-9_1