Is Glenn Fiedler's "fix your timestep" feasible?

The ability to do physics replays without snapshots (position of objects to reset from errors that have accumulated) requires that

1. All computers that play back the physics will give identical float/double bits for operations, so unless Flash uses a software fpu or can set the fpu to a lower performance setting that ensures compatibility across platforms, this requirement is usually violated. I know this lesson really well, because back when AMD was kicking ass, my intel fanboy friend would send me replays that he insisted worked on his computer, and those replays would go funky on mine. Adding snapshots solved the problem.

2. I get the impression that Box2D is only deterministic if you separate out different bodies into different worlds. What I mean is that if you have a simulation where you are playing back a 2nd player, and you add the local player to the same simulation, I think that the simulation might be affected by the local player even if those players are not in compatible collision groups. To be absolute sure, you'd have to play back a sim in the exact same conditions that it was recorded under.
Ah ok, sure snapshotting the position should work, but obviously the user input should be the snapshoted instead, both for memory impact but also for the simulation conditions.
At least, i personally wanted to let the physical system simulate his stuff with any given input, be it real-user moving the stylus or feeding a stream of pre-recorded moves shouldn't matter.

I never tried box2d with that, but when i modeled the car physics i had the game running natively on both a PocketPC and a desktop platform: while the PPC probably was doing software float point ops under the hood, sure the desktop pc was using full floating point computations, but the ghost car was working perfectly all the time on both platforms.
I mean, i didn't use any physics library at the time, so i just wrote simple integrator steps as these:

Code:
   ...
   // Forces and torque on body
   
   // drag and rolling resistance
   resistance.x = -( carDescriptor->carModel.resistance*velocity.x + carDescriptor->carModel.drag*velocity.x*ABS(velocity.x) );
   resistance.y = -( carDescriptor->carModel.resistance*velocity.y + carDescriptor->carModel.drag*velocity.y*ABS(velocity.y) );

   // sum forces
   force.x = ftraction.x + sin(carDescriptor->steerangle) * flatf.x + flatr.x + resistance.x;
   force.y = ftraction.y + cos(carDescriptor->steerangle) * flatf.y + flatr.y + resistance.y;   


   // Acceleration

   // Convert the force into acceleration
   // Newton F = m.a, therefore a = F/m
   acceleration.x = force.x / carDescriptor->carModel.mass;
   acceleration.y = force.y / carDescriptor->carModel.mass;
   FIXUP_VEC( acceleration.x, acceleration.y );

   // Velocity and position
   
   // transform acceleration from car reference frame to world reference frame
   acceleration_wc.x =  cs * acceleration.y + sn * acceleration.x;
   acceleration_wc.y = -sn * acceleration.y + cs * acceleration.x;
   FIXUP_VEC( acceleration_wc.x, acceleration_wc.y );

   // velocity is integrated acceleration
   carDescriptor->velocity_wc.x += delta_t * acceleration_wc.x;
   carDescriptor->velocity_wc.y += delta_t * acceleration_wc.y;
   FIXUP_VEC( carDescriptor->velocity_wc.x, carDescriptor->velocity_wc.y );
   
   // make sure vehicle doesn't exceed maximum velocity
   carDescriptor->velocity_wc.truncate( carDescriptor->carModel.max_speed );

   // position is integrated velocity
   carDescriptor->position_wc.x +=  delta_t * carDescriptor->velocity_wc.x;
   carDescriptor->position_wc.y += -delta_t * carDescriptor->velocity_wc.y;
   ...


The key thing here was what rusty was trying to tell: i buffered the user input at the start of the frame, but processed both the applied forces (input) and car physics (integrator steps) for every physics substep, this way i got everything running smoothly and, much important, in a deterministic way.
Recording the user input for just a matter of pushing every discrete input substep in a queue packing it in some way (most of the substeps were just the same for the same step), replaying was as simple as feeding the input buffer with the recorded stream: since the recording was done at discrete substeps like the simulation, this shouldn't provoke any problem with floating point precision at all since you actually don't perform snapshotting on the results of user input, but just on the raw transformed input (key down, up..). Also with my recording thing some simple math was involved in it, arctan and sqrt were used to compute the stylus angle and the throttle to apply later on in the physics simulation and differences in computing these in 64/80 bit precision were negligible since the simulation was replayting across platforms with no problems.
Yeah sorry, I just assumed that we all knew to buffer user input. The snapshot of the actual state of physics objects is the questioned part.
Ohhh that makes sense, i assumed the same but was just questioning the snapshoting of the physics results to do replays, and not doing that to compensate errors 😆
Anyway, i noticed this thread still lacks a final response to the intial question and at this point we may just shed some light on it for anyone still searching for an answer:

Is Glenn Fiedler's "fix your timestep" feasible? - YES, OF COURSE.
For those interested in a detailed implementation of the subject in Box2D:

http://www.unagames.com/blog/daniele/2010/06/fixed-time-step-implementation-box2d

Original thread: https://box2d.org/forum/viewtopic.php?t=3973