Herb Sutter - Peering forward C++’s next decade

Поділитися
Вставка
  • Опубліковано 22 січ 2025

КОМЕНТАРІ • 22

  • @b0570nk4
    @b0570nk4 3 дні тому

    both bjarne stroustrup and herb sutter are my idols for a decade now, whenever i listen to them talk, im just amazed and glad as if im watching a movie

  • @jamesdowner
    @jamesdowner Місяць тому +2

    I'm excited to see C++ become so powerful and intuitive. I learned C++98 during my undergrad (2016-2020) which was great, but since embracing modern C++, it's been an absolute blast

    • @codediveconference
      @codediveconference  Місяць тому +1

      The language is evolving, becoming even better and more accessible. It’s great that you have such comparisons and insights :)

    • @literallynull
      @literallynull 21 день тому

      Learning C++98 in 2020 is wild

  • @ZaneMouakket
    @ZaneMouakket Місяць тому

    27:00 how does this work? Shouldn't you need the null terminator?

    • @_shogun
      @_shogun Місяць тому +1

      The stack is probably initialized to all zero by the runtime, so the print will read out the buffer but into a 0

    • @ZaneMouakket
      @ZaneMouakket Місяць тому

      @_shogun Ahh. That makes sense, thank you!

    • @Voy2378
      @Voy2378 Місяць тому +1

      Depends, if prints understands it got passed size 6 array it will work. But anyway that is not the point of the example, it is about security.

  • @guilherme5094
    @guilherme5094 28 днів тому

    And thanks!

  • @valmirius
    @valmirius 22 дні тому +2

    There's something about Nokia and C++ in the same video lol

  • @dadisuperman3472
    @dadisuperman3472 Місяць тому +1

    What is more intuitive and declarative this:
    // select all member function of
    // struct options
    auto mem_funs = select * as foo from Options where std::is_mem_function_v and std::is_public and not std::is_static;
    Or what was presented in the video?

  • @syntaxed2
    @syntaxed2 7 днів тому +1

    C++ for the 2030's!!!! 2030 times more unreadable hahaha

  • @gogdarag
    @gogdarag Місяць тому +13

    Just use a simple keyword for gods sake. Unfortunately c++ is becoming an emoji language. What is next?

    • @cuda_weekly
      @cuda_weekly Місяць тому +7

      The problem with using keywords is that it turns what was an available identifier into a reserved word. Also, C++ != Pascal.

    • @KhalilEstell
      @KhalilEstell Місяць тому

      That would break code.

    • @IsaacKripke
      @IsaacKripke Місяць тому

      C++ already has nearly 100 keywords in addition to “identifiers with special meaning”. At some point a line has to be drawn.

    • @metaltyphoon
      @metaltyphoon Місяць тому

      @@IsaacKripkewait till you find out Swift have over 200 keywords

    • @IsaacKripke
      @IsaacKripke Місяць тому

      @metaltyphoon the COBOL standard has over 300 keywords, with some dialects having 2-3x more.