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.
skeeto
I believe making the inline function static would also solve the problem. It would prevent the li…
»
Mārtiņš Možeiko
Mox After that my solution will have 'perfect' indexing, while the hash will at the least have em…
»
Casey Muratori
Once you introduce a static, it doesn't matter how expensive the lookup is. That's the key thing…
»
Clem
Hello everyone. I'm currently working on some game engine and have been scratching my head quite…
»
elle
Compression-oriented programming Perspective Texture Mapping The Old New Thing (Raymond Chen)
»
Mārtiņš Možeiko
Oh, you're right. They are using WM_DEVICECHANGE window message to receive callback if there is d…
»
Johannes Norneby
Thanks for the tip! It looks however like XInputGetCapabilities() is roughly the same expense, u…
»
Mox
Yes, my idea was that this eliminates the actual problem of the translation units that the origin…
»
Mārtiņš Možeiko
Yes, you are right. It is know issue with XInput, that polling disconnected controllers takes sig…
»
Johannes Norneby
I have been doing my own experiments using __rdtsc() after learning about it on HMH (thanks Casey…
»
Mārtiņš Možeiko
My understanding why Casey want's to avoid __COUNTER__ is because it requires using TRANSLATION_U…
»
Oliver Marsh
Don't worry, I should have watched the next video. :blush:
»
Mox
With Casey stating he is hesitant to keep using the __COUNTER__ to keep track of the DebugRecords…
»
Dumitru Frunza
Awesome!! Love it! That episode is my favorite :)
»
Casey Muratori
This is a pretty great idea... - Casey
»
Mārtiņš Možeiko
Yes, it's only wasting memory. But not using it. There's a big difference there. Allocating memor…
»
Jimmy Van Broeck
A Fixed mem alloc is wasting the same kind of memory. Ok, In a void* you can store alot of differ…
»
Mārtiņš Možeiko
Every render piece takes different amount of memory. By using fixed array you'll be wasting a lot…
»
Jimmy Van Broeck
I know that Casey doesnt like to do mallocs, callocs, new .... , thats fine. But whats the diffe…
»
Andreas
aameen951 I don't know what they mean by "undefined"? Does it mean that the compiler doesn't nee…
»
Ameen Sayegh
I was looking at CDep tool at MollyRocket and I saw in the code macro guard at include site like …
»
Ameen Sayegh
Mox But if it really made it static the problem should not exist. Because then the translation un…
»
Abner Coimbre
I've been away for a little while. Appreciate the new posts and will update the list accordingly.…
»
Culver Fly
Ah totally got the math wrong there, but I think I do get it now, thanks a lot.
»
Andreas
Looks like g++ is doing the same. (Wrote a simple app to reproduce) No warning is generated Acco…
»
Oliver Marsh
Hi Steveo, At around 1:01:00 on day 141, Casey talks about stacks with different life spans.
»
Mox
I see now that inline does make the compiler treat the function special. Not making it inline doe…
»
Ameen Sayegh
The functions that are marked as inline are different from the regular ones the body of the inlin…
»
Mattie
culver_fly Thanks for the video, so does it mean that if I want to blend a gray of 64 and a gray …
»
Steve Olsen
Also if anyone knows any specific places in episodes he talks about these various strategies that…
»