How software libraries work?

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

КОМЕНТАРІ • 20

  • @aloufin
    @aloufin 4 роки тому +14

    shot of whisky everytime smok says 'libe-laries' ! awesome video, keep it up =)

    • @SmokCode
      @SmokCode  4 роки тому +3

      Lawl! I'm actually working on my weird accent with a dedicated tutor, stay tuned and see how it evolves!

  • @Mr_SSK
    @Mr_SSK 2 роки тому +2

    The background is damn cooool..
    Anyways, the explanation was really helpful!

  • @pepe6666
    @pepe6666 7 місяців тому

    i am loving these breakdowns. just explanation of how the architecture works from a meaningful context - its so useful. also i love the way you say libraries. thanks for the insight to see that this needed to be explained in this manner.

  • @MrAman47
    @MrAman47 Рік тому

    After listening to you say "liblary" 40 times in this video, I can now say that I also say "liblary". Great video btw!

  • @breakingmhet8078
    @breakingmhet8078 3 роки тому +1

    super helpful, thank you!

  • @someaccount-mp4tk
    @someaccount-mp4tk 2 місяці тому

    Great content

  • @kukiezi
    @kukiezi 4 роки тому +1

    Wow, I have never heared about most of those things while learning on university or in my first two jobs. If I may ask, did You learn about those things beacause it was needed for specific job or do You just read about those topics in your free time :D

    • @SmokCode
      @SmokCode  4 роки тому

      I needed this so my docker container works correctly on few old machines (debian jessie).

    • @kukiezi
      @kukiezi 4 роки тому

      @@SmokCode Thank You. Great video and explanation. Tho one really needs to read more about that to get into the topic deeply.

  • @eclipsetutorialvideo
    @eclipsetutorialvideo 3 роки тому +1

    Could you please explain why you needed to go inside the dynamic libraries to make your cpp program work in your container?
    What error did you meet?
    By the way to use the same image do : docker pull clangbuiltlinux/ubuntu
    Thanks

    • @SmokCode
      @SmokCode  3 роки тому +2

      Sure. When you're docker container - you're using certain distribution of OS, with only few libraries that are available. More complex programs use a lot of libraries, some of them are available as dynamic. In this case I was debugging why postgresql client lib didn't work with my program. I found out that postgres depends on kerberos, which was installed in my system, but in an incompatible version. So now I could either switch the kerberos version or change the version of postgres to match what I had in the system. Other way is providing a directory for dynamic linker to show where your custom versions are, but that's another can of worms.

    • @eclipsetutorialvideo
      @eclipsetutorialvideo 3 роки тому

      @@SmokCode Thanks for having provided the context :) I never thought that learning how libraries are used could be so different. Could we say that loading .net libraries are dynamic then?

  • @wanfaradiba2650
    @wanfaradiba2650 2 роки тому

    what software did use by application computerized library system?

  • @mshingote
    @mshingote 4 роки тому +1

    Which book you were referring in this video?

    • @SmokCode
      @SmokCode  4 роки тому +1

      Welcome on the channel!
      These are good sources:
      refspecs.linuxfoundation.org/elf/elf.pdf (ELF spec)
      amzn.to/3mZnsNN (Linkers and Loaders by Levine)

    • @mshingote
      @mshingote 4 роки тому

      @@SmokCode Is there any similar available for windows platform?

    • @SmokCode
      @SmokCode  4 роки тому +1

      You can use the official reference for PE format (exe, dll and other)
      docs.microsoft.com/en-us/windows/win32/debug/pe-format
      I don't know which book is a good one for windows.

  • @ROSALIEIK
    @ROSALIEIK 10 місяців тому

    its new to me lol.

  • @sandipansarkar9211
    @sandipansarkar9211 3 роки тому

    too advanced