If we are living in a simulation it wouldn't be in any way affected by how we code. It would also almost certainly be a simulation built upon a set of simple rules where complex patterns play out as a result of emergence. Imagine something like Conway's Game of Life, where instead of producing gliders and repeaters, you wind up with stars, planets, plants, and us.
The only way I'd believe our simulation was specifically planned out, would be if our creators/designers are in a reality that dwarfs ours in complexity. If PacMan were sentient, he would gaze out at his universe (the various levels of the game) and be convinced that nothing could design anything that vast or complex. From his tiny perspective, it would seem impossible, yet to us it is quite simple.
I've also heard arguments trying to explain the immense computing power it would require to run our simulated universe, and how that seems to argue against it. I've watched multiple YouTube videos were people used redstone circuitry to build working computers inside of Minecraft. The processor and memory took up so much space that you would have to run full speed for ages in order to go from one side to another. Because the computer built within Minecraft works the same way "real" computers work, it is theoretically possible for someone to build Minecraft inside of Minecraft. It would run millions or billions of times slower than its parent Minecraft, but with infinite time the inner Minecraft would be exactly the same.
If the characters inside of Minecraft were suddenly sentient, I'm sure they would look at this amazing massive computer they'd built and theorize that they could recreate their universe as a simulation. To actually create Minecraft using redstone circuitry it could (and I'm totally guessing here) require So Much space that it would be millions of square miles. The citizens of Minecraft would almost certainly calculate out that size and decide that making such a simulation is impossible due to the required processing power, and would then conclude that they themselves cannot possibly be living in a simulation. Their mistake is assuming their simulation matches the reality that is simulating them, and PacMan's mistake is assuming his designers are of the same complexity he is.
Either approach is very possible, but one thing I do not believe is that the creators of our simulation would be humans living in a world like what We see.
- Aprone
Please try out my games and programs:
Aprone's software