Article contents
Build systems à la carte: Theory and practice
Published online by Cambridge University Press: 21 April 2020
Abstract
Core share and HTML view are not available for this content. However, as you have access to this content, a full PDF is available via the ‘Save PDF’ action button.
Build systems are awesome, terrifying – and unloved. They are used by every developer around the world, but are rarely the object of study. In this paper, we offer a systematic, and executable, framework for developing and comparing build systems, viewing them as related points in a landscape rather than as isolated phenomena. By teasing apart existing build systems, we can recombine their components, allowing us to prototype new build systems with desired properties.
- Type
- Research Article
- Information
- Creative Commons
- This is an Open Access article, distributed under the terms of the Creative Commons Attribution licence (http://creativecommons.org/licenses/by/4.0/), which permits unrestricted re-use, distribution, and reproduction in any medium, provided the original work is properly cited.
- Copyright
- © The Author(s) 2020. Published by Cambridge University Press
References
Acar, U. A., Blelloch, G. E. & Harper, R. (2002) Adaptive functional programming. In Proceedings of the 29th ACM SIGPLAN-SIGACT Symposium on Principles of Programming Languages (POPL). ACM, pp. 247–259.CrossRefGoogle Scholar
Acar, U. A., Blume, M. & Donham, J. (2007) A consistent semantics of self-adjusting computation. In European Symposium on Programming. Springer, pp. 458–474.CrossRefGoogle Scholar
Bernstein, D. J. (2003) Rebuilding target files when source files have changed. Available at: http://cr.yp.to/redo.htmlGoogle Scholar
Capriotti, P. & Kaposi, A. (2014) Free Applicative Functors. vol. 153. Open Publishing Association.CrossRefGoogle Scholar
Claessen, K. (1999) A poor man’s concurrency monad. J. Funct. Program., 9(3), 313–323.CrossRefGoogle Scholar
Cormen, T. H., Leiserson, C. E., Rivest, R. L. & Stein, C. (2001) Introduction to Algorithms. MIT Press.Google Scholar
De Levie, R. (2004) Advanced Excel for Scientific Data Analysis. Oxford University Press.Google Scholar
Demers, A., Reps, T. & Teitelbaum, T. (1981) Incremental evaluation for attribute grammars with application to syntax-directed editors. In Proceedings of the 8th ACM SIGPLAN-SIGACT Symposium on Principles of Programming Languages (POPL). ACM, pp. 105–116.CrossRefGoogle Scholar
Dolstra, E., De Jonge, M., Visser, E., et al. (2004) Nix: A safe and policy-free system for software deployment. In LISA, vol. 4, pp. 79–92.Google Scholar
Eichmann, D. (2019) Exploring cloud builds in Hadrian. Available at: https://web.archive.org/web/20191008171120/https://well-typed.com/blog/2019/08/exploring-cloud-builds-in-hadrian/Google Scholar
Erdweg, S., Lichter, M. & Weiel, M. (2015) A sound and optimal incremental build system with dynamic dependencies. ACM Sigplan Notices 50(10), 89–106.CrossRefGoogle Scholar
Esfahani, H., Fietz, J., Ke, Q., Kolomiets, A., Lan, E., Mavrinac, E., Schulte, W., Sanches, N. & Kandula, S. (2016) Cloudbuild: Microsoft’s distributed and caching build service. In Proceedings of the 38th International Conference on Software Engineering Companion. ACM, pp. 11–20.CrossRefGoogle Scholar
Estevez, P. & Shetty, D. (2019) Translation of Build Systems à la Carte to Kotlin. Available at: https://web.archive.org/web/20191021224324/https://github.com/arrow-kt/arrow/blob/paco-tsalc/modules/docs/arrow-examples/src/test/kotlin/arrow/BuildSystemsALaCarte.kt.
Google Scholar
Facebook. (2013) Buck: A high-performance build tool. Available at: https://buckbuild.com/Google Scholar
Feldman, S. I. (1979) Make—a program for maintaining computer programs. Software Pract. Exp. 9(4), 255–265.CrossRefGoogle Scholar
Gandhi, V. (2018) Translation of build systems à la Carte to Rust. Available at: https://web.archive.org/web/20191020001014/https://github.com/cutculus/bsalc-alt-code/blob/master/BSalC.rsGoogle Scholar
GRAIL. (2017) Reflow: A system for incremental data processing in the cloud. Available at: https://github.com/grailbio/reflowGoogle Scholar
Grosskurth, A. (2007) Purely top-down software rebuilding. M.Phil. thesis, University of Waterloo.Google Scholar
Hoyt, B., Hoyt, B. & Hoyt, B. (2009) Fabricate: The better build tool. Available at: https://github.com/SimonAlfie/fabricateGoogle Scholar
Hughes, J. (2000) Generalising monads to arrows. Sci. Comput. Program. 37(1–3), 67–111.CrossRefGoogle Scholar
Hykes, S. (2013) Docker container: A standardized unit of software. Available at: https://www.docker.com/what-containerGoogle Scholar
Street, Jane. (2015) Incremental: A library for incremental computations. Available at: https://github.com/janestreet/incrementalGoogle Scholar
Street, Jane. (2018) Dune: A composable build system. Available at: https://github.com/ocaml/duneGoogle Scholar
Jaskelioff, M. & O’Connor, R. (2015) A representation theorem for second-order functionals. J. Funct. Program. 25, E13.CrossRefGoogle Scholar
Kosara, R. (2008) Decimal expansion of A(4,2). Available at: https://web.archive.org/web/20080317104411/http://www.kosara.net/thoughts/ackermann42.htmlGoogle Scholar
Levenshtein, V. I. (1966) Binary codes capable of correcting deletions, insertions, and reversals. In Soviet Physics Doklady, vol. 10, No 8, pp. 707–710.Google Scholar
Liang, S. Hudak, P. & Jones, M. (1995) Monad transformers and modular interpreters. In Proceedings of the 22nd ACM SIGPLAN-SIGACT Symposium on Principles of Programming Languages. ACM, pp. 333–343.CrossRefGoogle Scholar
Marlow, S., Brandy, L., Coens, J. & Purdy, J. (2014) There is no fork: An abstraction for efficient, concurrent, and concise data access. ACM SIGPLAN Notices 49, 325–337.CrossRefGoogle Scholar
McBride, C. & Paterson, R. (2008) Applicative programming with effects. J. Funct. Program. 18(1), 1–13.CrossRefGoogle Scholar
Microsoft. (2011) Excel recalculation (msdn documentation). Available at: https://msdn.microsoft.com/en-us/library/office/bb687891.aspx. Also available in Internet Archive https://web.archive.org/web/20180308150857/https://msdn.microsoft.com/en-us/library/office/bb687891.aspxGoogle Scholar
Mitchell, N. (2012) Shake before building: Replacing Make with Haskell. ACM SIGPLAN Notices 47, 55–66.CrossRefGoogle Scholar
Mitchell, N. (2013) How to write fixed point build rules in Shake. Available at: https://stackoverflow.com/questions/14622169/how-to-write-fixed-point-build-rules-in-shake-e-g-latexGoogle Scholar
Mitchell, N. (2019) GHC rebuild times – shake profiling. Available at: https://neilmitchell.blogspot.com/2019/03/ghc-rebuild-times-shake-profiling.htmlGoogle Scholar
Mokhov, A., Mitchell, N., Peyton Jones, S. & Marlow, S. (2016) Non-recursive make considered harmful: Build systems at scale. In Proceedings of the 9th International Symposium on Haskell, Haskell 2016. ACM, pp. 170–181.CrossRefGoogle Scholar
Mokhov, A., Mitchell, N. & Peyton Jones, S. (2018) Build systems à la carte. Proc. ACM Program. Lang. 2(ICFP), 79:1–79:29.CrossRefGoogle Scholar
Mokhov, A., Lukyanov, G., Marlow, S. & Dimino, J. (2019) Selective applicative functors. Proc. ACM Program. Lang. 3(ICFP). https://dl.acm.org/doi/10.1145/3341694CrossRefGoogle Scholar
Pennarun, A. (2012) Redo: A top-down software build system. Available at: https://github.com/apenwarr/redoGoogle Scholar
Peyton Jones, S., Vytiniotis, D., Weirich, S. & Washburn, G. (2006) Simple unification-based type inference for GADTs. ACM SIGPLAN Notices 41, 50–61.CrossRefGoogle Scholar
Pottier, F. (2009) Lazy least fixed points in ML. http://gallium.inria.fr/~fpottier/publis/fpottier-fix.pdfGoogle Scholar
Radul, A. (2009) Propagation Networks: A Flexible and Expressive Substrate for Computation. Ph.D. thesis, MIT.
Google Scholar
Shal, M. (2009) Build system rules and algorithms. Available at: http://gittup.org/tup/build_system_rules_and_algorithms.pdf/Google Scholar
The, GHC Team. (2019) The Glasgow Haskell Compiler homepage. Available at: https://www.haskell.org/ghc/Google Scholar
You have
Access
Open access
- 7
- Cited by
Discussions
No Discussions have been published for this article.