ZIG | Ep3.2 | Compile Time and Overflow

แชร์
ฝัง
  • เผยแพร่เมื่อ 17 ธ.ค. 2024

ความคิดเห็น • 54

  • @Code-Guild
    @Code-Guild  หลายเดือนก่อน +5

    🌟 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 หลายเดือนก่อน +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  หลายเดือนก่อน +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!

    • @DKKum
      @DKKum 13 วันที่ผ่านมา

      Thank you for making videos on ZIG, but TBH I don't expect these content to be covered in tutorial of such an advanced programming language. People who don't even know compiler, const, var etc would normally go with JS/TS/Python, even Java/c# has way higher chance than zig IMHO. As a developer I found the style of let's get rusty is much more comfortable.

  • @Albert-john-x00
    @Albert-john-x00 หลายเดือนก่อน +11

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

    • @Code-Guild
      @Code-Guild  หลายเดือนก่อน +1

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

  • @Monkeey-De-Luffy
    @Monkeey-De-Luffy หลายเดือนก่อน +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  หลายเดือนก่อน +1

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

  • @AdnanElsajied-d8o
    @AdnanElsajied-d8o หลายเดือนก่อน +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  หลายเดือนก่อน

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

  • @Sarah-Thompson0
    @Sarah-Thompson0 หลายเดือนก่อน +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  หลายเดือนก่อน

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

  • @Tommy-ht6wo
    @Tommy-ht6wo หลายเดือนก่อน +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  หลายเดือนก่อน

      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 หลายเดือนก่อน +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  หลายเดือนก่อน

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

  • @Jacklol-yn1rj
    @Jacklol-yn1rj หลายเดือนก่อน +3

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

    • @Code-Guild
      @Code-Guild  หลายเดือนก่อน

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

  • @mr-blaaack
    @mr-blaaack หลายเดือนก่อน +5

    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  หลายเดือนก่อน

      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!

  • @Gigasharik5
    @Gigasharik5 29 วันที่ผ่านมา +2

    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!

  • @marcocaspers3136
    @marcocaspers3136 หลายเดือนก่อน

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

  • @OneTrueBIue
    @OneTrueBIue 23 วันที่ผ่านมา

    i have never seen such a good tutorial series on yt

  • @zProgrammer-kn8wc
    @zProgrammer-kn8wc หลายเดือนก่อน +2

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

    • @Code-Guild
      @Code-Guild  หลายเดือนก่อน

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

  • @EmilyDavis-h8t
    @EmilyDavis-h8t หลายเดือนก่อน +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  หลายเดือนก่อน

      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!

  • @ostadomid3355
    @ostadomid3355 20 วันที่ผ่านมา

    This course is amazing. Hope new episodes be sooner available.

  • @eliasepg
    @eliasepg หลายเดือนก่อน +2

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

    • @Code-Guild
      @Code-Guild  หลายเดือนก่อน +1

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

  • @m3azadham328
    @m3azadham328 หลายเดือนก่อน +1

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

    • @Code-Guild
      @Code-Guild  หลายเดือนก่อน

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

  • @truth_4lif399
    @truth_4lif399 หลายเดือนก่อน +1

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

    • @Code-Guild
      @Code-Guild  หลายเดือนก่อน

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

  • @nobir98
    @nobir98 หลายเดือนก่อน +1

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

    • @Code-Guild
      @Code-Guild  หลายเดือนก่อน

      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!

  • @Theo-xu3ir
    @Theo-xu3ir หลายเดือนก่อน

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

  • @naveenkanuri9
    @naveenkanuri9 27 วันที่ผ่านมา

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

  • @alexandraschuhmann9980
    @alexandraschuhmann9980 หลายเดือนก่อน +1

    Thanks...

    • @Code-Guild
      @Code-Guild  หลายเดือนก่อน

      You're welcome!

  • @wolfgangsanyer3544
    @wolfgangsanyer3544 15 วันที่ผ่านมา

    nice job on these videos so far. It may be helpful to mention (in a follow up video I suppose) that custom bit width integers are likely most useful when trying to carefully control the shape of a struct or something.
    I think if you just arbitrarily create a 7-bit int it will likely still get rounded or aligned to 8-bits, which would be wasteful

  • @kilianklaiber6367
    @kilianklaiber6367 หลายเดือนก่อน +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  หลายเดือนก่อน

      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!

  • @damirkekez4692
    @damirkekez4692 หลายเดือนก่อน +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  หลายเดือนก่อน

      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!

  • @zill_laiss
    @zill_laiss หลายเดือนก่อน +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  หลายเดือนก่อน

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

  • @AbdulRehman-pb5od
    @AbdulRehman-pb5od หลายเดือนก่อน +1

    Do live zig programming sessions twice a week

    • @Code-Guild
      @Code-Guild  หลายเดือนก่อน

      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 หลายเดือนก่อน +1

    Remember me when you become famous

    • @Code-Guild
      @Code-Guild  หลายเดือนก่อน

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

  • @ThomazMartinez
    @ThomazMartinez หลายเดือนก่อน +1

    guys can you slow down with animations ffs its to many

    • @Code-Guild
      @Code-Guild  หลายเดือนก่อน +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!

  • @christerpherhunter930
    @christerpherhunter930 21 วันที่ผ่านมา

    You are so an AI