Are there optimized c++ compilers for template use?

后端 未结 8 549
心在旅途
心在旅途 2020-12-13 15:20

C++ templates have been a blessing in my everyday work because of its power. But one cannot ignore the (very very very very long) compilation time that results from the heav

相关标签:
8条回答
  • 2020-12-13 15:52

    The gold linker can help decrease link-time by about 5 times, which can reduce the overall compile time. Its particularly helpful since linking can't be parallelized in the same way that compilation can.

    (Not a direct answer, but hopefully this is helpful).

    0 讨论(0)
  • 2020-12-13 15:54

    It's not going to be the answer you want but Walter Bright was the main developer of the first native C++ compiler, and an optimized c++ complier. After all that he wrote his own programming language called D. It's basically an improvement on C++ and copes with templates better.

    I do not know of any c++ compiler that it optimized for template use.

    0 讨论(0)
提交回复
热议问题