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.
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.
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.
Great video! I didn’t’ know that you could initialize an array with a tuple in zig.
What is the difference const vs var in terms of array? Is it const reference as in most languages or const values?
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.
Do you live in Puerto Rico? I swear I could hear one of those cute Coqui frogs faintly in the background noise 😊😅
Now that's some keen hearing! Yes, I'm in PR and that's the Coquí frog concert in the background. lol
great video! thanks!
Great insight! ty! 🤓
Thanks man