We are currently in the process of converting the website to the new design. Some pages, like this one, are still broken. We appreciate your patience.
Ameen Sayegh
thank you a lot this is very helpful but what is this syntax I can't find the documentation and …
»
Casey Muratori
As a sidenote, it is usually good form to do the typedef version when you are making a header tha…
»
Mārtiņš Možeiko
You can also use anonymous struct there: 1 2 3 4 5 6 7 8 9 10typedef struct { char *…
»
Adam
Cheers for the explanations! abnercoimbre, whats the virtue of using typedef life that? Why not j…
»
Abner Coimbre
Sealatron wrote: Just curious why struct==class is a benefit? I didn't mean that the C struct is…
»
Neil Blakey-Milner
jorockstar Hello everyone, I have installed VS community 2013 and when I debug my code, I can't g…
»
d7samurai
Sealatron Just curious why struct==class is a benefit? Does that mean they're interchangeable or …
»
Jonathan Riendeau
Hello everyone, I have installed VS community 2013 and when I debug my code, I can't get the watc…
»
Adam
abnercoimbre I am wondering why casey is using cpp files but writing in a C fashion, (and not jus…
»
Abner Coimbre
Given that this week we have no stream, it'll give those of us working on this a chance to add th…
»
Kasper Sauramo
Thanks! I'm not that far myself so hadn't spotted it :) We're figuring out a way to automate thes…
»
popcorn
Thanks for putting this out, I can actually stretch the video. There's one broken link in day 58.…
»
popcorn
For a long time I have put cpp after my file but only use classes. I knew about inharence but nev…
»
Abner Coimbre
I am wondering why casey is using cpp files but writing in a C fashion, (and not just use plain C…
»
Mārtiņš Možeiko
Casey have mentioned that he does like some of C++ features and that is why he uses C++ not pure …
»
nikki
I am wondering why casey is using cpp files but writing in a C fashion, (and not just use plain C…
»
Kknewkles
Stupid me. Make another header for custom types - I can swear I had that thought. Thanks. So I g…
»
Abner Coimbre
The preprocessor runs independently for each file. Should you have #define internal static on a s…
»
Kknewkles
When Casey started separating source code into multiple files, I noticed that handmade.h and hand…
»
Casey Muratori
For the record, yes, I usually have bool8, bool16, bool32, bool64. This has nothing to do with a…
»
Benjamin Kloster
5sw To get meaningful results you really should compile with optimizations for such tests. To b…
»
Christopher
but after he called Casey a novice programmer I don't think he was talking about Casey. I think …
»
popcorn
insanoflex512 Speaking of programming paradigms, I read an article bashing "compression oriented …
»
Sven
Nimbal Compiled without optimization, MSVC generates this assembly: To get meaningful results y…
»
popcorn
mmm assembly I guess since eax register is 32 bit, it makes it easier for the compiler than a 8 …
»
Benjamin Kloster
Ok, so struct size optimization is one reason to use fixed-size bool. I guess the next question i…
»
Brian Will
I come from domains without a fixation on (cache-friendly) performance, but I've disavowed OOP pu…
»
Jae Howard
Thanks I just wanted to be sure I wasn't missing something, also thanks for taking on such a giga…
»
Casey Muratori
I haven't put out the game design publicly, and probably won't. It will continue to be a surpris…
»
Casey Muratori
I toyed with this idea but I think it's a better idea to do the opposite, because most of the tim…
»