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.
David Owens II
Yeah, my input is 440bytes per frame. I haven't looked to see how big Casey's version is. But even…
»
Casey Muratori
In general, I don't like the tone of your posts, so I will not be reading them in the future.Case…
»
Casey Muratori
The file is large because it is actually saving the memory that is allocated, not just the 64 meg…
»
Rowan Crawford
There's not much more to it. If the program is running the game loop calls this update:aDelta eac…
»
mojobojo
Casey[/quote] I looked back at the video and it was just me misunderstanding what happened in the …
»
d7samurai
You're making the invalid assumption that memory access is the bottleneck, as if program perform…
»
David Owens II
The point is less memory reads per instruction.
»
Livet Ersomen Strøm
Casey[/quote] Ah yes. But thats a different thing. Some instructions must have 16 bytes alignment?…
»
David Owens II
Maybe the OP is not calling your Win32RecordInput(&Win32State, NewInput) in the game loop? @mojobo…
»
Livet Ersomen Strøm
SIMD I havent any experience with. But for sure, it can't make your memory or cache faster. This …
»
Casey Muratori
Err, that's what the codebase already does? Not sure what you guys are saying here... when you st…
»
Livet Ersomen Strøm
This is highly erroneous. Data alignment makes a massive difference, full stop. If you write sl…
»
Casey Muratori
Yeah, just to follow up on this further: it's a bad idea to do something like "I tested to see if …
»
Casey Muratori
Actually, the answer is usually "it depends" :) Sometimes the system memset is actually because …
»
d7samurai
I was just about to mention something to Kladdehelvete about SIMD, but I see Casey took care of it…
»
Casey Muratori
This is highly erroneous. Data alignment makes a massive difference, full stop. If you write sl…
»
Livet Ersomen Strøm
On intel there may be no real world consequences to ignoring alignment. On other kinds of hardwa…
»
Livet Ersomen Strøm
It doesn't matter what you perceive the speed to be, you can only trust actual measured data. [/…
»
Patrick Lahey
It would be helpful to have more information. Depending on how you are handling events you might …
»
Patrick Lahey
Clearly I misunderstood what you were trying to say. My mistake.
»
Andrew Bromage
The artist, usually. Certainly someone who has worked their way through the complete works of Edw…
»
Andrew Bromage
It would buy us a lot of performance. System memset() functions are far better tuned to take advan…
»
David Owens II
That's what I'm doing. I have a snapshot.mem file that contains the initial state, then an input.m…
»
d7samurai
That is why I wrote "with no padding" (you even quoted it).
»
Patrick Lahey
@Kladdehelvete On intel there may be no real world consequences to ignoring alignment. On other k…
»
Patrick Lahey
@d7samurai Not quite. The compiler automatically pads out any struct that contains something req…
»
Sven
It doesn't matter what you perceive the speed to be, you can only trust actual measured data. But…
»
mojobojo
I watched and had me wondering why you would record the game state every frame? If you were to ju…
»
Livet Ersomen Strøm
I didn't quite understand whether you just wanted an algorithm to render a static starfield skydo…
»
Livet Ersomen Strøm
Hollasch's Law states that computer graphics is the only area of science where if it looks right,…
»