How to Build Software From Source - Andrew Kelley - Software You Can Love Vancouver 2023

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

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

  • @10e999
    @10e999 Год назад +40

    I wish Andrew had more time. The details are always the best part of technical talks IMO.

  • @michaelscofield4524
    @michaelscofield4524 Год назад +34

    I don't think I've clicked a video faster in my life, thx Loris!

  • @krumbergify
    @krumbergify Год назад +8

    Great as always Andrew! Wish you had all the time in the world :)

  • @lifelover69
    @lifelover69 Год назад +8

    Thanks for the talk, I learned a lot from this. Makes me excited to try out zig and its build system! Hope to see the demo soon.

  • @l2ubio
    @l2ubio Год назад +5

    cool talk!
    36:00 one sad reality of gentoo is that they sometimes distribute patches through urls and not portage. And those urls lifespan is often short. Not really related to zig build system. But something to take caution I guess.

  • @sinamobasheri
    @sinamobasheri Год назад +2

    Beautiful talk, Beautiful! I like andrew kalley more than zig!

  • @BorisByk
    @BorisByk 7 месяцев назад +1

    When you use sudo and install to a dir that needs sudo, it makes sure that sudo is also needed to change your app. That might be important to you if you feel like security is important when you run the app. For example if your app is a password manager.

  • @konstantinrebrov675
    @konstantinrebrov675 2 месяца назад

    Tsoding implemented a similar build system in pure C.

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

    good talk.

  • @enzocalzone5298
    @enzocalzone5298 Год назад +2

    nice talk

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

    Nice talk. I'm not sure your advice regarding PREFIX is accurate: in my understanding it's DESTDIR that really controls where your software is installed. (the default is / so you could set it to some directory under your $HOME or something). PREFIX, on the other hand is only useful for controlling this ancient convention of installing binaries under /usr vs. /usr/local (see `man hier` for that) --- but won't do anything for paths like /etc. DESTDIR should affect every single path in the installation process.
    (I read this in some GNU doc years ago but have implemented and have been using their convention in my own make-based build system called `mkit`)

    • @WHYUNODYLAN
      @WHYUNODYLAN 11 месяцев назад

      I think the install location will be "$(DESTDIR)/$(PREFIX)". I don't think thst most software installs will touch /etc, or /var or /opt or whatever else for that matter, so just setting PREFIX will almost always be fine to avoid using sudo.

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

    watching this as I'm updating and fixing errors from a x11 old program.

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

    How did the room vote on the question how to install on windows at 16:00

  • @sn0n
    @sn0n 2 дня назад

    ./configure && make && make install
    Amirite?

  • @gittawat6986
    @gittawat6986 Год назад +7

    CMAKE ... All my homie hate CMAKE

  • @10e999
    @10e999 Год назад +1

    @31:02 what blog post is he talking about?

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

      The link is on the slide that's shown starting at 23:36. 🙂

  • @AnthonyBullard
    @AnthonyBullard 3 месяца назад

    All these months and not one “why is there code?” Reference? For shame…

  • @edgeeffect
    @edgeeffect 3 месяца назад

    Don't worry Andrew, just cut the Q&A out entirely. They MIGHT (... MIGHT!!) be useful to the speaker and/OR the questioner... but for most of us the Q&A is utterly worthless.

  • @default-writer
    @default-writer Год назад

    Hi, can you help me to get visa for Canada and permanent work at Zig for 15 grind per month?

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

    effing software...how does it build?

  • @aftalavera
    @aftalavera 11 месяцев назад

    We don’t need any more languages specially another Rust in disguise!

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

      How are you feeling now, given you've been forced to use zig for the last 7 months?