4 ms·
Precognition, mind-reading, and solving the halting problem are indeed beyond modern compilers - but thankfully, some clever people have given us other options
by riwsky 9y ago
Precognition, mind-reading, and solving the halting problem are indeed beyond modern compilers - but thankfully, some clever people have given us other options for achieving the goals you describe:
https://en.wikipedia.org/wiki/Profile-guided_optimization https://en.wikipedia.org/wiki/Profile-guided_optimization
https://en.wikipedia.org/wiki/Just-in-time_compilation https://en.wikipedia.org/wiki/Just-in-time_compilation
https://en.wikipedia.org/wiki/Partial_evaluation#Futamura_projections https://en.wikipedia.org/wiki/Partial_evaluation#Futamura_pr...