CppCon 2019: Gabriel Dos Reis “Programming with C++ Modules: Guide for the Working”

แชร์
ฝัง
  • เผยแพร่เมื่อ 20 ม.ค. 2025

ความคิดเห็น • 10

  • @bjbegui
    @bjbegui 5 ปีที่แล้ว +6

    Very very very excited to get this...

  • @germandiago7442
    @germandiago7442 5 ปีที่แล้ว +6

    Amazing. Very good talk. Cannot wait.

  • @Daninshit
    @Daninshit 3 ปีที่แล้ว +3

    Game changer

  • @bobweiram6321
    @bobweiram6321 3 ปีที่แล้ว

    Wow! Ada has always had this.

  • @derekye8168
    @derekye8168 25 วันที่ผ่านมา

    Nice suits

  • @cacheman
    @cacheman 5 ปีที่แล้ว +5

    I jumped around a bit, but it seems like you can't import by any schema other than "a local file"? If that's the case, it would put this module implementation way behind the curve already, before it's even out. There are of course issues around allowing this, but for example golang has come a long way in sorting this out already (i.e "go mod" in go 1.12 and up).
    Importing modules directly from say github, being able to pin versions, and have them authenticated via a checksum database are all very good features that makes life for golang programmers easier. The golang people got this all wrong initially, but have managed to pivot. I hope the C++ standards people have learned from this.

    • @Tridacnid
      @Tridacnid 5 ปีที่แล้ว +25

      What you describe sounds like a package manager to me.

    • @Stierguy1
      @Stierguy1 5 ปีที่แล้ว +10

      Agreed, this is the duty of a package manager, not the C++ standards committee nor any implementer. One of the main purposes of C++ modules is to simplify the duty of package managers and build tools however. I suspect that cmake will be supplanted as the defacto build tool on *nix platforms by whatever module and package management tool integrates into the c++ modules ecosystem best.

    • @MINIMAN10000
      @MINIMAN10000 5 ปีที่แล้ว +3

      Importing remote sources belongs to the build process, not the C++ spec. For example, when using Cmake: ExternalProject_Add

  • @luizgabriel98
    @luizgabriel98 5 ปีที่แล้ว +4

    There will be a proposal to change the C++ name to Javascript++ 😂
    Just kidding, haha! Very good talk, indeed!