I've recorded the compiler podcast for http://handmade-seattle.com and boy do @andy_kelley and @TheGingerBill DELIVER. Here's a fascinating (and edited) excerpt on default values
#programming #gamedevpic.twitter.com/VoaC8yM3zS
-
-
The point of ZII is that it is the right condition to use, because app memory is always zero on allocation, and thus by definition if you structure the program this way, you have no overhead while still having initialization determinism.
-
(1) not true for embedded and other OS's (2) the hot path is going to be using recycled memory from an allocator in which case the memory is undefined, not 0
- Show replies
New conversation -
-
-
"Pointer that can't be null" is not a data type in C but it is in Zig and other modern languages it's pretty handy dandy
-
No I mean it is literally not a _data_ type. It is literally not a type of data. It is a condition on data (that it not be equal to zero). The type of the _data_ has not changed.
- Show replies
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.