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.
Livet Ersomen Strøm
Windows is a malware DELIVERY SYSTEM!! If you assume they are competent, it is by design. >…
»
Franz
From your post you seem to agree with Casey that windows has spiralled out of control, but you de…
»
Roderic Bos
From your post you seem to agree with Casey that windows has spiralled out of control, but you de…
»
Andrew Bromage
Franz In a nutshell, from ranter to ranter: I love Handmade Hero, but I sometimes wish I could wa…
»
Abner Coimbre
Handmade Hero has inspired people to take up a "Handmade" project; maybe even a game of their own…
»
Andrew Bromage
cmuratori Just a quick note: you do not want sfence for write barriers on x64. x64's always comp…
»
people
you're right about "__sync_synchonize", it outputs an mfence, I should have looked at the asm out…
»
Franz
I love rants, but this level of ignorance about Windows is just staggering. Here is some really …
»
Livet Ersomen Strøm
Franz Hi Casey, Your last rant about APIs at the end of episode 135 prompted me to write this po…
»
Kim Jørgensen
So we got two nasty bugs. I think we need to get an owl of shame emoji added to the forum chat :)…
»
people
I think the "InterlockedCompareExchange" call in the "AtomicCompareExchangeUInt32" function has i…
»
Franz
Hi Casey, Your last rant about APIs at the end of episode 135 prompted me to write this post. I…
»
Kim Jørgensen
I think I found the bug. In LoadBitmap starting a task can fail but the state is not reset if thi…
»
Mārtiņš Možeiko
Oh, hes bool variant is the wrong one. But __sync_val_compare_and_swap should work fine. _Interl…
»
Kim Jørgensen
Oops! I just realized that my implementation of AtomicCompareExchangeUInt32 is bogus. I shouldn't…
»
Kim Jørgensen
Thank you for the answers. Casey are you willing to implement CompletePreviousWritesBeforeFuture…
»
Casey Muratori
Just a quick note: you do not want sfence for write barriers on x64. x64's always complete write…
»
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: 1#define CompletePreviousWritesBeforeFutureWrites asm…
»
Mārtiņš Možeiko
It doesn't matter what version is Visual Studio. Afaik it is available only as 32-bit. If you us…
»
Devon
I think this is the issue...I'm looking into it. I'm not sure if I somehow ended up with a 32bit …
»
Mārtiņš Možeiko
Are you compiling executable as 64-bit? If you compile executable as 32-bit, then even on 64-bit …
»
Devon
Hey all, I recently got started watching the Handmade Hero series. I've followed up to the point…
»
Mārtiņš Možeiko
I'm don't think there is better way for GCC to do just write barrier. Clang should support both o…
»
Kim Jørgensen
In order to get HH compiling again I would like to have CompletePreviousWritesBeforeFutureWrites …
»
Casey Muratori
Yes, just to be clear, it's _because it is in a struct with a pointer_ that I said it would be pa…
»
elle
Oh, ok. Thanks. I should be doing something wrong then. I should've read the MSDN docs more caref…
»
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…
»
Mārtiņš Možeiko
Casey is writing code assuming that on Windows it will be compiled with MSVC. Compiling with gcc …
»