Ok so I used SetThreadAffinityMask to limit my thread to only one core and now the results of rdts…
My cpu is Haswell i7-5930k. Thanks for the suggestions, I'll try some of these things and see what…
There are a few oddities in TSC that can depend on your CPU architecture and also whether you have…
I also saw some inconsistencies with my CPU (even negative timespans B) ). What helped me was to …
Hi, I was wondering if anyone could help me understand this. I'm using __rdtsc to profile my game …
Brad B —
I'm using Visual Studio 2015 for the project. Just had this old version in the archives.
Wow that really is old school! The oldest version I would go would have been VC6 but VC1.52 is som…
Brad B —
I am enjoying this series that Casey has done. Takes me back to the old days. I haven't programmed…
Thanks guys for your detailed response I guess I need to see how Casey implemented it first on tha…
Have you guys heard of voltron? It's not exactly a debugger but it lets you create views of gdb/l…
On Day 32 and I must have missed this... is there a particular reason that Casey uses an int32+flo…
Hmm. I think I misread the post. I thought the idea was to mimic a game loop that uses PeekMessage…
Why would you want non-empty event queue, if you are writing text editor? Empty queue makes proces…
OK so I thought that was this weekend. Turns out it's next weekend. Sorry for announcing it wron…
I'm sure this has been mentioned some place or forum but I've never found it. You can create your …
Yep, everything that @mmozeiko said. The only thing I'll add is the in the typically event-driven …
Yes, in current state all functions (except dll exported) can be static or inline. If some are not…
I see, thanks for that. Why are some functions non static though? Shouldn't every function in the …
If you don't mark function static then compiler needs to put it in special symbol table for linker…
Sorry if this has been asked before but I don't understand why some functions are marked as intern…
These are beautiful days.
All Hail the BlackMagic of WebDev!
Handmade Network is launching on Monday the 25th of April. The Handmade Hero forums and community …
Mikkel —
HANDMADE NETWORK HYPE \o/
Handmade Network is launching on Monday the 25th of April. The Handmade Hero forums and community …
In handmade hero you can watch the episodes about the asset file format it start at week 30 (episo…
This is a minor database problem What you can do is group the fixed size data (like the actual sta…
I'm new to handmade hero, been marathoning for 4 months and I'm at episode 130-ish, I could say th…
I actually thought about this exact thing when I was making a file synchronizer for my self and I …