Nuno  — 2 years, 8 months

+1 for these changes. I've been using the command line version of Jeff's OSX Port and that's all…

What do you mean by "don't scale smoothly" ? DrawRectangle function never scales anything - it ju…
elle  — 2 years, 8 months

I changed the drawRectangle function to use the Intel intrinsics, but when rectangles scale by a …

As Casey mentioned on stream for newer instruction set AVX2 which is available starting with Inte…

Thanks for the replies. I'll take a look at the XCB code. If I find any issues, I'll let you kn…

With the move to 5pm livestreams, I've fallen quite a bit behind on the stream (part of the fun/i…

I'm pretty sure this port was abandoned, but nxsy has an excellent XCB port that you could follow…

I've been following along with this port as I am trying to catch up with Handmade Hero. I'm curr…

Haha yeah that's an excellent point.

I would be afraid to use such build system which tries to guess how to compile my sources and dec…

I'm totally laughing because there was a very strong urge when I did that saying "Welll he is doi…

I'm guessing you simply added all *.cpp files to Visual Studio project? That's now how you should…

As Casey started moving from the single win32_handmadehero.cpp into handmade.cpp, handmade.h and …

Not surprising since when that comes up they are both 0x000000000000

I checked, and I was wrong. Clang accepts ext_vector attribute also in C/C++ mode. So that is pre…
elle  — 2 years, 8 months

Thank you. Yes, it was working already, I was just wondering what its purpose was after reading a…

Invalid args error in this case would 100% mean that ByteToLock and BytesToWrite values are wrong.

Afaik Extended Vectors are used only by OpenCL frontend in clang. Regular CPU code for SSE/AVX in…
milo  — 2 years, 8 months

Its work :) ola
elle  — 2 years, 8 months

What are these "Extended Vectors" in LLVM used for? Are they the equivalent of the union syntax i…

It's something really cryptic like Err_InvalidArgs, I couldn't find a specific reference in the d…

What is Error variable value? I would guess that ByteToLock and BytesToWrite values are wrong. Y…

I ran the Day 9 code successfully, the tone plays, it responds to input etc, but I noticed in the…

Awesome guys, I'll check these out, thank you!

Decidedly less "handmade" but, if you don't mind that, you could use cppformat. Here is a simple…

You need to convert float/int values to string and then use OutputDebugString to print this strin…

While I agree that they could have assigned more unique names to each "static" situation, in prac…

You should use debugger to step through code and examine variable values to see which ones have i…

In previous version you could add excluded files or folders which won't be scanned. I typically a…

I did some poking around and I can't seem to find a way to get ints and floats printing to debug …