Tyler Calder
Tyler Calder
  • 6
  • 2 679
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/
Переглядів: 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

КОМЕНТАРІ

  • @lancemax857
    @lancemax857 20 днів тому

    Awesome work sir.

  • @Nt2311-vn
    @Nt2311-vn 22 дні тому

    Great to see new vid man, thank you for sharing knowledge on Zig

  • @sweep-
    @sweep- Місяць тому

    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!!!

    • @calder-ty
      @calder-ty Місяць тому

      @@sweep- thanks! Yeah. I haven't thought about that but it could be good to do one on zigs lack of a string type.

  • @Nt2311-vn
    @Nt2311-vn Місяць тому

    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

    • @calder-ty
      @calder-ty Місяць тому

      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.

    • @Nt2311-vn
      @Nt2311-vn Місяць тому

      @@calder-tythank you, really appreciate it

  • @Nt2311-vn
    @Nt2311-vn Місяць тому

    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.

    • @calder-ty
      @calder-ty Місяць тому

      @@Nt2311-vn thanks!! I'm glad it's been helpful

  • @oussaber
    @oussaber 2 місяці тому

    great explainer! any resources for further reading?

    • @calder-ty
      @calder-ty 2 місяці тому

      @@oussaber thanks! "The Linux Programming Interface" is probably the best book I've read on this and many other topics.

  • @Llourn
    @Llourn 2 місяці тому

    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!

    • @calder-ty
      @calder-ty 2 місяці тому

      @@Llourn thanks!

  • @verticalthinking1
    @verticalthinking1 2 місяці тому

    Great video and congrats on the new baby!

    • @calder-ty
      @calder-ty 2 місяці тому

      @@verticalthinking1 thanks!

  • @mahmoodalzeuidi
    @mahmoodalzeuidi 2 місяці тому

    really helpful .. thanks !!

  • @Darkev77
    @Darkev77 2 місяці тому

    I just started learning Zig coming from a Python-only background, and thank God I found this channel!

    • @calder-ty
      @calder-ty 2 місяці тому

      @@Darkev77 I'm glad it's been helpful! Heavy Python Dev is my background as well!

  • @rocketsketch
    @rocketsketch 2 місяці тому

    Excellent

    • @calder-ty
      @calder-ty 2 місяці тому

      @@rocketsketch thank you!

  • @0xBTx0
    @0xBTx0 2 місяці тому

    As someone who is currently learning Zig, these videos are great! Please keep them coming.

    • @calder-ty
      @calder-ty 2 місяці тому

      @@0xBTx0 thanks!

  • @cincooitodois
    @cincooitodois 3 місяці тому

    really appreciate the video, tyler! learning a lot from you! please keep them coming! twitch streams when? hahahah

    • @calder-ty
      @calder-ty 3 місяці тому

      @@cincooitodois thanks! I'd have to think of a good project to stream, but that could be fun

  • @wannabeadonis69
    @wannabeadonis69 3 місяці тому

    good video sire, been learning zig and c++++(rust) for a while and this was helpful

    • @calder-ty
      @calder-ty 3 місяці тому

      @@wannabeadonis69 thanks! I'm glad it was helpful!

  • @verticalthinking1
    @verticalthinking1 4 місяці тому

    The best video on Zig I've seen! Please make more content like this Tyler!

  • @besogogeishvili2040
    @besogogeishvili2040 4 місяці тому

    What a gem. Keep up the good work!

    • @calder-ty
      @calder-ty 4 місяці тому

      @@besogogeishvili2040 thanks!