I was wondering if it is possible to implement a lightweight version of GetThreadID that works on …
Now I realise its goals are more modest, however is probably the record for "small" GI implementa…
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…
I don't do this because, in the old days, it significantly affected the performance by doing a cpu…
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…
RDTSC instruction can be executed out-of-order. This means that CPU can execute some of instructio…
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 …
That is what I hypothesized at the end of that stream, in fact :( That's too bad. But I suppose …
My guess is that all inline functions called from DrawBitmap also needs to be compiled with optimi…
Probably some artifact left from older Windows or Visual Studio versions. As Casey told on stream …
Yeah, so we did exactly what OP is suggesting, and it didn't work. So what gives?Casey
I was pretty surprised by the "only in kernel mode" part myself, because it seemed very clear from…
Actually, WM_PAINT is called any time Windows thinks it wants you to repaint your window. So, for…
R —
Hi, I just discovered Handmade Hero and watched the first 6 episodes. Not sure if this question ha…
Oops; change the 'checkout' line to:
Hi all, Below is a script that checks out the commit for a given day of HMH and then invokes vim w…
Just finished watching episode 182. I was surprised when the code worked after Casey added __readg…
That diff looks like exactly what we already tried on stream, and it didn't work? I'm not sure wh…
Yes, that would be fine... although this is, of course, going to be deleted tomorrow so it won't r…
Oh, right. That makes sense.