2016 LLVM Developers’ Meeting: D. Dunbar “A New Architecture for Building Software”

LLVM · 7K views · 2016 · 40:33

Open on YouTube

Compilers, interpreters & program analysisTesting, debugging & developer toolstalkdated

Why Hacker News recommends it

Cited in build-system and C++ compile-time threads as Apple's work on incremental builds and the design behind llbuild.

What it is

Daniel Dunbar of Apple presents llbuild, a framework for building build systems, at the 2016 LLVM Developers' Meeting. He argues that the traditional way C compilers integrate with build systems limits compile speed, and proposes a new architecture.

Recommended by 1 HN commenters across 1 different months, 2017 to 2020.

What Hacker News said

Recommends Someone · 2017-11 · on “What's wrong with the default build tool for Scala”

[LINK] may be too low-level for what you envision, but captures a lot of your ideas, I think. [LINK] has a presentation. It focuses on compiling with clang, but the system is more flexible. Slides at [LINK] , matching video is at [this video] .

Cites pjmlp · 2017-01 · on “Announcing Remacs: Porting Emacs to Rust”

If you are on Windows, VS 2015 and the upcoming VS 2016 have lots of improvements regarding compile times. [LINK] [LINK] [LINK] Apple is also doing a similar work regarding incremental C and C++ builds, based on the work they did for Swift [this video] C++ builds can be made bearable if you don't go crazy with template meta-programming, do forward declarations, only expose actually public data on the headers, instantiate most use templates. But specially do use binary libraries, even across application modules. Don't spend endless time recompiling code that doesn't change.

Cites chubot · 2020-09 · on “The Little Things: Speeding up C++ compilation”

Is this like llbuild? [this video] [LINK] I remember watching the talk awhile ago, but haven't kept up with its progress. It's about using LLVM as a library to eliminate duplicate work, as far as I remember. I think it was for C++ as well as Swift.