Learning Zig | Day 1

  Рет қаралды 24,486

TheVimeagen

TheVimeagen

Күн бұрын

Пікірлер: 38
@Endelin
@Endelin Жыл бұрын
Ziglings start at 33:00
@abanoubha
@abanoubha Жыл бұрын
thanks
@wahidislamlinad
@wahidislamlinad Жыл бұрын
thank you good people of the internet
@4sat564
@4sat564 Жыл бұрын
and end at 1:43:50
@werrutkyupnext
@werrutkyupnext Жыл бұрын
W man
@doublex85
@doublex85 Жыл бұрын
1:41:43 The expression: > try x is short for: > x catch |errval| return errval which itself is short for: > if (x) |value| value else |errval| return errval So if you actually have something distinct you want to do in both cases, just use the longest form: > if (...parseInt...) |weight| { > ...add to sum... > } else |errval| { > ...check max and reset sum... > } Though since you don't use errval you can use the "I don't care" capture: > ... > } else |_| { > ... > }
@tepumasutasauno8671
@tepumasutasauno8671 Жыл бұрын
"it this the... is that the... is that like the "what the f**k" operator? what is that?" -- Primagen
@garymurray8496
@garymurray8496 Жыл бұрын
The built-in zig plugin is what causes errors to be displayed in the location list
@felixallistar
@felixallistar 8 ай бұрын
lol man youve covered everything. started learning C as a fun way to learn how many works in C# but was curious about zig
@sub-harmonik
@sub-harmonik Жыл бұрын
the rumor that hans niemann used vibrating anal beads came from a joke a twitch chatter on the chessbrah channel made, and then eric hansen commented on it. It was always a meme and then the media picked it up like it was a serious allegation lol.
@pigmalion3433
@pigmalion3433 Жыл бұрын
Awesome gimp skills.
@Burgo361
@Burgo361 8 ай бұрын
The toilet thing scares me I still haven't gotten over finding out that some of my friends scrunch instead of fold. I don't know if it matters but it feels like it does for some reason. In addition: I came here to learn zig now I'm trying to work out where I would draw the line in ways to learn things quickly and I'm somewhat confused now (that would have to be painful right).
@honeybadger5038
@honeybadger5038 Жыл бұрын
Does anyone know when Zig is planning to stop making breaking changes? I like the language but I want at least a stable version.
@NathanHedglin
@NathanHedglin Жыл бұрын
Tom is a genius
@minecraftermad
@minecraftermad Жыл бұрын
is it possible to upload the newest stream faster? missing the zig streams everytime is starting to be painful :/
@NdxtremePro
@NdxtremePro Жыл бұрын
ziglings is designed to teach you to read and use the debugger from zig, not really the language is what I got from this video.
@NotTheHeroStudios
@NotTheHeroStudios Жыл бұрын
I remember this stream, it was great
@NickWindham
@NickWindham Жыл бұрын
Bro, how are you already starting to learn Zig. You didn’t fully dive into Rust until less than a year ago. I know that a lot of skills are transferable between programming languages but it’s still impressive you’re able ti get good at a complex low level programming language that fast.
@TheVimeagen
@TheVimeagen Жыл бұрын
I think zig is going to be fun. I'm pretty excited
@CallousCoder
@CallousCoder Жыл бұрын
@@TheVimeagen zig is awesome! Had some great fun making my two videos the last week. It feels like C but nicer.
@griffitaj
@griffitaj Жыл бұрын
The Zigeagen!
@henryrussell7392
@henryrussell7392 Жыл бұрын
Haha, any idea what vimeagen means? He uses vim? But what is eagen
@AndreiTache
@AndreiTache Жыл бұрын
He combined his name, ThePrimeagen, with vim
@puspo-in
@puspo-in Жыл бұрын
zig is great
@ukrustacean
@ukrustacean Жыл бұрын
No jokes about Sieg... *banned by YT*
@AnthonyBullard
@AnthonyBullard Жыл бұрын
If i saw this earlier , i wouldve bought you Super Duper (assuming you were going to Los Gatos)
@TheVimeagen
@TheVimeagen Жыл бұрын
oh i went to los gatos! going back again soon
@KnightMirkoYo
@KnightMirkoYo Жыл бұрын
I am convinced you can't wipe properly while standing. Easily proven: Try wiping clean while standing first, then sit and wipe again.
@draganjonceski2639
@draganjonceski2639 Жыл бұрын
How the hell do people wipe sitting
@filipmajetic1174
@filipmajetic1174 Жыл бұрын
$(pwd) instead of just $PWD 😩
@firesoul453
@firesoul453 Жыл бұрын
One reason to consider Odin over Zig is that Zig is expected to make breaking changes where Oding is stable and used in production.
@gittawat6986
@gittawat6986 Жыл бұрын
Andrew: "pls don't use zig in production" Some programmers at Uber:"heck it why not" 😂😂 There is probably less breaking change after reaching 1.0 (2025 probably)
@firesoul453
@firesoul453 Жыл бұрын
@@gittawat6986 Right. Once 1.0 is out it's going to be a very compelling choice.
@109Rage
@109Rage Жыл бұрын
@@gittawat6986 To be fair, Uber isn't using Zig the language very much, and is instead using the Zig toolchain, and the work they've put in to package clang (the C/C++ compiler) into a self-contained cross-compiler, and those parts are fairly stable and not expected to have breaking changes.
@pietraderdetective8953
@pietraderdetective8953 Жыл бұрын
​@@gittawat6986may I know where you got the 2025 as the stable release milestone? I'd love to go back to Zig if it has reached 1.0 not before..currently too many breaking changes.
@gittawat6986
@gittawat6986 Жыл бұрын
@@pietraderdetective8953 this: kzbin.info/www/bejne/d6KnlYp7nriqg68 - Zig Roadmap 2023 - Andrew Kelley
@abanoubha
@abanoubha Жыл бұрын
Zig is great 🫰
Zig Day 2 | Prime Vod
57:52
TheVimeagen
Рет қаралды 4,6 М.
Zig Lexer : Finished it!!!
1:18:21
TheVimeagen
Рет қаралды 15 М.
СКОЛЬКО ПАЛЬЦЕВ ТУТ?
00:16
Masomka
Рет қаралды 3,5 МЛН
Как Я Брата ОБМАНУЛ (смешное видео, прикол, юмор, поржать)
00:59
Натурал Альбертович
Рет қаралды 4,5 МЛН
FOREVER BUNNY
00:14
Natan por Aí
Рет қаралды 30 МЛН
Il ne s'attendait pas à ça...#shortsviral #viral
0:56
PANDACHÉ
Рет қаралды 266 М.
Learning Zig Part 2
53:41
TheVimeagen
Рет қаралды 30 М.
building yeetcode day 1
6:32:12
badcop VODs
Рет қаралды 539
ThePrimeagen & Rich Harris AMA
1:11:54
ThePrimeTime
Рет қаралды 63 М.
CppCast Episode 342: Zig with Andrew Kelley
57:45
CppCast
Рет қаралды 16 М.
The Truth About HTMX | Prime Reacts
49:56
ThePrimeTime
Рет қаралды 380 М.
Learning Rust Challenge! #1
2:29:15
GynvaelEN
Рет қаралды 7 М.
Самые УЖАСНЫЕ Dyson наушники! Dyson  #интересное
1:01
ТЕХНОБЛОГ АЛИША
Рет қаралды 143 М.
with the power of denden it can turn into an iPhone #shorts
0:10
Review Máy Đếm Tiền Tính Tổng #shorts
0:26
Review Máy Đếm Tiền
Рет қаралды 8 МЛН
Yanlışlıkla Telefonumu Parçaladım!😱
0:18
Safak Novruz
Рет қаралды 254 М.