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.
Mārtiņš Možeiko
Nowadays it is simpler to put only this at beginning of header: While it was not supported for ol…
»
Timothy McCarthy
I see an issue with the include file header guards. The implementation //... #define FILE_NAME #e…
»
Timothy McCarthy
Aside: I'm late to this series having just started and trying to get caught up. I am sorry if this…
»
andrea
C syntax is simple and understandable even by novice programmers as it's free from all the OOP bul…
»
Mārtiņš Možeiko
Right, adding __cpuid makes it significantly slower - more than 4 times. Here's benchmark on my ma…
»
Christian H.
Is handmade_optimized.cpp not a different translation unit than handmade.cpp that are linked toget…
»
Casey Muratori
On Handmade Hero, we do not use multiple translation units.Casey
»
Eric Thompson
Cool link. Thanks for sharing.
»
Bill Strong
What do you expect to get out of it? If you want an overview of how a Game Engine and Game is made…
»
Karan Joisher
I have basic programming experience in Python and javascript(know topics like OOP)... How much of …
»
Christian H.
Hi, I am a bit confused why global_variable is defined as static. Should it not have an empty defi…
»
Kim Jørgensen
I was wondering if it is possible to implement a lightweight version of GetThreadID that works on …
»
Andrew Bromage
Now I realise its goals are more modest, however is probably the record for "small" GI implementa…
»
mojobojo
If memory serves me right you wanted to use -Wall at the beginning but Windows.h was holding you b…
»
»
andrea
I had bookmarked a couple of extra reads that casey suggested during the stream, I guess I've miss…
»
andrea
I was wondering about rdtsc beeing special in the sense that it created a sort of ordering bound f…
»
Casey Muratori
I don't do this because, in the old days, it significantly affected the performance by doing a cpu…
»
Martin Cohen
Hello Hugo! Sorry for my late reply. There's a lot that happened with Intype. I'm using it as a re…
»
Cort
Hey, thanks for the quick reply! The background composition path was hitting this case 100% of th…
»
Connor
Will casey ever show off Moustache (assuming that's how it's spelled) In the q&a of Introduction t…
»
Mārtiņš Možeiko
RDTSC instruction can be executed out-of-order. This means that CPU can execute some of instructio…
»
Casey Muratori
Well, I'd rather think it through a bit more, because I'm not sure exactly what we want to do here…
»
Cort
I'm bringing my PS4 Handmade Hero port up to speed with the last few weeks' changes, and ran into …
»
Casey Muratori
That is what I hypothesized at the end of that stream, in fact :( That's too bad. But I suppose …
»
Mārtiņš Možeiko
My guess is that all inline functions called from DrawBitmap also needs to be compiled with optimi…
»
Mārtiņš Možeiko
Probably some artifact left from older Windows or Visual Studio versions. As Casey told on stream …
»
Casey Muratori
Yeah, so we did exactly what OP is suggesting, and it didn't work. So what gives?Casey
»
Casey Muratori
I was pretty surprised by the "only in kernel mode" part myself, because it seemed very clear from…
»
Casey Muratori
Actually, WM_PAINT is called any time Windows thinks it wants you to repaint your window. So, for…
»