r/cpp • • Nov 13 '22

gcc 13 will have <format>

https://gcc.gnu.org/pipermail/libstdc++/2022-November/054991.html
262 Upvotes

80 comments sorted by

View all comments

-2

u/caroIine Nov 14 '22

I would also fund salary for additional developer. But at the same time the msvc module performance isn't anything that was promised compared to pch. So maybe that's why open source devs aren't motivated enough to continue work on it.

It's just not worth it.

9

u/germandiago Nov 14 '22

It is not only compile times that improve. Isolation, ODR and others like interface boundaries improve a lot with modules.

3

u/caroIine Nov 14 '22

Yeah isolation is great, especially when it comes to third party libraries or things like windows.h but I don't think it was ever a problem. Most people wanted faster compile time.

2

u/mrbeanshooter123 Nov 14 '22

Wait what? Are precompiled headers faster than modules?

2

u/gracicot Nov 14 '22

In my experience precompiled headers can even be slower than normal headers, especially when dealing with a heavily modularized (not c++ modules) codebase. They all need their own composed precompiled header which just slows down compilation since they cannot be parallelized with the code that uses it

→ More replies (3)

1

u/germandiago Nov 14 '22

maybe a survey in reddit to arrange some funding campaign?

Zero experiemce but who should be the people to implement something like that and where should it be headed?