Handmade Network»Feed
Andrew Bromage
norswap Simple question, why do we do: [...] No need for the size of the array to be a power of…
»
d7samurai
So when dishing out new segments, we can just align them to an 8 byte boundary: 1 2 3 4inline voi…
»
Patrick Lahey
I know that intel CPUs are really permissive when it comes to memory alignment issues (although I…
»
norswap
Simple question, why do we do: 1 2 sim_entity_hash *Entry = SimRegion->Hash + …
»
d7samurai
På fylla i går?
»
Flederfalter
I wonder if I am the only person who notice it. I am very sensitive to acoustics and since I purc…
»
norswap
Okay, thanks for the answers! And in the end, we'll see how it pans out anyway.
»
Sven
Jeff, can you explain why you implemented your example code snippet the way you did? Seems much m…
»
Haddon CD
I'm a little behind - I'm just watching "Day 61 - Adding a Simple Attack" - so please forgive me …
»
Sven
When doing an unity build I wouldn't bother with static at all. I'd make sure to enable link-time…
»
Fred
I've been wondering about this from the point of view of "worst case scenario" that Casey brought…
»
Sven
Same thing. Some styles use the parentheses, some don't, but as long as it's consistent it makes …
»
Nines Baobaberson
If I understand your question right, then yes. Using functions is a common method for generating …
»
Livet Ersomen Strøm
And btw, I would like to consider the same thing for entities. (if possible). Like if you could j…
»
Livet Ersomen Strøm
Can sin(x) be used for generating a starfield? I mean to tell me, deterministically where there s…
»
Livet Ersomen Strøm
Am I mistaken or is you ping a bit weird? Did you not notice it sometimes takes like a second to …
»
Livet Ersomen Strøm
Agree. Best show ever. Look forwards to each installment.
»
d7samurai
Oh, hi Casey - didn't know you had responded in between there.. :) Here's what MSDN says about i…
»
d7samurai
Well, people are different. I care a lot about the structure of my code. I care about making it l…
»
Casey Muratori
Both are true, actually! - Casey
»
Casey Muratori
OK, I think I see what OP was saying - you're just trying to cut down on the typing of the word "…
»
Dale Kim
d7samurai Force of habit aside, the point of doing it would obviously be to not have to [remember…
»
Iker Murga
It looks to me like something as silly as there is an X% chance of Y character appearing on scree…
»
Iker Murga
Yep, they are the same exact thing, Casey did mention that it was just the way he was used to wri…
»
Gav
The Subject says it all. As we're staying close to C and most good C books use 'return 0', why …
»
d7samurai
Well, that was what the question mark was for.. If C compatibility is a point, then forget it. B…
»
Casey Muratori
Exactly. We can prioritize regions of the world where we think interest is warranted, etc. I th…
»
Casey Muratori
Yeah, it seems like a strictly worse option in all respects. Am I missing something? - Casey
»
Dale Kim
Seems pretty inconvenient to do that. The advantage of internal is that it's searchable and you …
»
d7samurai
Since we're already helping ourselves to a few select C++ conveniences, couldn't we put all the f…
»