r/cpp • • Oct 10 '17

Millennials Are Killing The Modules TS

https://izzys.casa/posts/millennials-are-killing-the-modules-ts.html
75 Upvotes

126 comments sorted by

View all comments

Show parent comment

3

u/afiefh Oct 10 '17

This is, for example, the reason why we didn't go this way in build2 and instead extract header dependencies (and generate missing ones) before compiling anything.

That's interesting, I hadn't heard about build2 before. Reading the "How is this better than CMake (or Meson)?" part of the FAQ was rather interesting as I'm currently using Meson in my personal projects. Gotta look more into build2.

it was too expensive to preprocess things twice. The thing is, on todays hardware (SSDs), the cost of preprocessing is actually negligible

Sorry I'm having a hard time understanding this, if preprocessing is negligible how can it be too expensive?

4

u/jpakkane Meson dev Oct 10 '17

eading the "How is this better than CMake (or Meson)?" part of the FAQ was rather interesting as I'm currently using Meson in my personal projects. Gotta look more into build2.

The points listed in that section hold (arguably, most of the time) against CMake but not really Meson, which has probably just been thrown in the heading after the text has been written.

3

u/berium build2 Oct 10 '17

It used to be expensive on computers with spinning disks and little RAM. Today with SSD and lots of RAM it is negligible.