{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,9,12]],"date-time":"2026-09-12T01:54:44Z","timestamp":1789178084597,"version":"build-2803163510"},"reference-count":34,"publisher":"Association for Computing Machinery (ACM)","issue":"OOPSLA","license":[{"start":{"date-parts":[[2020,11,13]],"date-time":"2020-11-13T00:00:00Z","timestamp":1605225600000},"content-version":"vor","delay-in-days":0,"URL":"https:\/\/creativecommons.org\/licenses\/by\/4.0\/"}],"funder":[{"name":"NSF","award":["1725679"],"award-info":[{"award-number":["1725679"]}]}],"content-domain":{"domain":["dl.acm.org"],"crossmark-restriction":true},"short-container-title":["Proc. ACM Program. Lang."],"published-print":{"date-parts":[[2020,11,13]]},"abstract":"<jats:p>Build scripts for most build systems describe the actions to run, and the dependencies between those actions - but often build scripts get those dependencies wrong. Most build scripts have both too few dependencies (leading to incorrect build outputs) and too many dependencies (leading to excessive rebuilds and reduced parallelism). Any programmer who has wondered why a small change led to excess compilation, or who resorted to a clean step, has suffered the ill effects of incorrect dependency specification. We outline a build system where dependencies are not specified, but instead captured by tracing execution. The consequence is that dependencies are always correct by construction and build scripts are easier to write. The simplest implementation of our approach would lose parallelism, but we are able to recover parallelism using speculation.<\/jats:p>","DOI":"10.1145\/3428237","type":"journal-article","created":{"date-parts":[[2020,11,24]],"date-time":"2020-11-24T23:40:14Z","timestamp":1606261214000},"page":"1-28","update-policy":"https:\/\/doi.org\/10.1145\/crossmark-policy","source":"Crossref","is-referenced-by-count":7,"title":["Build scripts with perfect dependencies"],"prefix":"10.1145","volume":"4","author":[{"given":"Sarah","family":"Spall","sequence":"first","affiliation":[{"name":"Indiana University, USA"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Neil","family":"Mitchell","sequence":"additional","affiliation":[{"name":"Facebook, UK"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Sam","family":"Tobin-Hochstadt","sequence":"additional","affiliation":[{"name":"Indiana University, USA"}],"role":[{"vocabulary":"crossref","role":"author"}]}],"member":"320","published-online":{"date-parts":[[2020,11,13]]},"reference":[{"key":"e_1_2_2_1_1","unstructured":"Jorge Acereda. 2019. FSATrace: filesystem access tracer. ( 2019 ). https:\/\/github.com\/jacereda\/fsatrace.  Jorge Acereda. 2019. FSATrace: filesystem access tracer. ( 2019 ). https:\/\/github.com\/jacereda\/fsatrace."},{"key":"e_1_2_2_2_1","doi-asserted-by":"crossref","unstructured":"Lennart Augustsson Mikael Rittri and Dan Synek. 1994. On generating unique names. JFP 4 ( 01 1994 ) 117-123.  Lennart Augustsson Mikael Rittri and Dan Synek. 1994. On generating unique names. JFP 4 ( 01 1994 ) 117-123.","DOI":"10.1017\/S0956796800000988"},{"key":"e_1_2_2_3_1","doi-asserted-by":"crossref","unstructured":"Cor-Paul Bezemer Shane McIntosh Bram Adams Daniel German and Ahmed Hassan. 2017. An empirical study of unspecified dependencies in Make-based build systems. Empirical Software Engineering 22 6 ( 2017 ) 3117-3148.  Cor-Paul Bezemer Shane McIntosh Bram Adams Daniel German and Ahmed Hassan. 2017. An empirical study of unspecified dependencies in Make-based build systems. Empirical Software Engineering 22 6 ( 2017 ) 3117-3148.","DOI":"10.1007\/s10664-017-9510-8"},{"key":"e_1_2_2_4_1","first-page":"79","volume-title":"LISA","volume":"4","author":"Dolstra Eelco","year":"2004","unstructured":"Eelco Dolstra , Merijn De Jonge , Eelco Visser , and others. 2004 . Nix: A Safe and Policy-Free System for Software Deployment . In LISA , Vol. 4 . 79 - 92 . Eelco Dolstra, Merijn De Jonge, Eelco Visser, and others. 2004. Nix: A Safe and Policy-Free System for Software Deployment. In LISA, Vol. 4. 79-92."},{"key":"e_1_2_2_5_1","volume-title":"The Go Programming Language","author":"Donovan Alan","unstructured":"Alan Donovan and Brian Kernighan . 2015. The Go Programming Language ( 1 st ed.). Addison-Wesley Professional . Alan Donovan and Brian Kernighan. 2015. The Go Programming Language (1st ed.). Addison-Wesley Professional.","edition":"1"},{"key":"e_1_2_2_6_1"},{"key":"e_1_2_2_7_1","doi-asserted-by":"crossref","unstructured":"Stuart Feldman. 1979. Make-A program for maintaining computer programs. Software: Practice and experience 9 4 ( 1979 ) 255-265.  Stuart Feldman. 1979. Make-A program for maintaining computer programs. Software: Practice and experience 9 4 ( 1979 ) 255-265.","DOI":"10.1002\/spe.4380090402"},{"key":"e_1_2_2_8_1","unstructured":"Google. 2009. Generate Your Projects. ( 2009 ). https:\/\/gyp.gsrc.io\/.  Google. 2009. Generate Your Projects. ( 2009 ). https:\/\/gyp.gsrc.io\/."},{"key":"e_1_2_2_9_1","unstructured":"Google. 2016. Bazel. ( 2016 ). http:\/\/bazel.io\/.  Google. 2016. Bazel. ( 2016 ). http:\/\/bazel.io\/."},{"key":"e_1_2_2_10_1","volume-title":"Fabricate: The better build tool. ( 2009 ). https:\/\/github.com\/SimonAlfie\/ fabricate.","author":"Hoyt Berwyn","year":"2009","unstructured":"Berwyn Hoyt , Bryan Hoyt , and Ben Hoyt . 2009 . Fabricate: The better build tool. ( 2009 ). https:\/\/github.com\/SimonAlfie\/ fabricate. Berwyn Hoyt, Bryan Hoyt, and Ben Hoyt. 2009. Fabricate: The better build tool. ( 2009 ). https:\/\/github.com\/SimonAlfie\/ fabricate."},{"key":"e_1_2_2_11_1","first-page":"97","article-title":"Functional programming with overloading and higher-order polymorphism","author":"Jones Mark","year":"1995","unstructured":"Mark Jones . 1995 . Functional programming with overloading and higher-order polymorphism . In Advanced Functional Programming, First International Spring School on Advanced Functional Programming Techniques. 97 - 136 . Mark Jones. 1995. Functional programming with overloading and higher-order polymorphism. In Advanced Functional Programming, First International Spring School on Advanced Functional Programming Techniques. 97-136.","journal-title":"Advanced Functional Programming, First International Spring School on Advanced Functional Programming Techniques."},{"key":"e_1_2_2_12_1","unstructured":"Oleg Kiselyov. 2015. Polyvariadic functions and keyword arguments: pattern-matching on the type of the context. ( 2015 ). http:\/\/okmij.org\/ftp\/Haskell\/polyvariadic.html.  Oleg Kiselyov. 2015. Polyvariadic functions and keyword arguments: pattern-matching on the type of the context. ( 2015 ). http:\/\/okmij.org\/ftp\/Haskell\/polyvariadic.html."},{"key":"e_1_2_2_13_1"},{"key":"e_1_2_2_14_1","doi-asserted-by":"publisher","DOI":"10.22152\/programming-journal.org\/2018\/2\/9"},{"key":"e_1_2_2_15_1","doi-asserted-by":"publisher","DOI":"10.1109\/ICSE.2019.00125"},{"key":"e_1_2_2_16_1","unstructured":"Bill McCloskey. 2008. Memoize. ( 2008 ). https:\/\/github.com\/kgaughan\/memoize.py.  Bill McCloskey. 2008. Memoize. ( 2008 ). https:\/\/github.com\/kgaughan\/memoize.py."},{"key":"e_1_2_2_17_1","doi-asserted-by":"publisher","DOI":"10.1145\/1985793.1985813"},{"key":"e_1_2_2_18_1","unstructured":"Microsoft. 2020. Build Accelerator. ( 2020 ). https:\/\/github.com\/microsoft\/BuildXL.  Microsoft. 2020. Build Accelerator. ( 2020 ). https:\/\/github.com\/microsoft\/BuildXL."},{"key":"e_1_2_2_19_1","article-title":"Recursive Make considered harmful","volume":"19","author":"Miller Peter","year":"1998","unstructured":"Peter Miller . 1998 . Recursive Make considered harmful . Journal of AUUG Inc 19 , 1 ( 1998 ), 14-25. Peter Miller. 1998. Recursive Make considered harmful. Journal of AUUG Inc 19, 1 ( 1998 ), 14-25.","journal-title":"Journal of AUUG Inc"},{"key":"e_1_2_2_20_1","first-page":"55","volume-title":"Proceedings of ICFP","author":"Mitchell Neil","year":"2012","unstructured":"Neil Mitchell . 2012 . Shake Before Building-Replacing Make with Haskell . In Proceedings of ICFP 2012. ACM, 55 - 66 . Neil Mitchell. 2012. Shake Before Building-Replacing Make with Haskell. In Proceedings of ICFP 2012. ACM, 55-66."},{"key":"e_1_2_2_21_1","unstructured":"Neil Mitchell. 2020. File access tracing. ( 2020 ). https:\/\/neilmitchell.blogspot.com\/ 2020 \/05\/file-tracing.html.  Neil Mitchell. 2020. File access tracing. ( 2020 ). https:\/\/neilmitchell.blogspot.com\/ 2020 \/05\/file-tracing.html."},{"key":"e_1_2_2_22_1","unstructured":"Andrey Mokhov. 2019. Stroll: an experimental build system. ( 2019 ). https:\/\/blogs.ncl.ac.uk\/andreymokhov\/stroll\/.  Andrey Mokhov. 2019. Stroll: an experimental build system. ( 2019 ). https:\/\/blogs.ncl.ac.uk\/andreymokhov\/stroll\/."},{"key":"e_1_2_2_23_1","doi-asserted-by":"publisher","DOI":"10.1145\/3236774"},{"key":"e_1_2_2_24_1","doi-asserted-by":"publisher","DOI":"10.1145\/2976002.2976011"},{"key":"e_1_2_2_25_1","doi-asserted-by":"crossref","unstructured":"Edmund Nightingale Peter Chen and Jason Flinn. 2005. Speculative execution in a distributed file system. ACM SIGOPS operating systems review 39 5 ( 2005 ) 191-205.  Edmund Nightingale Peter Chen and Jason Flinn. 2005. Speculative execution in a distributed file system. ACM SIGOPS operating systems review 39 5 ( 2005 ) 191-205.","DOI":"10.1145\/1095809.1095829"},{"key":"e_1_2_2_26_1","volume-title":"Computer Organization and Design","author":"Patterson David","unstructured":"David Patterson and John Hennessy . 2013. Computer Organization and Design , Fifth Edition : The Hardware\/Software Interface (5th ed.). Morgan Kaufmann Publishers Inc ., San Francisco, CA, USA. David Patterson and John Hennessy. 2013. Computer Organization and Design, Fifth Edition : The Hardware\/Software Interface (5th ed.). Morgan Kaufmann Publishers Inc., San Francisco, CA, USA."},{"key":"e_1_2_2_27_1","unstructured":"David Roundy. 2019a. Bigbro. ( 2019 ). https:\/\/github.com\/droundy\/bigbro.  David Roundy. 2019a. Bigbro. ( 2019 ). https:\/\/github.com\/droundy\/bigbro."},{"key":"e_1_2_2_28_1","unstructured":"David Roundy. 2019b. Fac build system. ( 2019 ). https:\/\/sites.science.oregonstate.edu\/~roundyd\/fac\/.  David Roundy. 2019b. Fac build system. ( 2019 ). https:\/\/sites.science.oregonstate.edu\/~roundyd\/fac\/."},{"key":"e_1_2_2_29_1","doi-asserted-by":"publisher","DOI":"10.1145\/581690.581691"},{"key":"e_1_2_2_30_1","article-title":"A scalable approach to thread-level speculation","volume":"28","author":"Stefan J Gregory","year":"2000","unstructured":"J Gregory Stefan , Christopher Colohan , Antonia Zhai , and Todd Mowry . 2000 . A scalable approach to thread-level speculation . ACM SIGARCH Computer Architecture News 28 , 2 ( 2000 ), 1-12. J Gregory Stefan, Christopher Colohan, Antonia Zhai, and Todd Mowry. 2000. A scalable approach to thread-level speculation. ACM SIGARCH Computer Architecture News 28, 2 ( 2000 ), 1-12.","journal-title":"ACM SIGARCH Computer Architecture News"},{"key":"e_1_2_2_31_1","doi-asserted-by":"publisher","DOI":"10.1109\/HPCA.1998.650541"},{"key":"e_1_2_2_32_1","doi-asserted-by":"publisher","DOI":"10.1145\/859716.859720"},{"key":"e_1_2_2_34_1","doi-asserted-by":"publisher","DOI":"10.1147\/rd.111.0025"},{"key":"e_1_2_2_35_1","doi-asserted-by":"publisher","DOI":"10.1145\/1094811.1094845"}],"container-title":["Proceedings of the ACM on Programming Languages"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/dl.acm.org\/doi\/10.1145\/3428237","content-type":"unspecified","content-version":"vor","intended-application":"text-mining"},{"URL":"https:\/\/dl.acm.org\/doi\/pdf\/10.1145\/3428237","content-type":"application\/pdf","content-version":"vor","intended-application":"syndication"},{"URL":"https:\/\/dl.acm.org\/doi\/pdf\/10.1145\/3428237","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2025,6,17]],"date-time":"2025-06-17T22:02:57Z","timestamp":1750197777000},"score":1,"resource":{"primary":{"URL":"https:\/\/dl.acm.org\/doi\/10.1145\/3428237"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2020,11,13]]},"references-count":34,"journal-issue":{"issue":"OOPSLA","published-print":{"date-parts":[[2020,11,13]]}},"alternative-id":["10.1145\/3428237"],"URL":"https:\/\/doi.org\/10.1145\/3428237","relation":{},"ISSN":["2475-1421"],"issn-type":[{"value":"2475-1421","type":"electronic"}],"subject":[],"published":{"date-parts":[[2020,11,13]]},"assertion":[{"value":"2020-11-13","order":2,"name":"published","label":"Published","group":{"name":"publication_history","label":"Publication History"}}]}}