How to Build Software From Source - Andrew Kelley - Software You Can Love Vancouver 2023
Vložit
- čas přidán 9. 06. 2024
- Official website: softwareyoucan.love
Vancouver Conference Website: softwareyoucanlove.ca
Abstract:
Did you know you can just compile software yourself instead of getting it from someone else? It's not that hard. Just kidding. Actually it is because something always goes wrong, doesn't it? Why? Why is it always going wrong? It's because you're doing it wrong. Everybody overcomplicates and overthinks it when they build things from source, and it creates unnecessary issues. If you just take the time to learn some basic concepts about building software from source, it actually goes pretty dang smoothly. And when it doesn't, it's somebody else's fault, and you can yell at them!
This talk will teach you some real world skills of building software from source, and then I'll take things in a completely different direction, by showing you how to rip apart a project's build system and replace it with the zig build system. This will make building things from source work effortlessly for more people and more platforms, as well as annoy a lot of boomers. It's going to be super fun and spicy! - Věda a technologie
I wish Andrew had more time. The details are always the best part of technical talks IMO.
I don't think I've clicked a video faster in my life, thx Loris!
Great as always Andrew! Wish you had all the time in the world :)
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.
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.
Beautiful talk, Beautiful! I like andrew kalley more than zig!
good talk.
nice talk
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.
How did the room vote on the question how to install on windows at 16:00
watching this as I'm updating and fixing errors from a x11 old program.
@31:02 what blog post is he talking about?
The link is on the slide that's shown starting at 23:36. 🙂
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`)
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.
CMAKE ... All my homie hate CMAKE
Hi, can you help me to get visa for Canada and permanent work at Zig for 15 grind per month?
All these months and not one “why is there code?” Reference? For shame…
effing software...how does it build?
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.
We don’t need any more languages specially another Rust in disguise!
How are you feeling now, given you've been forced to use zig for the last 7 months?