Zig in Depth: Arrays

Поделиться
HTML-код
  • Опубликовано: 25 ноя 2024

Комментарии • 9

  • @kinsondigital
    @kinsondigital 10 месяцев назад +4

    Hey...this is great stuff man!! Thanks for your time for doing this and keep it up.
    This is going to come in handy when I need to create some high-performance libs for my open-source C# 2D game development framework Velaptor.

  • @ZenonLite
    @ZenonLite 11 месяцев назад +1

    Great video! I didn’t’ know that you could initialize an array with a tuple in zig.

  • @severgun
    @severgun 4 месяца назад +3

    What is the difference const vs var in terms of array? Is it const reference as in most languages or const values?

    • @dudethebuilder
      @dudethebuilder  4 месяца назад +3

      Arrays in Zig are values so a const array is immutable. Pointers and slices can be const themselves (as values) in addition to the values they point to, which can be const or not.

  • @revenevan11
    @revenevan11 15 дней назад

    Do you live in Puerto Rico? I swear I could hear one of those cute Coqui frogs faintly in the background noise 😊😅

    • @dudethebuilder
      @dudethebuilder  15 дней назад +1

      Now that's some keen hearing! Yes, I'm in PR and that's the Coquí frog concert in the background. lol

  • @thilina91
    @thilina91 7 месяцев назад

    great video! thanks!

  • @makroshlyta
    @makroshlyta 11 месяцев назад

    Great insight! ty! 🤓

  • @OverlordOverlay-fd6xn
    @OverlordOverlay-fd6xn 5 месяцев назад

    Thanks man