Zig with Andrew Kelley

  Рет қаралды 5,783

Rustacean Station

Rustacean Station

3 ай бұрын

Allen Wyma talks with Andrew Kelley (andrewkelley.me/) , creator of Zig (ziglang.org/) . Zig is a general-purpose programming language and toolchain for maintaining robust, optimal, and reusable software.
Contributing to Rustacean Station
Rustacean Station is a community project; get in touch with us if you’d like to suggest an idea for an episode or offer your services as a host or audio editor!

• Twitter: @rustaceanfm ( / rustaceanfm )

• Discord: Rustacean Station ( / discord )

• Github: @rustacean-station (github.com/rustacean-station/)

• Email: hello@rustacean-station.org (mailto:hello@rustacean-station.org)

Timestamps

• [@0:51] - Andrew’s introduction

• [@2:55] - Rust vs Zig

• [@5:27] - What is undefined behavior (UB) (doc.rust-lang.org/reference/b...) and what causes it?

• [@11:37] - How does Zig deal with undefined behavior?

• [@16:09] - How well does Zig work in production?

• [@22:46] - Deeper dive into Andrew’s programming background

• [@33:35] - Zig’s mission statement and what they’re doing as a non-profit

• [@37:38] - Zig’s update release management

• [@40:06] - Andrew’s OkCupid project (andrewkelley.me/post/full-tim...)

• [@42:20] - Andrew’s preparations and motivations for making a language

• [@46:11] - Zig using LLVM (llvm.org/)

• [@49:12] - What’s next for Zig?

• [@54:20] - Parting thoughts

Other Resources

• Zig’s Github (github.com/ziglang)

• Andrew’s Github (github.com/andrewrk)

Credits
Intro Theme: Aerocity ( / aerocitymusic )
Audio Editing: Plangora ( / plangora )
Hosting Infrastructure: Jon Gjengset ( / jonhoo )
Show Notes: Plangora ( / plangora )
Hosts: Allen Wyma ( / allenwyma )

