Some of Stephen Baxter's [1] books in the xeelee sequence explore a sci-fi version of this [2]; it's a fascinating ride, if you are interested in thinking of how sci-fi has dealt with this..
https://en.wikipedia.org/wiki/The_Dancers_at_the_End_of_Time