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

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

КОМЕНТАРІ • 26

  • @10e999
    @10e999 Рік тому +44

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

  • @michaelscofield4524
    @michaelscofield4524 Рік тому +36

    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 Рік тому +6

    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 11 місяців тому +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.

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

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

  • @konstantinrebrov675
    @konstantinrebrov675 6 місяців тому

    Tsoding implemented a similar build system in pure C.

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

    good talk.

  • @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. 🙂

  • @sekaibelle
    @sekaibelle Рік тому +1

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

  • @enzocalzone5298
    @enzocalzone5298 Рік тому +1

    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 Рік тому

      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.

  • @gittawat6986
    @gittawat6986 Рік тому +7

    CMAKE ... All my homie hate CMAKE

  • @sn0n
    @sn0n 4 місяці тому

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

  • @default-writer
    @default-writer Рік тому

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

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

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

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

    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.

  • @chmod0644
    @chmod0644 Рік тому +1

    effing software...how does it build?

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

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

    • @bjorn2625
      @bjorn2625 8 місяців тому

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

    • @nathanaelmoh5848
      @nathanaelmoh5848 3 місяці тому

      Maybe when you commented this you were new to zig but honestly it's a really, really good language. Even diehard C coders can see the benefits of it.