Microsoft thought it would be ok to make you run a batch file everything you close and open your c…
I literally just saw a few minutes ago and when I saw it was fully open source I thought I should…
Fabian Giesen's explanation makes a lot of sense: In the slow version, the two values were stored…
For CPU cache profiling there's also (part of the Valgrind suite). It's a linux-only open-source …
+1 for the #include and support for BEGIN_TIMED_BLOCK on other compilers. It would b…
I don't think that was the reason to choose SSE2. I would guess Casey will ship also 32-bit binary…
Just so you know, SSE2 as a minimum hardware requirement wasn't chosen at random. All x86_64 CPUs…
You would do it like this: #define BEGIN_TIMED_BLOCK(ID) uint64 StartCycleCount##ID = GET_CYCLE_C…
Thank you for this thread, Jez! Perhaps the #include line was too obvious for the internet to ment…
I would prefer that BEGIN_TIMED_BLOCK, END_TIMED_BLOCK and END_TIMED_BLOCK_COUNTED macros would be…
In this case inlining is not the problem in a sense that it "replicates" function body. Compiler o…
Jez —
Hi Casey, Would it be possible to get you to make a couple of updates to your codebase for those o…
Not sure if this is relevant or if it explains the reason "The problem with inline functions is th…
You don't need to worry about folder where live-editing loop files are stored. Casey wrote code fo…
Trevor —
That fixed it!! Thanks! I dont know why I changed it. Dident casey say at a later episode that we …
How are you running executable? From Visual Studio? Have you set correct current working directory…
Trevor —
Hey everyone, Is there something im missing when is comes to loading BMPs? From what I can get out…
When you write C code like "a = b * c" compiler will convert that to multiply instruction. There c…
If you have use for IPP then sure, use it. But for fairly simply stuff like what we see and will s…
Hello everyone, do anyone have any say about IPP? how does it stands up to just coding your own co…
As I understand it is a CPU instruction that you can run instead of several other (more simple) on…
Yeah Photoshop is not the best program for this. I followed this video and it worked for me: . Be …
elle —
You need to search for the "vcvarsall.bat" file and run that in the command prompt to setup the "c…
Andy —
Ignore this, Casey addresses it a few minutes later lol.
Andy —
Hi all, So I had a quick question as I'm getting some strange behaviour. Ever since the PatBlt fun…
David —
I'm into video 11, and have been both coding and building the program with Visual Studios which is…
Thanks again guys, totally worked and great tips.
This could happen, and that would immediately produce compiler warnings, if not errors. @DanaFo: …
Justin —
I think the reason is that, since its the Unicode that messed it up, remember the function you are…
Oh, that's interesting, I quickly created an x64 config and that seems to have worked. Except now…