I think this is less about memory speed and more about compiler optimizations.
Modern compilers …
Tony —
I'm new the C++ and I'm trying to understand what kind of difference does these two examples have…
Sara —
I'm trying to implement a game loop like Casey's, i.e. a variable fixed timestep, in SDL2. Curren…
Kapsy —
Hackers: Heroes of the Computer Revolution is a must read:
https://www.amazon.com/Hackers-He...n-…
Kapsy —
I would recommend reading this post by Jeff Preshing. He makes a strong case for using SDL (or at…
collin —
That looks like a promising resource, thanks for pointing it out. I agree that many of the blackb…
Awesome !!!
I don't have as much time available to program in c theses lasts weeks, but when i d…
spx —
c[ode]clap 0.8.43 has arrived.
Due to time constraints this release took a few weeks longer tha…
Ryan —
Thank you so much Martins! I have a much better understanding now.
marccThis could be an issue if you're updating the image memory at the same time X11 reads it.
T…
1.
i386 is pretty much dead. Unless you really want to support almost 15 year old hardware. Ther…
Ryan —
I am writing a simple C program with SDL2 which utilizes some techniques from Handmade Hero. I wi…
This could be an issue if you're updating the image memory at the same time X11 reads it.
To be …
A Low Level Curriculum for C and C++ is something I wish I add when I learnt programming (there a…
@marcc: That's makes sense. I did have some random crashes before so perhaps that was it. Unfortu…
I'm not sure this is the source of the issue, but I think this could lead to some extra work / sy…
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 …
You mean dealing with the stragglers?
Most often I see a scalar cleanup. Though you can read ove…
Thank you! That makes a lot of sense.
If you don't mind another question: I'm curious about how …
You are halfway there,
You can have 4 accumulators, then you don't need to do a horizontal add …
Hey guys. After finishing the first SIMD section of HmH (~days 115-120) I started SIMDizing some …
collin —
Splitting up a task over multiple frames is a pretty good suggestion. I kinda take that for grant…
Some focus on how game programming is soft real-time programming.
The blessing and curse of amo…
You can also merge .rdata and .text sections that will reduce size a bit (because of alignment &a…
collin —
Hi everyone, longtime lurker, first time poster.
I recently started a job teaching programmin…
The first 300-400 bytes of the executable contain the PE-header which tells the loader how to sta…
Greetings fellow programmers!
I've stumbled upon a very peculiar phenomenon. Whenever I'm executi…
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 lett…