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.
Finalspace
A: reads oldValue B: reads oldValue B: calculate oldValue + addendB A: calculate oldValue + adden…
»
Astromop
Thanks for all the responses! I've chosen to go down the path of C w/ minimal C++ and SDL!
»
Allen Webster
If you're already willing to put in a lot of time to get good at one of these options, then I say …
»
Allen Webster
You are correct that the $12 version is not the full source. It is only the portion of the source…
»
Per Vognsen
My guess is they use prime sizes for their hash tables, not powers of two. I tried searching thro…
»
ratchetfreak
and that's why CompareAndExchange is nearly always done in a loop so you can retry the operation i…
»
Abner Coimbre
I offer a counter-example with Odin's project: it has a thriving chat and it stays on topic virtua…
»
cturner1
Is it possible to purchase the full source code for 4coder? My default download for $12 doesn't co…
»
nakst
As far as your drive is concerned, there is no such thing as a "file" or "folder". Drives divide…
»
Daniel Näslund
Thank you for your answer. The link to the universal hashing wikipedia page was enlightening. I di…
»
Mārtiņš Možeiko
Yeah, but what happens next? Let's say you are running two threads A and B. A: reads oldValue B: r…
»
Allen Webster
Yeah I haven't actually updated the site yet, that was just the source text, I still have to uploa…
»
Finalspace
And cmpxchg8b function did not exist in original x86 instruction set. Only since Pentium Pro. Btw…
»
Jim R. Didriksen
One channel on a server named for something else seems like it wouldn't change much, questions get…
»
Mārtiņš Možeiko
Answering your "// @NOTE(final): Why does MSVC have no _InterlockedExchange64 on x86???" comment i…
»
Finalspace
Here is another release for you all. This release contains mostly minor and major bugfixes, but a…
»
Aravind
Got it guys, thanks for the reply.
»
Wesley Robb
Oh damn! Bad me for not searching first. Thanks for the heads up!
»
Mārtiņš Možeiko
Its not well documented, but Windows will restore default timer period once process exits. See old…
»
Wesley Robb
Hey guys, So I recently started going through HH again after I fell off of the wagon a few years a…
»
Mārtiņš Možeiko
I would say that C# is much more complex language than C if you care about writing good code and c…
»
Per Vognsen
I don't know of a single resource which is going to cover all the different aspects of this. Almos…
»
Daniel Näslund
How is ptr_hash better than just right shifting N bits to get rid of the zeroes due to alignment?
»
Daniel Näslund
I have found and but none of them describes clearly to me how to select a hash function dependin…
»
Per Vognsen
I actually changed it to (:int)x over the weekend, so it's basically the C syntax now except for t…
»
Daniel Näslund
What's the reasoning behind the selection of the (presumable) prime constant for ptr_uint64 and th…
»
Per Vognsen
Thanks for the reminder. I'll start thinking about some new assignments.
»
Oliver Marsh
I agree with Telash, whatever keeps you motivated. I think learning C takes longer to get to a lev…
»
Astromop
Thanks for the response!
»
Allen Webster
I am not up for running a server of my own. I'll think about options though, because I think it c…
»