"Another reason for Minecraft's poor performance is that it's written in Java, which also makes multithreading really difficult"
...
"And so how does OptiFine optimize the game? I have no clue, I am not a programmer"
Woah, I would've never guessed