If I remember correctly then high vs low is only about how you will use them. He crated two queues…
Alex —
Around day 123, Casey introduced threads into the game to speed up the software renderer. We imple…
No, it doesn't be on the heap. From compiler point of view it doesn't matter where is variable - o…
If you pass a reference, does it need to be on the heap? Is there a reason not to keep it on the s…
I'm sorry if it's obvious, but I've searched and couldn't find it. Is there any list of keyboard s…
My feeling is that you want to pass this large structure by address (or reference). Although it wi…
The inline keyword says nothing about whether the function will be inlined or not. All it means is…
Italo —
Suppose I have something like the following: This functions gets called in about 40 different pla…
Shazan —
I don't get color in handmadehero day 383. Here's the opengl extensions in my laptop. --Shown by o…
Chen —
get AsyncRun and do: :AsyncRun build.bat copen works like a charm for me.
Chen —
I edited my post to take out the word "stack allocator" to avoid confusing any more people. I call…
You really must be doing a lot of huge allocations all the time if this shows up as performance is…
malloc and calloc will not do a syscall time. They will grab a large block of memory and then pa…
Chen —
You could easily solve that with a allocator that behaves kinda like a stack. In the beginning you…
When malloc() and calloc() are called, the program switches between user-space code and kernel cod…
Thanks; I wouldn't have guessed it was so easy. Yeah; I have HeapReAlloc and friends wrapped in …
It's because of alloca. You cannot use if you want to avoid __chkstk. Or just simply stub it to b…
Hi! Why do you think thread context switching is a performance problem in your application and how…
I've finally removed SDL2 and the CRT (on windows) from my personal codebase! I've been furiously …
Hello gentlemen, I'm working on a 2d game using OpenGL and need to create a memory manager to redu…
[Continued from ] If you've read my , you may remember that TWC heavily relies on code generation …
We have over a dozen offers to beta test the first batch of lessons! Thank you for your support, w…
Chen —
I see. That was pretty helpful, thanks!
You should structure the included "cpp" files (.inl or whatever) in a way that they are independen…
Chen —
Oh yeah, didn't think about that! That's a pretty hacked way but it should work just fine. However…
Shazan —
What software you used to edit those adobe stuff or custom software?
Mikkel —
A couple have been posted on the Handmade Hero YT, the rest are still not ready yet. I was origina…
Shazan —
What happened to the HandmadeCon 2016 videos are they still on the way or is it already out there …
I have the same problem developing stb headers. When you are in the header, the #define IMPLEMEN…
Don't name them with .cpp extension? Maybe "file.impl.h" or just "file.inl" so it will treat them …