Handmade Network»Feed
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…
»
Steve Olsen
I'm trying to get the various ways casey manages memory and when to use them sorted out. I think …
»
oldGanon
WM_ACTIVATEAPP goes directly to the WindowProc function and not into the message queue for dispat…
»
Steve Martin
Ha! :woohoo: Thanks for that, I must have looked over that a dozen times and missed it every t…
»
Mox
I don't know if it is actually that bad. The constructor and destructor should always be in the s…
»
Ameen Sayegh
I hope that msvc has a good reason to inline the RecordDebugEvent call in the constructor and not…
»
oldGanon
https://youtu.be/4ROiWonnWGk?t=49m30s look real close at 49:30.
»
Ameen Sayegh
Yes, the inline and msvc together cased the problem. That totally make sense. If the compiler in…
»
Steve Martin
But this code is exactly the same as Casey's and his worked while mine did not. Did the language …
»
oldGanon
The WM_SIZE, WM_CLOSE messages need to be dispatched to the window procedure. To do this call Di…
»
Ameen Sayegh
I hear people ask you all the time "What do you think of X language (python, java, php, ...etc)?"…
»
Mox
Yeah, when I looked further into the problem I indeed found the same reason. I guess inlining can…
»
Steven
Huh! Some interesting options here. Thanks for the suggestions. I guess I'd better get to learnin…
»
Andreas
Can confirm your statement, just had no time to post it yet. Bug only exists in handmade_optimiz…
»
Steve Martin
I've started following the series and on episode 2 at 50:20, my window is not resizable or dragab…
»
Mox
Hi, I believe I have found the bug in the debug collater. RecordDebugEvent should be a define, …
»
Jim R. Didriksen
Just tried PreCalc. I believe its a lot in the language, so I'll need to start from the beginning…
»
Oliver Marsh
Hi, I was watching video 165 about fixing the asset loading bug, however I got confused why we ne…
»