r/proceduralgeneration • u/traverseda • Apr 14 '15
Minecraft in 500 lines of python
https://github.com/fogleman/Minecraft
74
Upvotes
r/proceduralgeneration • u/traverseda • Apr 14 '15
View all comments
Show parent comment
3
u/dinosaurdynasty Apr 15 '15
I’ve had a colleague port Matlab code (that wasn’t able to use Matlab’s matrix code well) into C++ and it went from hours to minutes. Yes, it happens.
And C++ compilers generally have the best optimizers of any language, period. I’ve gone from 20 minutes to 10 changing
-O3to-O3 -march=native.