My understanding why Casey want's to avoid COUNTER is because it requires using TRANSLATION_UNIT_I…
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, I w…
Awesome!! Love it! That episode is my favorite :)
This is a pretty great idea...Casey
Yes, it's only wasting memory. But not using it. There's a big difference there. Allocating memory…
A Fixed mem alloc is wasting the same kind of memory. Ok, In a void* you can store alot of differe…
Every render piece takes different amount of memory. By using fixed array you'll be wasting a lot …
I know that Casey doesnt like to do mallocs, callocs, new .... , thats fine. But whats the differe…
undefined behavior Sounds like the compiler can do whatever it wants
I was looking at CDep tool at MollyRocket and I saw in the code macro guard at include site like t…
You are right I missed that point. if it was static there would be no problem. I feel like making…
I've been away for a little while. Appreciate the new posts and will update the list accordingly. …
Ah totally got the math wrong there, but I think I do get it now, thanks a lot.
Looks like g++ is doing the same. (Wrote a simple app to reproduce) No warning is generated Accord…
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 does…
The functions that are marked as inline are different from the regular ones the body of the inline…
Mattie —
Just to make sure I'm getting it correct, when the monitor displays the color of 64 and 191, the …
Also if anyone knows any specific places in episodes he talks about these various strategies that …
I'm trying to get the various ways casey manages memory and when to use them sorted out. I think i…
WM_ACTIVATEAPP goes directly to the WindowProc function and not into the message queue for dispatc…
Ha! :woohoo: Thanks for that, I must have looked over that a dozen times and missed it every time…
Mox —
I don't know if it is actually that bad. The constructor and destructor should always be in the sa…
I hope that msvc has a good reason to inline the call in the constructor and not in the destructo…
look real close at 49:30.
Yes, the inline and msvc together cased the problem. That totally make sense. If the compiler inli…
But this code is exactly the same as Casey's and his worked while mine did not. Did the language c…
The WM_SIZE, WM_CLOSE messages need to be dispatched to the window procedure. To do this call Dis…
I hear people ask you all the time "What do you think of X language (python, java, php, ...etc)?" …