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.
Mārtiņš Možeiko
I'm guessing you simply added all *.cpp files to Visual Studio project? That's now how you should…
»
Dana Fortier
As Casey started moving from the single win32_handmadehero.cpp into handmade.cpp, handmade.h and …
»
Dana Fortier
Not surprising since when that comes up they are both 0x000000000000
»
Mārtiņš Možeiko
I checked, and I was wrong. Clang accepts ext_vector attribute also in C/C++ mode. So that is pre…
»
elle
Thank you. Yes, it was working already, I was just wondering what its purpose was after reading a…
»
Mārtiņš Možeiko
Invalid args error in this case would 100% mean that ByteToLock and BytesToWrite values are wrong.
»
Mārtiņš Možeiko
Afaik Extended Vectors are used only by OpenCL frontend in clang. Regular CPU code for SSE/AVX in…
»
milo
Its work :) ola
»
elle
What are these "Extended Vectors" in LLVM used for? Are they the equivalent of the union syntax i…
»
Dana Fortier
It's something really cryptic like Err_InvalidArgs, I couldn't find a specific reference in the d…
»
Mārtiņš Možeiko
What is Error variable value? I would guess that ByteToLock and BytesToWrite values are wrong. Y…
»
Dana Fortier
I ran the Day 9 code successfully, the tone plays, it responds to input etc, but I noticed in the…
»
Dana Fortier
Awesome guys, I'll check these out, thank you!
»
Patrick Lahey
Decidedly less "handmade" but, if you don't mind that, you could use cppformat. Here is a simple…
»
Mārtiņš Možeiko
You need to convert float/int values to string and then use OutputDebugString to print this strin…
»
Mārtiņš Možeiko
While I agree that they could have assigned more unique names to each "static" situation, in prac…
»
Mārtiņš Možeiko
You should use debugger to step through code and examine variable values to see which ones have i…
»
Mārtiņš Možeiko
In previous version you could add excluded files or folders which won't be scanned. I typically a…
»
Dana Fortier
I did some poking around and I can't seem to find a way to get ints and floats printing to debug …
»
Carlos Gabriel Hasbun Comandari
Why are programmers masochists? Seriously. Why? At least compiler writers and pioneers of compute…
»
Christian
Thanks for the explanations :-)
»
Ale
ahaha it doesn't make sense! we don't need another Windows for the moment..
»
elle
I love this project so much. It's awesome. I often modify the code or try different things and se…
»
Eduard Tudor
When Casey run the the program it had a black blank window but mine does not have it. Here is my…
»
dfs
Thanks. I guess by the time I get to the memory heavy part I might transfer the project to anothe…
»
Mārtiņš Možeiko
You can compiler latest code as 32-bit, except few signed/unsigned and casting uint64 to size_t w…
»
dfs
I'm only starting to dive into this project, with only some basic knowledge. In the very first d…
»
Dana Fortier
Caught it, the increments in the buffer filling were on the WRONG SIDE. Owls of Shame are apparen…
»
Andrew Bromage
mmozeiko I would guess Casey will ship also 32-bit binary and will support Windows version less t…
»
Dana Fortier
I am currently into Day 9, but I wanted to pause and check with you guys about the fact that I'm …
»