3 ms·
> not every C++ project is full of template metaprogramming You're right. My project is not one of those projects. As mentioned in the article, the C++ projec
by strager 4y ago
> not every C++ project is full of template metaprogramming
You're right. My project is not one of those projects.
As mentioned in the article, the C++ project has no dependencies (outside googletest and the standard library, whose build time isn't included in the benchmarks).
Also, the project is relatively light on templates compared to most C++ code that I've seen. The biggest offenders are narrow_cast and vector.
> Also at least in VC++, modules are already a thing
I'd love to use them, but I mostly work on Linux and macOS. =[
> Still looking forward to binary libraries support in cargo (well one can dream).
I didn't consider this downside of Rust! I imagine rlibs can be cached manually, right? I don't know if rlibs are portable between machines.
- tumdum_ 4y ago> I imagine rlibs can be cached manually, right? I don't know if rlibs are portable between machines. Is this not what sccache is already doing?