I am currently into Day 9, but I wanted to pause and check with you guys about the fact that I'm g…
Yes, _rotl is an intrinisc. But it is only MSVC intrinsic. GCC and clang doesn't provide such. For…
In handmade_intrinsics.h: _rotl() is an intrinsic, right? Okay so as long as the CPU knows the in…
And the SoC they use is Allwinner. They are know to violate GPL and not providing all the source c…
The claims that the system will be fully open source, but the GPU they chose, the Mali-400, is no…
Ale —
I just I wanted to know what do you do guys after a HMH streaming, do you play around with the cod…
EDIT: I am leaving this as a shaming lesson for myself and others. For some reason my bitwise >> …
As far as I can see it will run some kind of Linux as its standard OS. So by default HH Linux port…
(I guess is too soon to say, so I'll speculate.) My guess is that if Casey started writing the acc…
When you say GPU, does Intel HD graphics count? I know it is an integrated one, and doesn't compar…
That's good to hear because at my work I use inline and gcc at lot and I don't want to go back and…
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…