"One of Mars’s moons, Phobos, appears to rise in the west and set in the east twice each Martian day (because it orbits Mars faster than Mars rotates) and it will eventually either collide with the planet or break apart to form planetary rings."
that's exacly how early computers worked.