C++ Reflection Is Not Contemplation - Andrei Alexandrescu - CppCon 2024

Поділитися
Вставка
  • Опубліковано 18 гру 2024

КОМЕНТАРІ •

  • @tomkirbygreen
    @tomkirbygreen 4 дні тому

    Pure magic. Fantastic presentation, thank you Andrei.

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

    Great speech. Thanks for sharing!

  • @Roibarkan
    @Roibarkan 5 днів тому +13

    10:01 Herb Sutter’s talk: ua-cam.com/video/FNi1-x4pojs/v-deo.html (with Alexandrescu cameo)

  • @ethanevans8909
    @ethanevans8909 5 днів тому +3

    Andrei talks are always so fun

  • @matrixstuff3512
    @matrixstuff3512 5 днів тому +3

    Andrei has got to me one of my favorite speakers of any topic

  • @dexterman6361
    @dexterman6361 5 днів тому

    This talk was great! I was playing around with reflection and when I realized that I couldn't craft functions for the type I was constructing, it felt weird. But I guess something is better than nothing, as C++ is perhaps 26 years too late to the party, any later would be bad.

  • @japedr
    @japedr 4 дні тому +1

    queue_injection? Why not code_injection instead?

  • @jhk578
    @jhk578 5 днів тому +2

    I like to use reflection but there is something I’m worrying about. Debuggability, I wonder when would we get this thing in a debuggable manner. 2030 seems high expectation😢

  • @bawbe
    @bawbe 5 днів тому

    gonna be that nerd, pretty sure it's not future subjunctive... I believe it's future perfect... :D @ 8:55

  • @driedurchin
    @driedurchin 3 дні тому +1

    This looks a lot like Rust's procedural macros from a usability standpoint, is `queue_injection` fundamentally different from `quote!`?

  •  5 днів тому

    It's a shame that Circle didn't make it into C++

  • @minefun0rus
    @minefun0rus 5 днів тому +1

    11:53 Let's be honest, we don't need setters/getters here at all:
    ```
    struct Book {
    std::string author;
    std::string title;
    };
    ```

  • @alskidan
    @alskidan 5 днів тому

    L-word 😅

  • @sunipmukherjee2130
    @sunipmukherjee2130 5 днів тому +1

    The amount of time we are spending basically turning C++ into Rust amazed me. The moment backwards compatibility is invoked, all of the safety guarantees of these advancements are thrown out. A sad fact this large community doesn’t seem to want to acknowledge.

    • @riley-arr-g
      @riley-arr-g 2 дні тому

      Cpp is a mess. Totally and utterly unsuitable for all but the most elite.

  • @mrtfttkhv
    @mrtfttkhv 5 днів тому

    I really like the feature, but I really don't like how rust is not being mentioned, while it was surely a main example...

    • @testtest-qm7cj
      @testtest-qm7cj 21 годину тому +1

      Maybe because reflection was invented & popularized by other people many years prior to the birth of Rust programming lauguage?