Handmade Network»Feed
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…
»
jeringa
Would a ground/floor entity be an easy way to get to a nice Z handling system That way an entity …
»
Jae Howard
I've done some light reading of the forum and the website and I understand the design is final an…
»
Zeanith
Pseudonym73 Send Casey some email (casey (at) mollyrocket.com) and he'll sort you out. Thanks, g…
»
Andrew Bromage
Send Casey some email (casey (at) mollyrocket.com) and he'll sort you out.
»
Mārtiņš Možeiko
Yes, of course. Compiling code is easy (compilers are smart). Reading code is not so. That means …
»
Andrew Bromage
mmozeiko If you are not careful with this, you will be wasting a lot of space. Waste is important…
»
Zeanith
As the title suggests I somehow misplaced my unique link. Is there a way to recover it, or would …
»
popcorn
mmozeiko If somebody missed, Casey talked about why he uses bool32 not bool in previous episodes:…
»
Mārtiņš Možeiko
If somebody missed, Casey talked about why he uses bool32 not bool in previous episodes: https://…
»
Sven
C0D3 blah = VirtualAlloc(1000mb so he can do mystruct* one = (mystuct*) blah and that chunk w…
»
Andrew Bromage
rathersleepy I'm curious if anyone else watched the talk by Melissa O'Neill linked above? She me…
»
Andrew Bromage
cmuratori One very important one is that it is not clear how big "bool" is, whereas it is very cl…
»
popcorn
Nimbal cmuratori I like to make sure that I know the sizes of everything that I put in my structu…
»