Пікірлер: 21
@HaMMeR33661
@HaMMeR33661 Ай бұрын
Loved the employment bit. Andrew has such a refined understanding of the downfalls of the system everyone seems to be championing, where essentially workers in software are making themselves replaceable as the "meta" while not realizing how bad it makes things at every avenue. "Switch jobs often to get paid more" at some point just devolves into "nobody cares about work anymore and if you do, you are unemployable." Too bad the topic wasn't as deep it could've been -- I bet Andrew could have a really deep conversation if it was well prepared on both sides. I am so inspired by their nonprofit that I really want to spin up something with a similar business-structure. I want a skill-based shop that respects its employees and has great output as a result. The world needs that so much right now!
@ViaConDias
@ViaConDias 2 ай бұрын
Another example of speed being much more important than safety would be embedded that has a defined maximum runtime. Intercontinental ballistic missile (ICBM) where every clock cycle is needed, they just leak memory because the most powerful garbage collection will happen automatically at impact.
@phrsngx5675
@phrsngx5675 2 ай бұрын
Leaking memory is not necessarily unsafe. Garbage collection is related to memory safety in the sense that you can't dereference dangling pointers.
@zactron1997
@zactron1997 17 сағат бұрын
Hard disagree here. In an ICBM and most other embedded applications, consistency is the most important factor above all else. That's why garbage collection is an absolute no-go, because it has non-deterministic runtime characteristics. If the guidance computer needs to produce a course correction every millisecond (for example), then it needs to hit that target without fault or deviation. Evidence of this is redundancy. Even in the confined environment of an ICBM, there are redundant compute systems. If performance above all else was the goal, then the redundant compute platform would instead be used to tackle the task in parallel. This is why embedded is largely the domain of C and ASM, its runtime characteristics are very well established and controllable. Go, Python, C#, etc. will never be successful in embedded simply because it is not known how it will perform. Zig fits in the same category as C (arguably better since allocation control is easier) in this context. Rust is different in that its abstractions add a lot of separation between what an author writes and what actually gets run on the hardware. Runtime performance is exactly as repeatable as C, Zig, and ASM though.
@scorpia3215
@scorpia3215 2 ай бұрын
it seems this podcast is from June 2022? Andrew Kelley just gave a talk on the plans for the future of Zig if anyone’s interested kzbin.info/www/bejne/a5avkH-Zrdyqfsksi=4N181AAsVh-FlHM6
@MaxAbramson3
@MaxAbramson3 2 ай бұрын
I had no idea that this was all so recent. Zig is similar to what I'd been thinking about for several years, removing the last few artificial obstacles to optimization.
@JOHNSMITH-ve3rq
@JOHNSMITH-ve3rq 2 ай бұрын
Totally bizarre interview. Dude doing straight digressions on his high school courses wth
@robertfletcher8964
@robertfletcher8964 Ай бұрын
nah man that was Ginger Bill announcing a new beer.
@MrAnvyl
@MrAnvyl 2 ай бұрын
This feels more like an argument at times, 36:00 following for example.
@bjorn2625
@bjorn2625 17 күн бұрын
It’s a weird interview. Andrew is trying to best to be a polite guest but I do believe one can hear the “WTAF” rummaging in the back of his head.
@andrewdunbar828
@andrewdunbar828 Ай бұрын
hamstrung has been hamstringed
@blarghblargh
@blarghblargh 2 ай бұрын
28:23 it's not a binary "will people leave or will no one leave". it's an attrition rate. some people will leave no matter what you do. and of course you have to build in some redundancy to cover that. but Andrew was specifically saying that Amazon isn't just a normal corporation. they optimize for a higher than normal attrition rate.
@pietraderdetective8953
@pietraderdetective8953 2 ай бұрын
Cool talk! A bit of audio imbalance here..Andrew's audio volume is overbearing while it's a bit difficult to hear the host's audio. Liked and subbed!
@AndersonSilvaMMA
@AndersonSilvaMMA 10 күн бұрын
Just curious: which song is at the beginning? I mean, which track specifically
@AndersonSilvaMMA
@AndersonSilvaMMA 3 күн бұрын
Thanks for not answering I guess
@tubeincompetence
@tubeincompetence 2 ай бұрын
Guess I am just commenting on the idea of switching jobs every couple of years is just so foreign to me. Of course people will switch jobs and you can't get stuck with people being non-replacable, but I kind of like being able to be allowed to do lots of things and be trusted to not run away/switch jobs for slightest reason
@MartialBoniou
@MartialBoniou Ай бұрын
Thanks for the interview
@sd_pjwal
@sd_pjwal 2 ай бұрын
"For a 12 year old it was awesome" LOL. My language history was: BASIC, Ansi C, C++, PASCAL, LISP, C++, VB, C#, Python, Java, Scala, Ruby, GoLang
@bjorn2625
@bjorn2625 17 күн бұрын
Shame we didn’t get to hear more about Zig and more from Andrew. Quite a lot of history and anecdotes that didn’t seem that relevant to Zig.
@hybridpersonality
@hybridpersonality 29 күн бұрын
I love the guests that come on this show! They are always great. But the host seems to be constantly combative, condescending, or completely uninterested in the guest. So i stop listening until I see another must-hear guest and I have to cringe through it as the guests graciously handle the host's inexperience. I just want the host to be genuinely interested in and excited for the guests and not feel intimitated or need to one-up them at every turn.
The Road to Zig 1.0 - Andrew Kelley
59:48
ChariotSolutions
Рет қаралды 124 М.
OpenAI’s GPT-4o: The Best AI Is Now Free!
9:14
Two Minute Papers
Рет қаралды 177 М.
Teenagers Show Kindness by Repairing Grandmother's Old Fence #shorts
00:37
Fabiosa Best Lifehacks
Рет қаралды 36 МЛН
Monster dropped gummy bear 👻🤣 #shorts
00:45
Yoeslan
Рет қаралды 12 МЛН
Stupid man 👨😂
00:20
Nadir Show
Рет қаралды 26 МЛН
Memory safety in C++, Zig, & Rust (part 1)
16:11
Context Free
Рет қаралды 53 М.
CppCast Episode 342: Zig with Andrew Kelley
57:45
CppCast
Рет қаралды 13 М.
When Zig Outshines Rust | Prime Reacts
23:31
ThePrimeTime
Рет қаралды 130 М.
Intro to the Zig Programming Language • Andrew Kelley • GOTO 2022
50:14
Jon Gjengset - Towards Impeccable Rust
55:59
Rust Nation UK
Рет қаралды 21 М.
TigerBeetle - A Million Financial Transactions per Second in Zig
1:10:55
Phone charger explosion
0:43
_vector_
Рет қаралды 51 МЛН
Apple ХОЧЕТ, чтобы iPhone ЛОМАЛИСЬ чаще?
0:47
ÉЖИ АКСЁНОВ
Рет қаралды 1 МЛН
Apple Event - May 7
38:22
Apple
Рет қаралды 6 МЛН
M4 iPad Pro Impressions: Well This is Awkward
12:51
Marques Brownlee
Рет қаралды 6 МЛН
Introducing GPT-4o
26:13
OpenAI
Рет қаралды 3 МЛН