- 6
- 2 679
Tyler Calder
Приєднався 15 сер 2012
Zig For the Uninitiated: Zig Interfaces
Here we discuss Zig interfaces, with particular attention to the Allocator interface in std.mem.
If you have any questions, feel free to reach out in the comments, or at my discord: discord.gg/QyyXnwKqCP
Write up: calder-ty.com/posts/zig_uninitiated_interfaces/
If you have any questions, feel free to reach out in the comments, or at my discord: discord.gg/QyyXnwKqCP
Write up: calder-ty.com/posts/zig_uninitiated_interfaces/
Переглядів: 344
Відео
Zig for the Uninitiated: Memory Faults
Переглядів 2422 місяці тому
Here we discuss different Memory Faults that can occur if we are not careful, and how zig helps detect them. Website: calder-ty.com Discord: discord.gg/HcJnFYqM6S
Zig for the Uninitiated: Practical Stack and Heap
Переглядів 1952 місяці тому
In this episode we look at a practical example, and discuss how the stack and heap interact. Discuss on Discord: discord.gg/HcJnFYqM6S My Website: calder-ty.com
Zig for the Uninitiated: Stacks, Heaps, Lifetimes
Переглядів 1463 місяці тому
In this video, we whiteboard out the stack and heap, so that we can get an intuition for how they work, and why we need a heap anyway. Discuss on Discord: discord.gg/HcJnFYqM6S
Zig for the Uninitiated: Pointers, Arrays, and Slices
Переглядів 1,4 тис.3 місяці тому
In this video we discuss zig pointers, arrays and slices, their syntax, and how they look in memory. Read up more on my website: www.calder-ty.com/posts/pointersarraysslices/ Discuss on Discord: discord.gg/HcJnFYqM6S
Zig for the Uninitiated: Understanding Process Memory
Переглядів 3934 місяці тому
When you are tying to understand Zig, A frequent concern that comes up is "What's an Allocator", and "Which one do I pick?". In this Video we discuss the basics of memory, and the segments of the memory in a process. If you have any questions, feel free to reach out in the comments, or at my discord: discord.gg/QyyXnwKqCP
Awesome work sir.
Great to see new vid man, thank you for sharing knowledge on Zig
I can’t wait until you get to a little more on strings. Ha. It took me forever to figure out how to pass string literals from a test, into a function param, and to have that function work with runtime strings… Thanks for adding more Zig content into this world!!!
@@sweep- thanks! Yeah. I haven't thought about that but it could be good to do one on zigs lack of a string type.
Subscribed to your content . Could you mind if i ask the float terminal on the right to see the mem address on the stack and heap , this belong to a vim plugins with your cònigs or something because i want to have that in my zig development too
So, that is a tool i made specifically for these videos. The memory addresses are not real ones (as they change every time you run the program) instead i just use it as a instructional tool. If you are still interested you can find the code in my dotfiles: github.com/Calder-Ty/dotfiles/blob/master/files/.config/nvim/lua/calderty/callout.lua You can see the memory addresses using a debugger like codelldb, and occasionally I do that. Maybe I can make a video demonstrating that.
@@calder-tythank you, really appreciate it
Really appreciate your content, coming from a non low-level language background currently im learning Zig and your video and explanations help me a lot.
@@Nt2311-vn thanks!! I'm glad it's been helpful
great explainer! any resources for further reading?
@@oussaber thanks! "The Linux Programming Interface" is probably the best book I've read on this and many other topics.
Just finished catching up on all the zig for the uninitiated videos. Great work! Looking forward to the next one! And congrats on the new baby!
@@Llourn thanks!
Great video and congrats on the new baby!
@@verticalthinking1 thanks!
really helpful .. thanks !!
I just started learning Zig coming from a Python-only background, and thank God I found this channel!
@@Darkev77 I'm glad it's been helpful! Heavy Python Dev is my background as well!
Excellent
@@rocketsketch thank you!
As someone who is currently learning Zig, these videos are great! Please keep them coming.
@@0xBTx0 thanks!
really appreciate the video, tyler! learning a lot from you! please keep them coming! twitch streams when? hahahah
@@cincooitodois thanks! I'd have to think of a good project to stream, but that could be fun
good video sire, been learning zig and c++++(rust) for a while and this was helpful
@@wannabeadonis69 thanks! I'm glad it was helpful!
The best video on Zig I've seen! Please make more content like this Tyler!
What a gem. Keep up the good work!
@@besogogeishvili2040 thanks!