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.
Andrew Chronister
this should be fixed whenever the site bothers to update its css cache
»
Sandy
Thank you so much for your help! I will read about unity build and watch the 13 episode. I was …
»
Mārtiņš Možeiko
In short - he is using unity build. Unity build means that compiler will compile only one file. T…
»
Roman
Casey uses a method called 'unity build', where there is only a single code file being compiled. …
»
Mārtiņš Možeiko
No, he doesn't. That's exactly what my example shows. Imagine "my_thing_t thing" instead of "int …
»
Sandy
Hello, I am new to C/C++ and I have some doubts about the way Casey uses the headers and source f…
»
Jeremiah Goerdt
Lysa is going strong. Stronger than ever, actually. It's funny what happens to your mindset once …
»
Jeremiah Goerdt
Sorry, I wasn't very clear. I meant for his use case, does he need to heap allocate instead of ju…
»
simonWasHere
http://www.4coder.net/bindings.html Hope that helps, good luck :)
»
Mārtiņš Možeiko
If I remember correctly then high vs low is only about how you will use them. He crated two queue…
»
Alex
Around day 123, Casey introduced threads into the game to speed up the software renderer. We impl…
»
Mārtiņš Možeiko
No, it doesn't be on the heap. From compiler point of view it doesn't matter where is variable - …
»
Jeremiah Goerdt
If you pass a reference, does it need to be on the heap? Is there a reason *not* to keep it on t…
»
kesipyc
I'm sorry if it's obvious, but I've searched and couldn't find it. Is there any list of keyboard…
»
Mārtiņš Možeiko
My feeling is that you want to pass this large structure by address (or reference). Although it w…
»
ratchetfreak
The inline keyword says nothing about whether the function will be inlined or not. All it means i…
»
Italo
Suppose I have something like the following: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16my_t…
»
Shazan
I don't get color in handmadehero day 383. Here's the opengl extensions in my laptop. --Shown b…
»
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 c…
»
Mārtiņš Možeiko
You really must be doing a lot of huge allocations all the time if this shows up as performance i…
»
ratchetfreak
AVladimirov When malloc() and calloc() are called, the program switches between user-space code a…
»
Chen
You could easily solve that with a allocator that behaves kinda like a stack. In the beginning yo…
»
Alex Vladimirov
When malloc() and calloc() are called, the program switches between user-space code and kernel co…
»
William Bundy
mmozeiko It's because of alloca. Thanks; I wouldn't have guessed it was so easy. mmozeiko Y…
»
Mārtiņš Možeiko
William Bundy I couldn't stop it from generating a __chkstk in one of its procedures. It's becaus…
»
Mārtiņš Možeiko
Hi! Why do you think thread context switching is a performance problem in your application and ho…
»
William Bundy
I've finally removed SDL2 and the CRT (on windows) from my personal codebase! I've been furiously…
»
Alex Vladimirov
Hello gentlemen, I'm working on a 2d game using OpenGL and need to create a memory manager to red…
»
Andrew Chronister
[Continued from part 1] If you've read my release post, you may remember that TWC heavily relies…
»