I am wondering why casey is using cpp files but writing in a C fashion, (and not just use plain C…
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…
Stupid me. Make another header for custom types - I can swear I had that thought.
Thanks.
So I g…
The preprocessor runs independently for each file. Should you have #define internal static on a s…
When Casey started separating source code into multiple files, I noticed that handmade.h and hand…
For the record, yes, I usually have bool8, bool16, bool32, bool64. This has nothing to do with a…
5sw
To get meaningful results you really should compile with optimizations for such tests.
To b…
but after he called Casey a novice programmer
I don't think he was talking about Casey. I think …
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…
mmm assembly
I guess since eax register is 32 bit, it makes it easier for the compiler than a 8 …
Ok, so struct size optimization is one reason to use fixed-size bool. I guess the next question i…
I come from domains without a fixation on (cache-friendly) performance, but I've disavowed OOP pu…
Thanks I just wanted to be sure I wasn't missing something, also thanks for taking on such a giga…
I haven't put out the game design publicly, and probably won't. It will continue to be a surpris…
I toyed with this idea but I think it's a better idea to do the opposite, because most of the tim…
Would a ground/floor entity be an easy way to get to a nice Z handling system
That way an entity …
I've done some light reading of the forum and the website and I understand the design is final an…
Pseudonym73 Send Casey some email (casey (at) mollyrocket.com) and he'll sort you out.
Thanks, g…
Send Casey some email (casey (at) mollyrocket.com) and he'll sort you out.
Yes, of course. Compiling code is easy (compilers are smart). Reading code is not so. That means …
mmozeiko If you are not careful with this, you will be wasting a lot of space.
Waste is important…
As the title suggests I somehow misplaced my unique link. Is there a way to recover it, or would …
mmozeiko If somebody missed, Casey talked about why he uses bool32 not bool in previous episodes:…
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…
rathersleepy I'm curious if anyone else watched the talk by Melissa O'Neill linked above? She me…
cmuratori One very important one is that it is not clear how big "bool" is, whereas it is very cl…
Nimbal cmuratori I like to make sure that I know the sizes of everything that I put in my structu…