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.
noxy_key
Good video. I liked the "juggling razorblades" analogy.
»
Matthew Carr
Yep, it makes sense and I agree it's the better option. I was initially thinking the implementatio…
»
Casey Muratori
To clarify on the anti-aliasing: Since we are always drawing from bitmaps which have alpha-blended…
»
Casey Muratori
There's really no such thing as non-32-bit-aligned 32-bit value on the stack unless you really go …
»
Mārtiņš Možeiko
What other platforms are you talking about? You have working TLS also on Linux, OSX, Android and i…
»
Casey Muratori
The point of the queue here is not to maximize the amount of sleeping, but rather minimize the amo…
»
Casey Muratori
We haven't really gotten to the point where we need to start caring about thread_context. It's re…
»
Kim Jørgensen
I was wondering what the purpose of thread_context is now that multi-threading has added to HH. Do…
»
Mārtiņš Možeiko
Such approach is fine. It will work. Just don't forget to increase max count. Semaphore value has …
»
Matthew Carr
If I was to implement something like this I'd probably go the route of the WaitForSingleObjectEx e…
»
Mārtiņš Možeiko
Oh, you're right. Value will be 0 if no other jobs are being added. I don't know what I was thinki…
»
Matthew Carr
Ok, well I grabbed the source code and looking through it properly I can see there's no bug. I don…
»
Mārtiņš Možeiko
Why do you think semaphore is at 0 at 4th step? Semaphore decreases only when WaitForSingleObjectE…
»
Matthew Carr
Apologies if I'm mistaken, but I just watched episode 126 and spotted what might be a possible rar…
»
d7samurai
then there is which will take care of alignment to arbitrary boundaries for you: that is, it wil…
»
Mārtiņš Možeiko
_mm_mul_epu32 only multiplies 2 32-bit integers and stores result as 2 64-bit integers. So you wou…
»
elle
After debugging my vectorized version for a long time, I thought of a few minor things that might …
»
Mārtiņš Možeiko
Yes, for variables allocated on stack compiler aligns them automatically. It gets tricky with stuf…
»
Marius Adaškevičius
MSDN states that parameters for InterlockedCompareExchange and InterlockedIncrement functions must…
»
Benjamin Kloster
Not much that hasn't already been discussed in these forums or on the streams, but interesting re…
»
noxy_key
Yes, I got VLIW somehow confused with SIMD, not sure why. SIMD executes one instruction on several…
»
Casey Muratori
Just to be clear, it was SIMD stuff we did (Single Instruction Multiple Data), not VLIW (Very Long…
»
Casey Muratori
Awesome catch! Yes I think that is a bug. This probably serves me write for violating my own rul…
»
Andrew Bromage
All of this is true. I've found that "1.5x speedup" is a reasonably good rule of thumb for most g…
»
Mārtiņš Možeiko
Unfortunately no. Clang does same thing that GCC does for these vector types:
»
elle
I noticed that LLVM is less strict about the vector types than MSVC by default. For example, it do…
»
Nick
Ah I see. Thank you both for the explanation.
»
noxy_key
It's hard to ignore 8 processors. After all, they're just sitting there, unused. I'm pretty sure h…
»
robert
Hello All, I was watching episode 124 and i think i ahve spotted a possible bug in the threading c…
»
Mārtiņš Možeiko
There's more stuff about MESI on ryg blog:
»