Zig in Depth: Project Setup

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

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

  • @chrboesch
    @chrboesch Год назад +9

    Very well explained, I'll put a link to this series into ziglings.

  • @ChavdarIvanov4
    @ChavdarIvanov4 5 месяцев назад +6

    There is no more ' zig init-exe' and 'zig init-lib', now 'zig init' creates both, 'zig build' builds both. This is with zig 0.12 and later.

    • @dudethebuilder
      @dudethebuilder  5 месяцев назад +1

      Yes, true. Note that Zig in Depth is focused on Zig 0.11. There are still many concepts about the language that remain the same, but many other things have already changed. The new series Zig Master is covering the latest versions.

  • @rezabani9904
    @rezabani9904 2 месяца назад

    Thanks fr great content. I come from a little knowledge of C++ (I haven't write pure C that much) my daily job is in C++ but I think learning some other things like Rust or Zig is gonna be good for me and honestly I don't like the super complexity of C++ either.
    I hope zig would be my future development arena.
    By the way you have a great forum with so much cool stuff
    👍

  • @LS-jv4uh
    @LS-jv4uh Год назад

    I love your presentation style. Everything is explained very clearly for newbies. For sure will be watching the whole series. Thank you!

  • @jake-xz9jw
    @jake-xz9jw 11 месяцев назад

    Never heared of Zig or you ever. But I loved the video and got inspired to learn about it

  • @jakepy3436
    @jakepy3436 Год назад +1

    It was amazing and I'm grateful to have found your channel, one more subscriber. I just wish it existed for Spanish too, there is a community that wants to learn Zig, but they don't know any English. All the best.
    🦎

    • @dudethebuilder
      @dudethebuilder  Год назад +5

      Thanks for your feedback and hopefully once I finish the English version I can work on a Spanish Zig series too!

  • @epictaters3738
    @epictaters3738 11 месяцев назад +3

    Only `zig init` is available a month later. Everything worked (and thanks) but either I happened along right at a change or this thing changes fast! (I missed the part where you chose '11' and used the 'master' version though.)

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

      Zig is moving fast indeed! The master branch is seeing lots of changes lately. That's why I decided to focus the course on a single stable release (0.11.0) because following master would be a real rollercoaster ride. lol

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

    WTAF - I cannot believe how much time you’ve put into this series!! Instant subscribe

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

      Thanks! Stay tuned, a new series is coming...

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

    Very cool, especially the .git* files, that’s very helpful!

  • @etfstrategy-vb2eo
    @etfstrategy-vb2eo 5 месяцев назад +1

    Great video series. Things change by the day with Zig though. The init-exe command does not exist anymore in 0.13.

    • @dudethebuilder
      @dudethebuilder  5 месяцев назад +1

      Yes, many things in the Zig in Depth series only apply to Zig 0.11, specifically tool behavior, standard library, and the build system. The language itstelf has seen minor changes, but mostly has stayed the same.

    • @etfstrategy-vb2eo
      @etfstrategy-vb2eo 5 месяцев назад

      @@dudethebuilder Thanks for the clarification and thanks for making this video series. I have just started playing around with Zig and this has been quite helpful.

  • @iamworstgamer
    @iamworstgamer 5 месяцев назад +1

    should i start with zig in depth or zig master?

    • @dudethebuilder
      @dudethebuilder  5 месяцев назад +1

      Zig in Depth has much more concepts covered but there are things that won't work because it was made exclusively for Zig 0.11. Zig Master is covering the latest Zig version, but it still has yet to cover most of the concepts. So you can start with Zig in Depth but being aware that somethings may have changed. When in doubt, double check if Zig Master has an updated version.

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

    I'm a big fan of degit (even though it's implemented in Node) as a command-line tool to get projects scaffolded quickly. The new/default zig-init output is a little too generic and verbose!

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

      Hadn't heard of degit before. Gotta take a look at it to see how it works. I haven't even looked at the new Zig iinit and package management changes in master. I'm afraid that if I do, I'll be lured down that rabbit hole and won't get back to making videos. lol