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
Imho compiler simply doesn't have enough free registers in 32-bit code to keep all needed values i…
»
The_8th_mage
oops, a bit of redundancy i didn't catch becuase it got optimized away. it basiclly just return th…
»
Mārtiņš Možeiko
What does CosSSE function do?
»
Mārtiņš Možeiko
pthread_self is probably what you want to use if you are OK including pthread.h header in game cod…
»
Mārtiņš Možeiko
Here are previous topics on the same question:
»
Connor
I can't seem to fully wrap my head around what metaprogramming really is. Could someone explain it…
»
Kim Jørgensen
In the TIMED_FUNCTION macro you need to cast FUNCTION to char * Please note that on day 184 Casey…
»
Nuno
I also think that this will work: }[/code] However I'm not totally sure about it, as I didn't tes…
»
Kim Jørgensen
That's exactly how I choose to implement these and that works fine. GetThreadID (day 182) is a bu…
»
Steven
I'm a huge fan of Casey and this series and I find myself nodding in agreement constantly to his r…
»
The_8th_mage
Hello, i'm writing an fft function, which takes 3 float pointers to arrays of float. after every i…
»
Nuno
I'm not entirely sure if this is the right way to do it, but from my research I guess it is: } in…
»
Christian H.
Hi Casey, Thank you for your answer. Now I understand what you are saying :) Chris
»
Casey Muratori
Being a C programmer, I write a lot of pointer and direct memory code as second nature, and that c…
»
Casey Muratori
Moustache is an internal RAD tool. If someone is going to show it publicly, it should probably be…
»
Casey Muratori
Well, I had hoped that the answer would be clear enough, but I will be more precise: You only need…
»
Casey Muratori
That was my assumption. So I do not think we want to do anything like that in our actual code. W…
»
Casey Muratori
It's very unlikely that you would have to do any conversion regardless of the platform. Most (all…
»
Casey Muratori
Well, truth be told, we actually don't need those in Handmade Hero at all, since we control the tr…
»
Timothy McCarthy
Well...I'm the visiting team at this game. Casey's park, his rules. I don't want to introduce some…
»
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 …
»