Porting My JavaScript Game Engine to C for No Reason