Тёмный

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

Zig SHOWTIME
Подписаться 11 тыс.
Просмотров 22 тыс.
50% 1

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!

Наука

Опубликовано:

 

10 июл 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 23   
@10e999
@10e999 Год назад
I wish Andrew had more time. The details are always the best part of technical talks IMO.
@michaelscofield4524
@michaelscofield4524 Год назад
I don't think I've clicked a video faster in my life, thx Loris!
@krumbergify
@krumbergify Год назад
Great as always Andrew! Wish you had all the time in the world :)
@lifelover69
@lifelover69 Год назад
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 11 месяцев назад
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 11 месяцев назад
Beautiful talk, Beautiful! I like andrew kalley more than zig!
@BorisByk
@BorisByk 6 месяцев назад
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 29 дней назад
Tsoding implemented a similar build system in pure C.
@electrosssnake1036
@electrosssnake1036 11 месяцев назад
good talk.
@enzocalzone5298
@enzocalzone5298 Год назад
nice talk
@flyLeonardofly
@flyLeonardofly 11 месяцев назад
How did the room vote on the question how to install on windows at 16:00
@sekaibelle
@sekaibelle Год назад
watching this as I'm updating and fixing errors from a x11 old program.
@AloisMahdal
@AloisMahdal 10 месяцев назад
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 10 месяцев назад
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.
@10e999
@10e999 Год назад
@31:02 what blog post is he talking about?
@anon404
@anon404 Год назад
The link is on the slide that's shown starting at 23:36. 🙂
@gittawat6986
@gittawat6986 11 месяцев назад
CMAKE ... All my homie hate CMAKE
@default-writer
@default-writer 11 месяцев назад
Hi, can you help me to get visa for Canada and permanent work at Zig for 15 grind per month?
@AnthonyBullard
@AnthonyBullard Месяц назад
All these months and not one “why is there code?” Reference? For shame…
@chmod0644
@chmod0644 11 месяцев назад
effing software...how does it build?
@edgeeffect
@edgeeffect 2 месяца назад
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.
@aftalavera
@aftalavera 10 месяцев назад
We don’t need any more languages specially another Rust in disguise!
@bjorn2625
@bjorn2625 2 месяца назад
How are you feeling now, given you've been forced to use zig for the last 7 months?
Далее
What's a Memory Allocator Anyway? - Benjamin Feng
48:30
How Zig is used at Uber - Motiejus Jakštys
36:56
Просмотров 23 тыс.
So You Think You Know Git - FOSDEM 2024
47:00
Просмотров 1 млн
Making Systems Programming Accessible by Andrew Kelley
47:47
iPhone 15 Pro в реальной жизни
24:07
Просмотров 108 тыс.
899$ vs 360$ which one will you choose ? #iphone #poco
0:18