handmade.network » Daniel Näslund

Recent Forum Threads

Forum Bitwise
Post date June 14, 2018, 8:34 p.m.


This is just some free-wheeling thoughts. No concrete question in here (or there probably is, but…
Forum Bitwise
Post date May 15, 2018, 5:21 a.m.


I've been writing an interpreter for The Mouse Programming Language. The code is structured aroun…
Forum Bitwise
Post date April 9, 2018, 4:13 a.m.


What's the reasoning behind the selection of the (presumable) prime constant for ptr_uint64 and t…

Recent Forum Replies

Forum Bitwise
Post date June 15, 2018, 7:55 p.m.

ratchetfreak That doesn't use the stack but static local variables, which are essentially global…
Forum Bitwise
Post date June 15, 2018, 5:54 a.m.

ratchetfreak If you don't have compiler or language support for coroutines you end up needing to …
Forum Bitwise
Post date May 15, 2018, 7:47 a.m.

pervognsen Yes, don't overthink it. Two variables and either hand-coding the push/pop code with s…
Forum Bitwise
Post date April 9, 2018, 8:27 p.m.

Thank you for your answer. The link to the universal hashing wikipedia page was enlightening. I …
Forum Bitwise
Post date April 9, 2018, 5:06 a.m.

How is ptr_hash better than just right shifting N bits to get rid of the zeroes due to alignment?