Super Mario Bros. TAS vs. RTA former World Record (4:55.913 by Kosmic)
Comparison video of the two current world records of SMB, featuring Kosmic. Edit: Kosmic's run became former WR so fast...
TAS (Tool-Assisted Speedrun, human playing with emulator assistance, not in real time) WR: https://youtu.be/tdMHOXRX08o
RTA (Real Time Attack, human playing in real-time) WR: https://youtu.be/Gum4GI2Jr0s
TAS is overall only 1.9 seconds faster than RTA. Over the years, talented speedrunners have reduced time difference between TAS and RTA many times. Kosmic is the first RTA player who achieved 4:55.
TAS saves time in 4-2, 8-1, 8-2 & 8-4, using faster acceleration, going through the wall, flagpole glitch, etc. To tie with TAS in 1-1, 1-2, 4-1 & 8-3 is hard for real-time speedrunners.
The videos are adjusted in sync after time difference happens. No actual time difference happens in the first 3 levels due to 21-frame rule of this game.
TAS is NOT programming, NOT AI related. It's a special speedrun category in which human creating exciting movies using emulators.
Neither of the run uses "cheats" of any kind. Check out Bismuth's tutorial for more information: https://youtu.be/_FQJEzJ_cQw