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.
Sandy
I understand Thanks a lot for your help! Just a final question: do you know if there is a way to …
»
Mārtiņš Možeiko
For non-unity builds - yes. For unity builds it doesn't matter much.
»
Sandy
Could this has something to do with the fact that these functions are inline?
»
kesipyc
Yesssss Thank you very much!
»
Mārtiņš Možeiko
If I'm not mistaken he does that for very small functions only. Like simple getters, or simple "co…
»
Sandy
thank you for your help :) I'll try that on VS If this is the case, I don't understand why he oft…
»
khofez
Thank you!
»
Mārtiņš Možeiko
There are two different things you can do in VS:for every .cpp file you don't want to compile, sel…
»
Mārtiņš Možeiko
No one of those are better than other one. Each of them are better in one or other way than other.…
»
khofez
Hello, im sorry if this is a duplicate thread or not, I searched by this name and found nothing. S…
»
Sandy
A different but related question: I am using Visual Studio as my IDE, do you know how can I tell t…
»
ratchetfreak
Some people call is "single translation unit" (or STU) build.
»
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 won…
»
Mārtiņš Možeiko
In short - he is using unity build. Unity build means that compiler will compile only one file. Th…
»
Roman
Casey uses a method called 'unity build', where there is only a single code file being compiled. A…
»
Mārtiņš Možeiko
No, he doesn't. That's exactly what my example shows. Imagine "my_thing_t thing" instead of "int l…
»
Sandy
Hello, I am new to C/C++ and I have some doubts about the way Casey uses the headers and source fi…
»
Jeremiah Goerdt
Lysa is going strong. Stronger than ever, actually. It's funny what happens to your mindset once y…
»
Jeremiah Goerdt
Sorry, I wasn't very clear. I meant for his use case, does he need to heap allocate instead of jus…
»
simonWasHere
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 queues…
»
Alex
Around day 123, Casey introduced threads into the game to speed up the software renderer. We imple…
»
Mārtiņš Možeiko
No, it doesn't be on the heap. From compiler point of view it doesn't matter where is variable - o…
»
Jeremiah Goerdt
If you pass a reference, does it need to be on the heap? Is there a reason not to keep it on the s…
»
kesipyc
I'm sorry if it's obvious, but I've searched and couldn't find it. Is there any list of keyboard s…
»
Mārtiņš Možeiko
My feeling is that you want to pass this large structure by address (or reference). Although it wi…
»
ratchetfreak
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…
»