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.
The_8th_mage
Hello, i'm writing an fft function, which takes 3 float pointers to arrays of float. after every …
»
Nuno
I'm not entirely sure if this is the right way to do it, but from my research I guess it is: 1 …
»
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 …
»
Casey Muratori
Moustache is an internal RAD tool. If someone is going to show it publicly, it should probably b…
»
Casey Muratori
Well, I had hoped that the answer would be clear enough, but I will be more precise: You only ne…
»
Casey Muratori
That was my assumption. So I do not think we want to do anything like that in our actual code. …
»
Casey Muratori
It's very unlikely that you would have to do any conversion regardless of the platform. Most (al…
»
Casey Muratori
Well, truth be told, we actually don't need those in Handmade Hero at all, since we control the t…
»
Timothy McCarthy
Well...I'm the visiting team at this game. Casey's park, his rules. I don't want to introduce som…
»
Mārtiņš Možeiko
Nowadays it is simpler to put only this at beginning of header: 1#pragma once While it was not …
»
Timothy McCarthy
I see an issue with the include file header guards. The implementation 1 2 3 4 5 6#if !defined(FI…
»
Timothy McCarthy
Aside: I'm late to this series having just started and trying to get caught up. I am sorry if thi…
»
andrea
C syntax is simple and understandable even by novice programmers as it's free from all the OOP bu…
»
Mārtiņš Možeiko
Right, adding __cpuid makes it significantly slower - more than 4 times. Here's benchmark on my …
»
Christian H.
Is handmade_optimized.cpp not a different translation unit than handmade.cpp that are linked toge…
»
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 mad…
»
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 de…
»
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 99 lines and no external dependencies apart from…
»
mojobojo
If memory serves me right you wanted to use -Wall at the beginning but Windows.h was holding you …
»
Dejan
Wait-free synchronization
»
andrea
I had bookmarked a couple of extra reads that casey suggested during the stream, I guess I've mis…
»
andrea
I was wondering about rdtsc beeing special in the sense that it created a sort of ordering bound …
»
Casey Muratori
I don't do this because, in the old days, it significantly affected the performance by doing a cp…
»
Martin Cohen
Hello Hugo! Sorry for my late reply. There's a lot that happened with Intype. I'm using it as a …
»
Cort
Hey, thanks for the quick reply! Remember, this is actually something that never happens in Load…
»