CMake 2022 C++ Modules and More - Bill Hoffman - CppNow 2022

  Рет қаралды 9,317

CppNow

CppNow

Күн бұрын

Пікірлер: 10
@fnizzelwhoop
@fnizzelwhoop 2 жыл бұрын
Great presentation -- he was clearly hyped about giving this talk and showing off the progress being made in CMake. With that said, this presentation made me decide to finally give up on C++. What a wonderful mess it is.
@piotrarturklos
@piotrarturklos 2 жыл бұрын
The topic of modules starts at 6:13
@TheLavaBlock
@TheLavaBlock 2 жыл бұрын
nice to see progress is being made
@DrUlrih
@DrUlrih Жыл бұрын
Yep, great😃 I have to type so much attribute words (internal fileset etc) to produce build graph, oh no :(
@puyadaravi3109
@puyadaravi3109 2 жыл бұрын
If CMake is asking the compiler for the dependencies of each source file, doesn't it mean the compiler will potentially have to scan parts of the source tree multiple times? (making it inefficient) If so is there a caching mechanism to help with this?
@mapron1
@mapron1 2 жыл бұрын
a bit inefficient. 1. parsing source code is much much faster then code generations. like 10x and more (for heavy templates). 2. OS usually do good caching job itself, bottleneck is usually disk reads, not like 'parsing'. 3. if you working with IDE, you end up loading each file multiple times anyway. clang, highlight/editor, doxygen/test/todo parsers, build system modules, actual compilation, you can complete the list. so, after project load and code model parsed, you get disk cache hit. Another concern is CI build times (cache probably won't be as good as a lot of project building same time). Anyway (1) is still applied. Like, today, if you have qt project and enable automoc it will scan you entire tree for 'Q_OBJECT' macro. and it can be done in a second or two for 1 MSLOC codebase or something. So, yeah, overhead, but it's negligible.
@mapron1
@mapron1 2 жыл бұрын
Well, on windows, creating a new process is slow, so I can imagine process spawn time can be a concern here (having 5ms spawn and 1ms actual work)
@lukasklause2239
@lukasklause2239 2 жыл бұрын
Nice Talk, thank you for uploading ^^
@BoostCon
@BoostCon 2 жыл бұрын
Thank you too!
@neuzen
@neuzen 2 жыл бұрын
Why there is no unified project management tool (like cargo) and packages repo (like crates)?
когда не обедаешь в школе // EVA mash
00:57
EVA mash
Рет қаралды 3,5 МЛН
Watermelon magic box! #shorts by Leisi Crazy
00:20
Leisi Crazy
Рет қаралды 14 МЛН
Inside Out 2: BABY JOY VS SHIN SONIC 3
00:19
AnythingAlexia
Рет қаралды 9 МЛН
Inside Out 2: ENVY & DISGUST STOLE JOY's DRINKS!!
00:32
AnythingAlexia
Рет қаралды 10 МЛН
C++Now 2017: Daniel Pfeifer “Effective CMake"
1:27:02
CppNow
Рет қаралды 180 М.
A Lock-free Atomic shared_ptr - Timur Doumler - CppNow 2022
1:32:02
Branchless Programming in C++ - Fedor Pikus - CppCon 2021
1:03:57
The Art of Code - Dylan Beattie
1:00:49
NDC Conferences
Рет қаралды 4,7 МЛН
Modules in C++ 20 - Thoughts on Compiler & CMake Support
14:13
Coding with Mat
Рет қаралды 9 М.
The Math behind Hedging - Quant Trading 101 #some4 #quant
7:00
QuantIntuition
Рет қаралды 4,4 М.
когда не обедаешь в школе // EVA mash
00:57
EVA mash
Рет қаралды 3,5 МЛН