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.
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 gue…
»
Abner Coimbre
The preprocessor runs independently for each file. Should you have on a single source file, then …
»
Kknewkles
When Casey started separating source code into multiple files, I noticed that handmade.h and handm…
»
Casey Muratori
For the record, yes, I usually have bool8, bool16, bool32, bool64. This has nothing to do with an…
»
Benjamin Kloster
To be fair, the only way we'd ever get "meaningful" results is measuring execution time, preferra…
»
Christopher
I don't think he was talking about Casey. I think he was talking about a hypothetical novice prog…
»
popcorn
Wow,I read this article, trying to keep an open mind but after he called Casey a novice programme…
»
Sven
To get meaningful results you really should compile with optimizations for such tests. The compil…
»
popcorn
mmm assembly I guess since eax register is 32 bit, it makes it easier for the compiler than a 8 bi…
»
Benjamin Kloster
Ok, so struct size optimization is one reason to use fixed-size bool. I guess the next question is…
»
Brian Will
I come from domains without a fixation on (cache-friendly) performance, but . Short version of the…
»
Jae Howard
Thanks I just wanted to be sure I wasn't missing something, also thanks for taking on such a gigan…
»
Casey Muratori
I haven't put out the game design publicly, and probably won't. It will continue to be a surprise…
»
Casey Muratori
I toyed with this idea but I think it's a better idea to do the opposite, because of the time the…
»
jeringa
Would a ground/floor entity be an easy way to get to a nice Z handling system That way an entity w…
»
Jae Howard
I've done some light reading of the forum and the website and I understand the design is final and…
»
Zeanith
Thanks, good to know!
»
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 m…
»
Andrew Bromage
Waste is important, but it's not the only issue. There are situations where you'd like to guarant…
»
Zeanith
As the title suggests I somehow misplaced my unique link. Is there a way to recover it, or would I…
»
popcorn
As for knowing sizes I would assume it's more about alignment in structures or array of structure…
»
Mārtiņš Možeiko
If somebody missed, Casey talked about why he uses bool32 not bool in previous episodes: "Bool da…
»
Sven
so he can do mystruct* one = (mystuct*) blah and that chunk will store "one". then he can do more…
»
Andrew Bromage
She specifically said "no input" and that this includes the time, so I'm guessing that explicitly…
»
Andrew Bromage
That also sounds like a good argument for "bool8", subject to the usual disclaimer about putting …
»
popcorn
Could you elaborate on the reason(s) for this?[/quote] It's so he can add it to the address to ge…
»
Sven
If I haven't missed anything performance was the only reason you gave on the stream when you intr…
»
Benjamin Kloster
Could you elaborate on the reason(s) for this?
»