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.
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.
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.
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.
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!
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
Tsoding implemented a similar build system in pure C.
good talk.
@31:02 what blog post is he talking about?
The link is on the slide that's shown starting at 23:36. 🙂
watching this as I'm updating and fixing errors from a x11 old program.
nice talk
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
./configure && make && make install
Amirite?
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…
Code in what?
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.
effing software...how does it build?
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?
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.