• 请不要在回答技术问题时复制粘贴 AI 生成的内容
pastor
V2EX  ›  程序员

C+ 23 将引入标准库模块支持,编译速度提升 10 倍

  •  
  •   pastor · Jun 11, 2022 · 3122 views
    This topic created in 1457 days ago, the information mentioned may be changed or developed.

    "模块不仅能提高编译速度,还能统一普通函数和模板的源代码组织方式。.h 文件和 .cpp 文件之间的区别消失了,C++ 源代码从根本上得到了简化。最终模块将使开发者组织代码的方式发生巨大的变化。"

    个人感觉这将是最务实的一次更新

    3 replies    2022-06-11 19:06:22 +08:00
    codehz
        1
    codehz  
       Jun 11, 2022
    (目前就 msvc 有稍微“靠谱”的支持(提供了预编译的标准库模块,构建工具和开发体验)
    GeruzoniAnsasu
        2
    GeruzoniAnsasu  
       Jun 11, 2022
    它最好是。

    所有的 c++使用者看待标准都是一种「不行那就再等等」的心态。

    「支持,不行就再等三年」


    背后台词是「你说要有我支持,你让我用,我不用。所以我不急。」
    learningman
        3
    learningman  
       Jun 11, 2022
    gcc llvm 加把劲啊
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   5790 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 45ms · UTC 01:46 · PVG 09:46 · LAX 18:46 · JFK 21:46
    ♥ Do have faith in what you're doing.