ZIG | Ep3.2 | Compile Time and Overflow

Поділитися
Вставка
  • Опубліковано 22 лис 2024

КОМЕНТАРІ • 49

  • @Code-Guild
    @Code-Guild  22 дні тому +3

    🌟 Your support keeps me going! 🌟
    Hey everyone, this is a non-profit, solo effort, and your support really helps! If you enjoyed or benefited from the content, please consider :
    👍 Liking the video
    ✍ Leaving a comment
    🔔 Subscribing and hitting the notification bell to stay updated
    ❤ And if you'd like to support even more, you can donate to help keep this work going!
    Every bit of support from you means the world and encourages me to continue creating! 😊

    • @kacper7516
      @kacper7516 21 день тому +2

      Hi, two episodes named Ep3 are a little bit confusing, could I ask to name this episode 3.2 and the previous one 3.1

    • @Code-Guild
      @Code-Guild  21 день тому +1

      Thank you for pointing that out! I appreciate your suggestion. I've updated the titles to 3.1 and 3.2 to make it clearer. Your feedback really helps improve the content!

  • @Albert-john-x00
    @Albert-john-x00 22 дні тому +10

    The part about integers and data overflow really opened my eyes, Never thought of it that way before. Amazing work!

    • @Code-Guild
      @Code-Guild  22 дні тому

      Thank you! Data overflow is important to understand. I'm glad it resonated with you!

  • @Sarah-Thompson0
    @Sarah-Thompson0 22 дні тому +10

    This is exactly the kind of in-depth explanation I needed! Thanks for making complex concepts in Zig so clear and approachable
    🧡🧡

    • @Code-Guild
      @Code-Guild  22 дні тому

      I'm really glad to hear that! Making complex concepts clear is what I'm aiming for. Thanks for your support!

  • @AdnanElsajied-d8o
    @AdnanElsajied-d8o 22 дні тому +8

    Wow, I finally understand comptime and how it’s used in Zig! Thank you for breaking it down in such an understandable way!!

    • @Code-Guild
      @Code-Guild  22 дні тому

      I’m really happy to hear that! Comptime can be tricky, but it’s a powerful feature!

  • @Monkeey-De-Luffy
    @Monkeey-De-Luffy 22 дні тому +13

    Loving the level of detail here, especially on RAM and data types This series is a goldmine for anyone serious about learning Zig!

    • @Code-Guild
      @Code-Guild  22 дні тому +1

      Thanks a lot! I'm glad you’re finding it helpful!

  • @mr-blaaack
    @mr-blaaack 22 дні тому +4

    You make programming in Zig look so easy! great work explaining the differences between variable types and constants, Thank you very much for your hard work

    • @Code-Guild
      @Code-Guild  22 дні тому

      Thank you so much! I’m really glad you found the explanations helpful. Zig is a great language, and I'm happy to share what I learn!

  • @Tommy-ht6wo
    @Tommy-ht6wo 22 дні тому +4

    This hands-on segment was so helpful! I appreciate the live coding and practical examples. Keep up the great work!

    • @Code-Guild
      @Code-Guild  22 дні тому

      I'm glad you found the hands-on segment helpful! Live coding really brings the concepts to life. Thanks for your support!

  • @Warlord-y4t
    @Warlord-y4t 22 дні тому +4

    I’m really impressed by how much thought and effort you put into these explanations! The bit-width and integer types part was super clear

    • @Code-Guild
      @Code-Guild  22 дні тому

      Thank you so much! I'm thrilled you found the bit-width and integer types explanation clear. Your feedback means a lot!

  • @marcocaspers3136
    @marcocaspers3136 18 днів тому

    This is very good as a programming basics training, not just as a zig training. You're a good teacher.

  • @EmilyDavis-h8t
    @EmilyDavis-h8t 22 дні тому +2

    I didn’t expect to get such a detailed breakdown on data overflow! This is incredibly helpful, Thanks for making learning so enjoyable

    • @Code-Guild
      @Code-Guild  22 дні тому

      I'm glad you found it helpful! Data overflow is a crucial topic, and I'm happy to make learning enjoyable for you! Thank you for the feedback!

  • @Jacklol-yn1rj
    @Jacklol-yn1rj 22 дні тому +3

    This series just keeps getting better! I’m excited for the next episode, Amazing job!

    • @Code-Guild
      @Code-Guild  22 дні тому

      Thank you! I appreciate your support! I'm excited to share more in the next episode too!

  • @zProgrammer-kn8wc
    @zProgrammer-kn8wc 22 дні тому +2

    You covered so much in just one video, yet everything felt simple and clear. Truly great teaching skills

    • @Code-Guild
      @Code-Guild  22 дні тому

      Thank you! I'm really glad to hear that the video felt simple and clear despite covering a lot. I appreciate your kind words!

  • @Gigasharik5
    @Gigasharik5 3 дні тому

    Damn, people want zig to become a popular language so badly that they even create computer science channels for beginners so that they end up staying on zig. And I'm absolutely happy about that, I'm rooting for you!

  • @eliasepg
    @eliasepg 22 дні тому +1

    Awesome! I learnt so much in question of minutes, thank you for sharing these in-depth explanations.

    • @Code-Guild
      @Code-Guild  21 день тому +1

      Thank you! I’m thrilled to hear you found the explanations helpful. Your support motivates me to keep sharing more in-depth content!

  • @Theo-xu3ir
    @Theo-xu3ir 5 днів тому

    Hey I'm just learning zig, love the videos! Commenting for the algorithn!

  • @naveenkanuri9
    @naveenkanuri9 2 дні тому

    Thanks for the amazing content! Keep the videos coming.
    Subscribed!

  • @m3azadham328
    @m3azadham328 21 день тому +1

    "سطح المكتب" 🖤

    • @Code-Guild
      @Code-Guild  21 день тому

      فكرت ما بيلاحظها حد xD

  • @nobir98
    @nobir98 22 дні тому +1

    Nice details; I really like it. Please arrange your videos in chronological order in your playlist.

    • @Code-Guild
      @Code-Guild  22 дні тому

      Thanks for the feedback! I’ll make sure to organize the videos in chronological order in the playlist for easier navigation. I appreciate your suggestion!

  • @alexandraschuhmann9980
    @alexandraschuhmann9980 10 днів тому +1

    Thanks...

  • @truth_4lif399
    @truth_4lif399 21 день тому +1

    Love the video please keep them coming, I'm using ur video to learned zig. Great Job!! 🔥

    • @Code-Guild
      @Code-Guild  21 день тому

      Thank you so much! I'm glad to hear you're finding the videos helpful for learning Zig. I’ll keep them coming-stay tuned! 🔥

  • @damirkekez4692
    @damirkekez4692 21 день тому +1

    Loving the videos, but definitely think the pacing (both speech and animations) could be slowed down a bit. Keep up the great work.

    • @Code-Guild
      @Code-Guild  21 день тому

      Thank you for the feedback! I appreciate your support and will definitely consider slowing down the pacing of both the speech and animations in future videos to make it easier to follow. Stay tuned for more great content!

  • @kilianklaiber6367
    @kilianklaiber6367 21 день тому +1

    Very nice. So the compiler decides where and how to store these values? The data type comptime_int only works for constants? This seems reasonable, because in case of a constant the compiler can easily determine how much memory is needed.
    I looked at the documentation. It seems that there is no data type string. Instead, I read this, which is mumbo jumbo in my mind:
    "String Literals and Unicode Code Point Literals §String literals are constant single-item Pointers to null-terminated byte arrays. ..." I don't speak Chinese...
    The documentation appears to be written for people familiar with C, which I am not.
    Do keep up these wonderful videos. I could not teach myself by reading this documentation!

    • @Code-Guild
      @Code-Guild  21 день тому

      Great questions! Yes, the compiler determines where and how to store values based on their types. The `comptime_int` type is indeed for constants, making it easier for the compiler to allocate memory.
      As for strings, Zig uses string literals as pointers to byte arrays, which can be a bit confusing at first. I understand that the documentation can be daunting, especially for those not familiar with C.
      I'm glad to hear the videos are helping you! I’ll keep making them to simplify these concepts, and strings will definitely be a topic in upcoming videos. Thank you for your support!

  • @zill_laiss
    @zill_laiss 21 день тому +1

    that سطح المكتب got reversed in the terminal is still funny to me, reminding me how terrible terminal support for arabic is

    • @Code-Guild
      @Code-Guild  21 день тому

      حلها بسيط بس لاني كنت مستعجل شوي ما انتبهت لها الا بعد ما خلصت الفيديو وكسلت اعيده xD

  • @AbdulRehman-pb5od
    @AbdulRehman-pb5od 21 день тому +1

    Do live zig programming sessions twice a week

    • @Code-Guild
      @Code-Guild  21 день тому

      Great suggestion! Live Zig programming sessions twice a week could boost engagement and help viewers learn in real-time. I'll consider adding them to the schedule.

  • @ryanij
    @ryanij 21 день тому +1

    Remember me when you become famous

    • @Code-Guild
      @Code-Guild  21 день тому

      Of course! I’ll always appreciate the support from my early viewers. Thank you for being a part of this journey!

  • @ThomazMartinez
    @ThomazMartinez 21 день тому +1

    guys can you slow down with animations ffs its to many

    • @Code-Guild
      @Code-Guild  21 день тому +1

      Thanks for your honest feedback! I understand that the animations might be overwhelming at times. I’ll work on balancing them better in future videos. Your input is really appreciated!