I think this is less about memory speed and more about compiler optimizations. Modern compilers on…
I'm new the C++ and I'm trying to understand what kind of difference does these two examples have.…
I'm trying to implement a game loop like Casey's, i.e. a variable fixed timestep, in SDL2. Current…
Hackers: Heroes of the Computer Revolution is a must read: Not strictly computing, but Ghost in t…
I would recommend reading this post by Jeff Preshing. He makes a strong case for using SDL (or at …
That looks like a promising resource, thanks for pointing it out. I agree that many of the blackbo…
Awesome !!! I don't have as much time available to program in c theses lasts weeks, but when i do,…
spx —
c[ode]clap 0.8.43 has arrived. Due to time constraints this release took a few weeks longer than i…
Ryan —
Thank you so much Martins! I have a much better understanding now.
To be sure, you could copy the RenderTiles result to an intermediate buffer and then send that on…
1. i386 is pretty much dead. Unless you really want to support almost 15 year old hardware. There …
Ryan —
I am writing a simple C program with SDL2 which utilizes some techniques from Handmade Hero. I wis…
This could be an issue if you're updating the image memory at the same time X11 reads it. To be su…
is something I wish I add when I learnt programming (there are several articles in that series) b…
@marcc: That's makes sense. I did have some random crashes before so perhaps that was it. Unfortun…
I'm not sure this is the source of the issue, but I think this could lead to some extra work / syn…
Yup, that is what I meant. Scalar cleanup is def what I was looking for. I appreciate the help!
It appears that I have a bug in my multi-threaded tile rendering and it's not clear to me what's g…
You mean dealing with the stragglers? Most often I see a scalar cleanup. Though you can read over …
Thank you! That makes a lot of sense. If you don't mind another question: I'm curious about how to…
You are halfway there, You can have 4 accumulators, then you don't need to do a horizontal add unt…
Hey guys. After finishing the first SIMD section of HmH (~days 115-120) I started SIMDizing some f…
Splitting up a task over multiple frames is a pretty good suggestion. I kinda take that for grante…
Some focus on how game programming is soft real-time programming. The blessing and curse of amorti…
You can also merge .rdata and .text sections that will reduce size a bit (because of alignment & h…
Hi everyone, longtime lurker, first time poster. I recently started a job teaching programming for…
The first 300-400 bytes of the executable contain the PE-header which tells the loader how to star…
Greetings fellow programmers! I've stumbled upon a very peculiar phenomenon. Whenever I'm executin…
I am putting this project on hiatus for the moment. I have not been able to make progress on this …
This feature has not been started. Hard to say when I'll be able to get to it, honestly, but letti…