C++ libraries and what inline has to do with them

Поделиться
HTML-код
  • Опубликовано: 13 сен 2024

Комментарии • 21

  • @CodeForYourself
    @CodeForYourself  Год назад +4

    This lecture goes slightly in-depth in places. Don't worry! You won't have to do any of this manually! We will be using some build system like CMake or bazel for this. But to understand how those work it helps immensely to know what happens under the hood. 😜
    Are you sold on this notion?

    • @reubenthomas1033
      @reubenthomas1033 Год назад +3

      Yes absolutely!! I’ve never understood what Cmake is actually doing. I often get stuck during build errors. I would love to understand what actually goes on under the hood

    • @ilarioantonioazzollini66
      @ilarioantonioazzollini66 Год назад +3

      I completely agree, thanks for the lecture! It would be very helpful imo if you could do an entire lecture dedicated to CMake and more in general on how to structure a project (probably there is no general way then some different examples of architectures would be required). Do you plan on doing something like that?

    • @CodeForYourself
      @CodeForYourself  Год назад +1

      Yep, that's the plan for the next (or one after that) video 😉

    • @ilarioantonioazzollini66
      @ilarioantonioazzollini66 Год назад +1

      @@CodeForYourself Awesome, thank you again!

  • @jonathans3021
    @jonathans3021 11 месяцев назад +3

    This lecture cleared up a lot of confusions I had about libraries, thank you!

  • @ramcharanthota1016
    @ramcharanthota1016 Год назад +3

    great lecture.Finally, I understadn ODR and inline really well

  • @gabrielalmeidasantosdeoliv1870
    @gabrielalmeidasantosdeoliv1870 Год назад +3

    Excelent lecture, can see it took a lot of work too do.

    • @CodeForYourself
      @CodeForYourself  Год назад +3

      Yeah, I tried my best to be concise but still explain most of the stuff I wanted to explain. It's still not perfect, but I can always come back to it in the future and make it better 😉

  • @ChrisOffner
    @ChrisOffner Год назад +1

    Another great lecture, thank you! :)

  • @joy7673
    @joy7673 Год назад

    Hi, waiting for the following lectures.

    • @CodeForYourself
      @CodeForYourself  Год назад +1

      They're coming but probably towards 15th of November or so. I'm out for a conference and it's hard to squeeze everything together.

    • @marwanzaghloul6065
      @marwanzaghloul6065 Год назад

      @@CodeForYourself take your time its going to be amazing lecture as usual , i cant wait 😅

  • @ChimiChanga1337
    @ChimiChanga1337 4 месяца назад

    What if we make header-only libraries instead.

    • @CodeForYourself
      @CodeForYourself  4 месяца назад

      You mean like not ever use any other libraries?

    • @ChimiChanga1337
      @ChimiChanga1337 4 месяца назад +1

      ​@@CodeForYourself okay I'm too much of a beginner. I think I understand the tradeoffs of different types of libraries. Header only libs makes the devs life simple. But if you want to hide the implementation then they wont work.

    • @CodeForYourself
      @CodeForYourself  4 месяца назад

      @@ChimiChanga1337 yes, you are exactly right! Also, header only libraries, when we have many of them, make compilation waaay too slow. With compiler libraries we are able to often compile them once and link all over the place. Does this make sense?

    • @ChimiChanga1337
      @ChimiChanga1337 4 месяца назад

      @@CodeForYourself Yes, I understand now. I really want to thank you again for this course!

    • @CodeForYourself
      @CodeForYourself  4 месяца назад

      @@ChimiChanga1337 my pleasure and I'm really happy that you like it! 🙏