🌟 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! 😊
You should definitely switch to a monospaced font like JetBrains. Whatever font that is you're using is not easy to structure and has ambiguities (like I and l)
This is the first high quality zig course I found, I'm still new to zig I just started learning this week, I hope this course grows big it will attract alot of newbies like me to this amazing language.
Thank you so much for your kind words! I'm really glad you found the course helpful, especially as you're just starting with Zig. It's great to hear that you're enjoying the language, and I hope this course can continue to support you and others in the learning journey. Your encouragement means a lot, and I’ll keep working to make the content even better to attract more learners like you!
I've been programming since I was 9yo, for 20 years now, and this is, by far, the most educational introduction to a programming language I've ever seen...
Wait 🤚 🤚 ! This is the best lecture I've ever seen in my life, the editing, animation, sounds and everything here is amazing 😲😲 ! Thank you from the bottom of my heart, you're the best, keep going, I've subscribed ♥♥ !
Great introduction to Zig! The explanations are clear and concise. I'm excited to start building projects with this language. Thanks for creating this course!
Thank you so much! I’m really glad you found the structure helpful for learning and understanding the concepts. Your feedback means a lot and motivates me to keep improving the content. Stay tuned for more!
I thought this was a pretty good way to interact with Zig for the first time. I've been interested in learning Zig for a while, and when I ran across this channel, I thought I'd give it a try. Seems really approachable!
Great, but since everyone is asking questions in the comments so I have a question. I'm impressed with Zig's focus on performance and safety. Can you elaborate on how Zig achieves memory safety without a garbage collector?
@@Code-Guild It is difficult to comprehend at first glance, as you mentioned in the video, but here I am. I have subscribed to the channel. Try to complete this course as quickly as possible. I am very excited about it, like many others, as it appears from the comments.
Totally excellent introductory tutorial on getting started with the Zig programming language. The visuals and narration are so clear and well paced (captivating). They quickly take a novice to the point of making a confident start with Zig and the Visual Studio Code IDE. Looks like I'm not the only one amazed by this education master class. Well done Code Guild !
That's a great question! Zig's memory management differs from C in several ways. I'll dedicate a separate video to delve deeper into this topic, comparing the two languages and explaining Zig's unique approach.
STOP HERE ANT TIP YOUR HAT TO THIS GUY ! The sound is perfect, the animation and editing are awesome! Keep it up man we are with you subscribed and donated
As senior that has struggled to learn zig over and over again, this is the best zig course i have every seen, i dont usually do this, but seeing the negative comments i said i must put one positive comment here so you could stay motivated and keep pushing this. Good work. Keep it up and keep explaining every single thing🎉
Clearly the best programming course video I have ever seen. The video editing is perfect (insane) and the course itself is really great! If you go to the end for a full Zig course, you will be my new hero :D
Absolutely loved this video! Your clear explanations and practical approach to Ziglang make it so much easier to understand. Please keep creating these tutorials-your content is really valuable for the community. Looking forward to more in-depth videos like this. Keep up the great work!
Thank you so much! I'm thrilled to hear that you enjoyed the video and found the explanations helpful. It means a lot to know that the content is making a positive impact. I’m definitely planning to dive even deeper into Zig and cover more complex topics in upcoming videos, so stay tuned! Your support and feedback are really motivating-thanks again for watching! 😊
I've been using Rust for a while, and Zig seems to have a similar approach to memory safety. I'm curious to see how Zig compares to Rust in terms of performance and ecosystem.
You're absolutely right! Zig and Rust share many similarities, and both focus on memory safety. I'll try to create a video comparing the two languages in more detail, highlighting their strengths and weaknesses.
This was the great entry point of a beginner to Zig programming languge. Well explained, great examples, hope on the last of the Lesson there are a great project also. This was great, man!
Congratulations! An excellent intro, with good explanations, skimming complex concepts without frightening the viewers but assuring the proper explanations will come in due time. That makes me want to learn more of the language by taking this course. Thanks for sharing and for dedicating your precious time to educate others. 🙌
Very good intro video. Even as a developer I found it useful to establish a baseline of both the language, tools and your teaching style. Obviously slow for the benefit of beginners but it was perfectly watchable at 2x speed. Only notes I have are the transitions in the beginning can get to be a bit much after a while, especially with the sounds playing every time. And maybe front loading some of the information could be helpful to reduce cognitive load. For instance instead of showing one item at a time with the spin effect, showing all of them up front will allow people to parse the information at their own speed. Things popping in gives the presentation a fast paced feel which can stress the viewer because they feel they're on a timer to understand something before the next thing pops in. Maybe you could have listed the four items instead, with an arrow or other graphics highlighting the current item while the others were readable, so the viewer can more smoothly move their attention from one to the next. Something to consider at least. It was also good that you explained general programming concepts along the way, although it became a bit robotic after a while with the same "don't worry, now back to the topic at hand" style comment being repeated. I was honestly considering if this was AI generated throughout the video. Not sure how to mitigate this though, since I think the message was important to convey to the beginner-viewer. Regardless, I think it was an excellent start to the course. I'll keep an eye out for the next one.
Thanks so much for the detailed feedback! Your perspective as a developer is incredibly valuable, and I appreciate you taking the time to share your thoughts. You're absolutely right about the transitions and information overload in the beginning. I was aiming for a visually engaging intro, but it sounds like it might be a bit much. I'll definitely consider listing out the key points or using a different transition style that doesn't require such rapid attention switching. The point about the "don't worry" phrasing is also spot on. I want to ensure beginners feel comfortable, but repeating the same phrase might sound robotic. I'll try to find a more natural way to convey those reassuring messages. I'm constantly learning and refining my approach, so your feedback helps me create a better learning experience for everyone. I'm glad you found the video useful overall, and I'm thrilled you'll be sticking around for the next one!
@@Code-Guild You're welcome. It's clear from your video and response that you put a lot of thought into how you present the subject matter. The quality already ranks quite high in terms of course content so I'm confident you'll gain subscribers quickly. Hopefully the algorithm will do its job and get some eyes on your work🤞
Yes, I am using the Zig Language extension for IntelliSense. It's a fantastic tool that greatly enhances the development experience. I highly recommend it to anyone learning or using Zig. see 3:04
Wait a second. I think this channel is emtirely AI generated and led. The video, the animations, the script, the voice, the comments. Everything screams AI to me. Maybe I'm tripping.
great video, i'm very impressed with this series so far, i love the fact you go into the low level detail of bit and bytes, especially as that's often the reason for choosing a language like Zig or C. One nitpick, i'm curious why you think Zig is a simpler language compared to C, i'd same they are basically the same (certainly compared to more complex languages like C++ and Rust) or probably that Zig is slightly more complex given it's capture group syntax and support for errors as values.
Thank you for the feedback, and I'm glad you're enjoying the series! I really appreciate that you're finding the low-level details on bits and bytes valuable, as they’re a key part of understanding Zig and C. Regarding your point about simplicity, it's true that Zig and C share many similarities, especially when compared to languages like C++ or Rust. My perspective on Zig being simpler comes from its design philosophy of reducing implicit behavior and making things more explicit, like the lack of a preprocessor and manual memory management without undefined behavior. However, I see your point about features like capture groups and error handling, which do add complexity in certain cases. It’s a great discussion, and I’ll definitely take this into consideration for future content!
So I watched this course, then I tried to find another since this one is still not finished. There's no second best. You guys set a new standard for teaching. I even checked out paid courses. I've been spoiled, I don't want to watch a course anymore that's not of this quality 😮
Thank you so much for your comment! Yes, you're absolutely right-Zig does use snake_case for variable names, so using sum_of_two fits the language style better. I'm glad the content is helping you on your journey with Zig!
Great video for an introductory session of a programming language. But I have a doubt, In 15:09 you mentioned about run time errors but the examples given seems to be compilation errors as the compiler itself will finds it and report it. I believe a run time error is one which happens when doing zig run like overflow error. I am little bit confused on this. Anyone help me with it please.
I'm new to programming and Zig seems like a great language to start with. However, I'm a bit confused about the concept of comptime. Could you explain it in simpler terms?
Comptime in Zig is a powerful feature that allows you to perform calculations and make decisions at compile time rather than runtime. It's like having a super-smart compiler that can optimize your code before it even runs. Think of it as writing code that writes code! I'll try to create a video dedicated to comptime to explain it in more detail.
@@Code-Guild In other words, if you perform a mathematical operation and the compiler calculates it at compile time, this means high speed. So, is it possible to write the entire application at compile time?
@@Monkeey-De-Luffy Well, there is a difference between the operations that can be executed at compile time and runtime, and this varies from one application to another, but in general the answer is no, applications cannot be written completely in compile mode, simply because if we know in advance the output of the operation 1 + 1 and the program will only perform this equation, so why write the equation in the first place? Why don't we write the output directly? Real applications need to perform different operations on different values, mostly based on user input. Therefore, we always need runtime operations. I will explain all of these things in the future in the upcoming lessons.
I'm blown away by how good this video is. I'm not dumb but I like things explained to me in simple terms and to be taught in a way where knowledge is slowly built up. I really wish I had someone to teach to me to program in this concept. Any advice on what it would take for me to build a simple 2D game engine? Assuming, I have 0 prior programming knowledge and I want to start by learning Zig.
Haha, good catch! I like to personalize the setup a bit to make it visually engaging. Glad you noticed! It’s always fun to add a unique touch, even to the editor.
Also - since you seem to be open to constructive criticism - I'll give you the advice that the co-author of Elements of Style E.B. White's father told him when the co-author showed his father a term paper he wrote. First he said "This is good. Now cut (the number of words) in half." After E.B White did his father then said "This is much better. Now cut in half again." Your video would be *much* better if your script used about 1/4th as many words. Which words? You decide, but having to cut 3 of every 4 words will force you to decide which words are really necessary, and which are just unnecessary fluff. #jmtcw
I am a Java/SpringBoot (backend) developer for over 10 years, I want to migrate to Rust or Zig, in the Rust language we have (Trait, Generic, Closure and modules). In Zig is it possible to have the same concepts or is it easy to implement them?
@KhaledBoussebat Great question! While Rust and Zig share some similarities, they also have distinct design philosophies. In Rust, Traits, Generics, and Closures are central, enabling a lot of flexibility. Zig, on the other hand, emphasizes simplicity and explicitness, so it doesn’t have traits or generics in the same way. Instead, Zig uses concepts like 'comptime' (compile-time execution) to achieve similar flexibility, but with more control over when things happen. Closures are also absent in Zig, but you can still implement similar behavior using function pointers and structs. Zig’s approach might seem more manual at first, but that’s what gives it power and predictability. Migrating from Java/SpringBoot, you'll find both languages require a bit of adjustment, but they each offer unique strengths. Good luck with the transition!
Thanks for the feedback! Simplifying code can be subjective. While Zig aims for clarity and efficiency, I understand how certain examples might appear complex. Could you point to a specific code snippet that you found particularly challenging? I'd be happy to explain the reasoning behind it.
So, glad you used Windows and powershell. So, many videso have Mac terminal or Linux, which doesn’t match real world in most cases. Not saying I like Windows better, just far more work environments will use or require it. Mac and Linux are more niche when you look across all orgs and devs.
I totally understand the importance of using Windows and PowerShell. Many work environments rely on Windows, so I chose it to make the course more accessible for most viewers. While Mac and Linux are great, using Windows here hopefully makes it easier to follow along. Thanks for your support!
I hope it will be integrated with the Linux kernel soon, But to installing it on Linux (Ubuntu) is a breeze. Use "sudo apt install zig" and you're good to go !
While both Zig and C are powerful languages, Zig aims to simplify certain concepts and provide more modern features. It's true that both languages require a solid understanding of programming fundamentals. I'll be creating a more in-depth comparison video in the future to explore this further.
In this case it might be obvious, but in other cases it might not be. So the Zig philosophy is: tell the compiler what you want and what you don't want every time. And it's easier for another developer to understand the code, especially if they didn't write it themselves.
Hi, I couldn't fully understand the comment, but we will try to reduce the animation in the upcoming videos, I hope you enjoyed it and we apologize for any inconvenience :)
i like your video.. but i pity you because you are misguided thinking that zig is a good language.. maybe you havent try Odin yet.. what a shame.. zig is pure ugly.. Odin and C3 is far better
Thank you for sharing your thoughts, and we're glad you liked the video. We respect your opinion and will definitely take a look at Odin and C3. Our goal is to explore the best tools and languages available, and we don't limit ourselves to one. If Odin proves to be a strong contender, we'd be happy to cover it as well. We're always open to learning and improving!
Dear @code-guild We really thank you for this masterpiece, Video of ZIG lang. I love ZIG and I want to learn more, please continue doing those ZIG videos. in Future Videos can you do streams developing Games or applications using ZIG? Thanks
It seems like you focused on the small details and missed the bigger picture 😊. The main goal is the value the video provides to viewers. Thanks for stopping by!
@@Code-Guild while the rest of the video is indead good it's for beginners and for someone that was beginner too someday this samething confused me back then making it not a good start for a good series
🌟 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! 😊
Very nice tutorial, I will share it with some students
@kacper7516 Thank you! I’m glad you found it helpful. Sharing it with your students means a lot to me-thank you for spreading the word!
You should definitely switch to a monospaced font like JetBrains. Whatever font that is you're using is not easy to structure and has ambiguities (like I and l)
This is the first high quality zig course I found, I'm still new to zig I just started learning this week, I hope this course grows big it will attract alot of newbies like me to this amazing language.
Thank you so much for your kind words! I'm really glad you found the course helpful, especially as you're just starting with Zig. It's great to hear that you're enjoying the language, and I hope this course can continue to support you and others in the learning journey. Your encouragement means a lot, and I’ll keep working to make the content even better to attract more learners like you!
@@Code-Guild Thank you.
You are welcome :)
I've been programming since I was 9yo, for 20 years now, and this is, by far, the most educational introduction to a programming language I've ever seen...
The first lesson was amazing!!!! Please dont stop!
Thanks, i will not stop :)
Wait 🤚 🤚 !
This is the best lecture I've ever seen in my life, the editing, animation, sounds and everything here is amazing 😲😲 !
Thank you from the bottom of my heart, you're the best, keep going, I've subscribed ♥♥ !
+1
+2
+3
++
@@Code-Guild#
Great video. I especially like the fact that the videos is viewable with my old eyes.
Best intro lesson for a language
step aside youtube;
we have a winner for best tutorial for learning programming languages;
You made this easier than learning python;
Thanks man
Wow, that's high praise ! I'm glad you found the tutorial helpful ❤.
Helping others learn is incredibly rewarding 😊.
Subbed!!!
Let's the Zig language take over....
Thanks for subscribing, Let's build some amazing things together 🔥
@@Code-Guild amazig
@@pedroluzio Thanks
the best learning tutorial not only for zig but for programming in general!
Great introduction to Zig! The explanations are clear and concise. I'm excited to start building projects with this language. Thanks for creating this course!
Thanks for the kind words! I'm glad you found the video helpful.
Really good introduction
Thank u :)
that's a nice, shallow, introduction video for someone who's new to programming and decided to start with zig
Best information structure for learning and understanding the concepts of a comp language I have seen!
Thank you so much! I’m really glad you found the structure helpful for learning and understanding the concepts. Your feedback means a lot and motivates me to keep improving the content. Stay tuned for more!
Let's go another zig youtuber
Thanx, Let's go !
The best i have seen so far
Thank u ❤
I thought this was a pretty good way to interact with Zig for the first time. I've been interested in learning Zig for a while, and when I ran across this channel, I thought I'd give it a try. Seems really approachable!
Glad it was helpful !
Great, but since everyone is asking questions in the comments so I have a question. I'm impressed with Zig's focus on performance and safety. Can you elaborate on how Zig achieves memory safety without a garbage collector?
@@Code-Guild It is difficult to comprehend at first glance, as you mentioned in the video, but here I am. I have subscribed to the channel. Try to complete this course as quickly as possible. I am very excited about it, like many others, as it appears from the comments.
Zig does not have ownership and borrowing system, its Rust's method of managing memory.
@@fraidoonhu9284 it looks like a chat gpt response. there's other responses that look ai generated.
It's not memory safe, it's just easier to not shoot yourself in the foot
lol ai response is crazy 🤪
Amazing !
Thanks!
l like this lesson! The best sound and animated code explanations.
These words really made me happy, thank you ❤️
Great production - thank you!
Thank you! I really appreciate your support!
really great intro video the initial install from this video made it super simple thank you so much can't wait for more!
More to come!
It features an awesome, detailed explanation, excellent graphics, and a cool voice. I hope it continues to be this impressive!
Thank you very much, we will continue :)
Totally excellent introductory tutorial on getting started with the Zig programming language. The visuals and narration are so clear and well paced (captivating). They quickly take a novice to the point of making a confident start with Zig and the Visual Studio Code IDE. Looks like I'm not the only one amazed by this education master class. Well done Code Guild !
That was such a good video. Thank you.
I’m glad you enjoyed it! Thank you for watching!
Great work, thank you...
Thanks
Amazing video... a lot of hard work.
I'm waiting for the next one!
Congratulations!
Thank you so much for the kind words! I'm really glad you enjoyed the video. I’m working hard on the next one, so stay tuned-it’s coming soon!
a really nice intro video!
This is a great starting point. Could you elaborate on the differences between Zig and C in terms of memory management?
That's a great question! Zig's memory management differs from C in several ways. I'll dedicate a separate video to delve deeper into this topic, comparing the two languages and explaining Zig's unique approach.
@@Code-Guild I would be grateful if you did, thanks for your interest and quick response
Had to subscribe
Thank u :)
Great video. Perfect format
Glad you liked it!
1.92k only!!!! Subscribed
With your support we will reach much more, Thank you :)
@@Code-Guild you will and I believe it. Just keep going brother. We will support you.
@@nobir98 Thank you, this really makes me happy :)
Nice
Thanks
STOP HERE ANT TIP YOUR HAT TO THIS GUY !
The sound is perfect, the animation and editing are awesome! Keep it up man we are with you subscribed and donated
Nice beginner friendly video!
Glad you think so!
As senior that has struggled to learn zig over and over again, this is the best zig course i have every seen, i dont usually do this, but seeing the negative comments i said i must put one positive comment here so you could stay motivated and keep pushing this. Good work. Keep it up and keep explaining every single thing🎉
This is surprisingly a very detail and good video. You won't regret watching it. I hope he gets the views he deserves.
Thank u so much for ur words :)
this is a very amazing video bro and it is really comprehensive. keep up the good work!
Thanks, will do!
Clearly the best programming course video I have ever seen.
The video editing is perfect (insane) and the course itself is really great!
If you go to the end for a full Zig course, you will be my new hero :D
Absolutely loved this video! Your clear explanations and practical approach to Ziglang make it so much easier to understand. Please keep creating these tutorials-your content is really valuable for the community. Looking forward to more in-depth videos like this. Keep up the great work!
Thank you so much!
I'm thrilled to hear that you enjoyed the video and found the explanations helpful.
It means a lot to know that the content is making a positive impact.
I’m definitely planning to dive even deeper into Zig and cover more complex topics in upcoming videos, so stay tuned!
Your support and feedback are really motivating-thanks again for watching! 😊
Thanks, as others have said this is fantastic.
Glad you enjoyed it!
I've been using Rust for a while, and Zig seems to have a similar approach to memory safety. I'm curious to see how Zig compares to Rust in terms of performance and ecosystem.
You're absolutely right! Zig and Rust share many similarities, and both focus on memory safety. I'll try to create a video comparing the two languages in more detail, highlighting their strengths and weaknesses.
@@Code-Guild Well, I'm eagerly waiting for that video, keep it up
zig barely has any memory safety, saying that it's similar to rust in that way is a mistake...
Wow! This is well polished. Keep up the great work. I love the sound and animations in the video.
Thank u so much :)
This was the great entry point of a beginner to Zig programming languge.
Well explained, great examples, hope on the last of the Lesson there are a great project also.
This was great, man!
Congratulations! An excellent intro, with good explanations, skimming complex concepts without frightening the viewers but assuring the proper explanations will come in due time. That makes me want to learn more of the language by taking this course. Thanks for sharing and for dedicating your precious time to educate others. 🙌
Thank u so much for your feedback, i'm glad :)
Really great video, thank you
Glad you liked it!
Please don't stop 🙏
This is amazing❤
Thanks
Awesome
Thanks
Cant wait for the next lesson
Thanks! The next lesson is in the works. Stay tuned 🔥🔥
Good video 👍
Thanks 👍
Very good intro video. Even as a developer I found it useful to establish a baseline of both the language, tools and your teaching style. Obviously slow for the benefit of beginners but it was perfectly watchable at 2x speed.
Only notes I have are the transitions in the beginning can get to be a bit much after a while, especially with the sounds playing every time. And maybe front loading some of the information could be helpful to reduce cognitive load. For instance instead of showing one item at a time with the spin effect, showing all of them up front will allow people to parse the information at their own speed. Things popping in gives the presentation a fast paced feel which can stress the viewer because they feel they're on a timer to understand something before the next thing pops in. Maybe you could have listed the four items instead, with an arrow or other graphics highlighting the current item while the others were readable, so the viewer can more smoothly move their attention from one to the next. Something to consider at least.
It was also good that you explained general programming concepts along the way, although it became a bit robotic after a while with the same "don't worry, now back to the topic at hand" style comment being repeated. I was honestly considering if this was AI generated throughout the video. Not sure how to mitigate this though, since I think the message was important to convey to the beginner-viewer.
Regardless, I think it was an excellent start to the course. I'll keep an eye out for the next one.
Thanks so much for the detailed feedback! Your perspective as a developer is incredibly valuable, and I appreciate you taking the time to share your thoughts.
You're absolutely right about the transitions and information overload in the beginning. I was aiming for a visually engaging intro, but it sounds like it might be a bit much. I'll definitely consider listing out the key points or using a different transition style that doesn't require such rapid attention switching.
The point about the "don't worry" phrasing is also spot on. I want to ensure beginners feel comfortable, but repeating the same phrase might sound robotic. I'll try to find a more natural way to convey those reassuring messages.
I'm constantly learning and refining my approach, so your feedback helps me create a better learning experience for everyone. I'm glad you found the video useful overall, and I'm thrilled you'll be sticking around for the next one!
@@Code-Guild You're welcome. It's clear from your video and response that you put a lot of thought into how you present the subject matter. The quality already ranks quite high in terms of course content so I'm confident you'll gain subscribers quickly. Hopefully the algorithm will do its job and get some eyes on your work🤞
Thank you very much for your understanding and your encouraging words, we hope it will too 🤞
The lesson was great ! Super explanation !😁
Thanks for the kind words! I'm glad you found the video helpful :D
Thanks for putting the time and effort, the tut is great, extremely clear and pleasant to watch.
Glad it was helpful!
Fantastic tutorial. I had already started to learn Zig and used your tutorial as a refresher.
Glad it was helpful!
Are you using the Zig Language extension for your intellisence?
Yes, I am using the Zig Language extension for IntelliSense. It's a fantastic tool that greatly enhances the development experience. I highly recommend it to anyone learning or using Zig. see 3:04
Wow, you made so easy. Amazing tutorial, plz finish basic course asap. I am waiting, your teaching style is so impressive.
Thank u so much :)
Great video. ❤ .
Thank you :)
Great Lesson, Thank you
You are welcome!
@@Code-Guild thank you
Thank you.
Wait a second. I think this channel is emtirely AI generated and led. The video, the animations, the script, the voice, the comments. Everything screams AI to me. Maybe I'm tripping.
great video, i'm very impressed with this series so far, i love the fact you go into the low level detail of bit and bytes, especially as that's often the reason for choosing a language like Zig or C. One nitpick, i'm curious why you think Zig is a simpler language compared to C, i'd same they are basically the same (certainly compared to more complex languages like C++ and Rust) or probably that Zig is slightly more complex given it's capture group syntax and support for errors as values.
Thank you for the feedback, and I'm glad you're enjoying the series! I really appreciate that you're finding the low-level details on bits and bytes valuable, as they’re a key part of understanding Zig and C.
Regarding your point about simplicity, it's true that Zig and C share many similarities, especially when compared to languages like C++ or Rust. My perspective on Zig being simpler comes from its design philosophy of reducing implicit behavior and making things more explicit, like the lack of a preprocessor and manual memory management without undefined behavior. However, I see your point about features like capture groups and error handling, which do add complexity in certain cases. It’s a great discussion, and I’ll definitely take this into consideration for future content!
So I watched this course, then I tried to find another since this one is still not finished. There's no second best. You guys set a new standard for teaching. I even checked out paid courses. I've been spoiled, I don't want to watch a course anymore that's not of this quality 😮
12:00 I believe zig is a snake_case language for name, sum_of_two vs sumOfTwo, but hey I’m new to it and you’re helping my journey.
Thank you so much for your comment!
Yes, you're absolutely right-Zig does use snake_case for variable names, so using sum_of_two fits the language style better.
I'm glad the content is helping you on your journey with Zig!
Great video for an introductory session of a programming language. But I have a doubt, In 15:09 you mentioned about run time errors but the examples given seems to be compilation errors as the compiler itself will finds it and report it. I believe a run time error is one which happens when doing zig run like overflow error. I am little bit confused on this. Anyone help me with it please.
I'm new to programming and Zig seems like a great language to start with. However, I'm a bit confused about the concept of comptime. Could you explain it in simpler terms?
Comptime in Zig is a powerful feature that allows you to perform calculations and make decisions at compile time rather than runtime. It's like having a super-smart compiler that can optimize your code before it even runs. Think of it as writing code that writes code! I'll try to create a video dedicated to comptime to explain it in more detail.
@@Code-Guild In other words, if you perform a mathematical operation and the compiler calculates it at compile time, this means high speed. So, is it possible to write the entire application at compile time?
@@Monkeey-De-Luffy Well, there is a difference between the operations that can be executed at compile time and runtime, and this varies from one application to another, but in general the answer is no, applications cannot be written completely in compile mode, simply because if we know in advance the output of the operation 1 + 1 and the program will only perform this equation, so why write the equation in the first place? Why don't we write the output directly? Real applications need to perform different operations on different values, mostly based on user input. Therefore, we always need runtime operations. I will explain all of these things in the future in the upcoming lessons.
pls don't stop here !!
Don't worry, we won't stop, more is coming :)
Are you using the Zig Language extension for your intelliSense?
Will this be complete series in zig?
Yeah :)
Subscribed. I would love to see your take on Comptime!
Thanks, I will answer that in one of the upcoming videos of the course, stay tuned :)
thank u very much 🙏
I'm blown away by how good this video is. I'm not dumb but I like things explained to me in simple terms and to be taught in a way where knowledge is slowly built up. I really wish I had someone to teach to me to program in this concept.
Any advice on what it would take for me to build a simple 2D game engine? Assuming, I have 0 prior programming knowledge and I want to start by learning Zig.
Please make finally the full course about Zig! Not just simple if - else - switch.
Deep in dive multithreading, mutex, memory allocators etc
I will do that in the upcoming videos of the course, stay tuned.
More more moreeeeee
Sure, we working on it now 🎉
2:46 Bro colored Visual Studio blue.
Haha, good catch! I like to personalize the setup a bit to make it visually engaging. Glad you noticed! It’s always fun to add a unique touch, even to the editor.
The value 1 is not a constant, it is a literal.
Pedantic yes, but naming two different things the same name might cause confusion for learners.
Also - since you seem to be open to constructive criticism - I'll give you the advice that the co-author of Elements of Style E.B. White's father told him when the co-author showed his father a term paper he wrote. First he said "This is good. Now cut (the number of words) in half." After E.B White did his father then said "This is much better. Now cut in half again."
Your video would be *much* better if your script used about 1/4th as many words.
Which words? You decide, but having to cut 3 of every 4 words will force you to decide which words are really necessary, and which are just unnecessary fluff.
#jmtcw
Thank you
You’re welcome ❤
I am a Java/SpringBoot (backend) developer for over 10 years, I want to migrate to Rust or Zig, in the Rust language we have (Trait, Generic, Closure and modules).
In Zig is it possible to have the same concepts or is it easy to implement them?
@KhaledBoussebat
Great question! While Rust and Zig share some similarities, they also have distinct design philosophies. In Rust, Traits, Generics, and Closures are central, enabling a lot of flexibility. Zig, on the other hand, emphasizes simplicity and explicitness, so it doesn’t have traits or generics in the same way. Instead, Zig uses concepts like 'comptime' (compile-time execution) to achieve similar flexibility, but with more control over when things happen. Closures are also absent in Zig, but you can still implement similar behavior using function pointers and structs. Zig’s approach might seem more manual at first, but that’s what gives it power and predictability. Migrating from Java/SpringBoot, you'll find both languages require a bit of adjustment, but they each offer unique strengths. Good luck with the transition!
is it best than rust?
thanks
You're welcome!
Thanks for you work. I have learned a lot.
Glad to hear that!
Claims that Zig is simpler than C. Produces code samples that definitely aren't simpler than C.
Thanks for the feedback! Simplifying code can be subjective.
While Zig aims for clarity and efficiency, I understand how certain examples might appear complex.
Could you point to a specific code snippet that you found particularly challenging?
I'd be happy to explain the reasoning behind it.
🔥🔥🔥🔥
🔥🔥
So, glad you used Windows and powershell. So, many videso have Mac terminal or Linux, which doesn’t match real world in most cases. Not saying I like Windows better, just far more work environments will use or require it. Mac and Linux are more niche when you look across all orgs and devs.
I totally understand the importance of using Windows and PowerShell.
Many work environments rely on Windows, so I chose it to make the course more accessible for most viewers.
While Mac and Linux are great, using Windows here hopefully makes it easier to follow along.
Thanks for your support!
Just need to get Zig into the Linux kernel now.
I hope it will be integrated with the Linux kernel soon, But to installing it on Linux (Ubuntu) is a breeze.
Use "sudo apt install zig" and you're good to go !
I miss the part where the zig syntax is easier than the C one
We are trying to cover this topic in current and future lessons, stay tuned :)
1:15 what makes you think zig is simpler than c? both languages are very simple (not easy)
While both Zig and C are powerful languages, Zig aims to simplify certain concepts and provide more modern features. It's true that both languages require a solid understanding of programming fundamentals. I'll be creating a more in-depth comparison video in the future to explore this further.
why would pass .{} if you doesnt pass any argument? that simple think zig cannot get it right..
I kind of agree with you, but this kind of thing can be modified in the future!
In this case it might be obvious, but in other cases it might not be. So the Zig philosophy is: tell the compiler what you want and what you don't want every time. And it's easier for another developer to understand the code, especially if they didn't write it themselves.
Good Tutorial but is this made with AI voice?
My personal preference would be less animations. But then, I dont like birthdays and I specially dont like Imagine Dragons. Might be just me
Hi, I couldn't fully understand the comment, but we will try to reduce the animation in the upcoming videos, I hope you enjoyed it and we apologize for any inconvenience :)
I appreciate the effort that goes into these videos but the animations and sound effects are way over done.
Zig is safe. But compared to rust zig is less safe. You shoud have mentioned that.
animations/sounds are horrible and distracting
Thanks for letting us know, the sounds in the new video have been reduced and toned down, check it out and let us know what you think now.
@Code-Guild you took the rude criticism, very mature :)
I couldn’t finish watching this video.
Personally I'd say animations are okay, but the endless sound effects are somewhat obnoxious. @@Code-Guild
Overuse of the spin effect. Is the goal to educate or to make people sick? 🤢
i like your video.. but i pity you because you are misguided thinking that zig is a good language.. maybe you havent try Odin yet.. what a shame.. zig is pure ugly.. Odin and C3 is far better
Thank you for sharing your thoughts, and we're glad you liked the video. We respect your opinion and will definitely take a look at Odin and C3. Our goal is to explore the best tools and languages available, and we don't limit ourselves to one. If Odin proves to be a strong contender, we'd be happy to cover it as well. We're always open to learning and improving!
Dear @code-guild
We really thank you for this masterpiece, Video of ZIG lang.
I love ZIG and I want to learn more, please continue doing those ZIG videos.
in Future Videos can you do streams developing Games or applications using ZIG?
Thanks
ide vscode 🤡
It seems like you focused on the small details and missed the bigger picture 😊. The main goal is the value the video provides to viewers. Thanks for stopping by!
@@Code-Guild while the rest of the video is indead good it's for beginners and for someone that was beginner too someday this samething confused me back then making it not a good start for a good series
Awesome