4 ms·
I think clang has a good chance to became as competitive as Go for compilation speed. This way you will have a fast compile/run process and the power of C or C+
by mmisu 15y ago
I think clang has a good chance to became as competitive as Go for compilation speed. This way you will have a fast compile/run process and the power of C or C++.
- _delirium 15y agoI could believe it for C (tcc is an existence proof for very fast C compilers), but building a C++ compiler of that speed is a pretty difficult task. Separate compilation for templated code is also really hard to get right, since the standard isn't really designed for it and gives few guarantees; if a templated class is changed, determining when you can safely avoid recompiling classes that use it is tough.
- danieldk 15y agoDefinitely. I am anxious to see how much C++11's extern template will improve compilation time, when it will be used by large libraries. Of course it's still a horrible kludge. But the reality is that C++ exists and is widely used ;).