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.
Casey Muratori
Just a quick note: you do not want sfence for write barriers on x64. x64's always complete writes…
»
Mārtiņš Možeiko
Pseudonym73, are you sure? Wouldn't we see a lot of crashing software on AMD 64-bit CPU's if they …
»
Andrew Bromage
In the first case, you want a store fence: In most Intel CPUs, writes are not reordered with othe…
»
Mārtiņš Možeiko
It doesn't matter what version is Visual Studio. Afaik it is available only as 32-bit. If you use …
»
Devon
I think this is the issue...I'm looking into it. I'm not sure if I somehow ended up with a 32bit v…
»
Mārtiņš Možeiko
Are you compiling executable as 64-bit? If you compile executable as 32-bit, then even on 64-bit O…
»
Devon
Hey all, I recently got started watching the Handmade Hero series. I've followed up to the point w…
»
Mārtiņš Možeiko
I'm don't think there is better way for GCC to do just write barrier. Clang should support both of…
»
Kim Jørgensen
In order to get HH compiling again I would like to have CompletePreviousWritesBeforeFutureWrites a…
»
Casey Muratori
Yes, just to be clear, it's because it is in a struct with a pointer that I said it would be padde…
»
elle
Oh, ok. Thanks. I should be doing something wrong then. I should've read the MSDN docs more carefu…
»
Mārtiņš Možeiko
__m128 is 100% NOT supported in ARM. No SSE or AVX type is supported (__m128d, __m256, etc...) If …
»
elle
Thank you for your clear answer about casts! :) Regarding simd in Swift: this week Apple started s…
»
Mārtiņš Možeiko
Casey is writing code assuming that on Windows it will be compiled with MSVC. Compiling with gcc w…
»
Mārtiņš Možeiko
Oh for Swift. Afaik Swift doesn't support simd/neon intrinsic stuff. It needs to be in compiler/la…
»
elle
I meant SIMD support in Swift specifically. I already implemented the functions in C before, but w…
»
Connor
I was wondering if anyone knew how to compile with g++. The visual studio compiler doesn't work fo…
»
Mārtiņš Možeiko
That is not a reasonable assumption. Some time I had need to compile code where compiler assumed e…
»
Mārtiņš Možeiko
OSX has proper SSE intrinsic support. What you meant probably is that iOS doesn't support SSE. iOS…
»
Marius Adaškevičius
I am not too concerned about it since the code obviously runs fine. I was simply wondering if it i…
»
elle
Ok, thank you. I'll investigate further. If I find the cause, I'll post it here. Small off topic q…
»
Casey Muratori
Actually this is a pretty good point, because it clears up a distinction we were having that we sh…
»
Casey Muratori
Yeah, enums kind of suck in C. You really want them to be typed, but I think that wasn't introduc…
»
David Owens II
I don't know why you are seeing that, but referencing counting won't be the problem (I'm not even …
»
elle
Ok. Anyway, I still want to be able to have the gameUpdateAndRender function not be necessarily ti…
»
Miguel Lechón
Hi, This thing maybe doesn't even deserve being called "bug". It barely meets the definition of th…
»
Marius Adaškevičius
As far as I am aware C++ standard does not specify the underlying type of an enum except by saying…
»
noxy_key
Yes, that's very helpful for debugging with the default build/runtime development system Casey set…
»
popcorn
I can confirm from doing this myself, that the different version are pretty much the same except f…
»
»