News for hackers. Stuff that matters.
Re:Using Zig to Provide Stack Traces on Kernel Panic for a B... by bjz_ on Tuesday December 04, 2018 @10:34PM (#18605503)
Oh, I must be mistaken then. So pointers are guaranteed not to be null? Can I mark pointers as nullable, and be forced to explicitly check?

Although there are differing ways to define dependent types, and they come in different varieties (dependent functions, dependent pairs/structs, very dependent types, dependent intersections, inductive types), they are all founded on a foundation of type theory. I guess if you want me to clarify, it is 'dependent types based on a well understood foundation from type theory'.

---

Edit: seems like Zig does have optional types! That is a good thing! https://ziglang.org/documentation/master/#Optionals

There are no comments on this comment yet.