4 ms·
Do you know of any work being done in this area? I'm not that familiar with compiler design but this sounds fascinating.
by voldacar 7y ago
Do you know of any work being done in this area? I'm not that familiar with compiler design but this sounds fascinating.
- azhenley 7y agoThe Wikipedia page has some good info to start with: https://en.wikipedia.org/wiki/Register_allocation https://en.wikipedia.org/wiki/Register_allocation
- rwmj 7y agoIt's not quite true that no work is done in this area. https://en.wikipedia.org/wiki/Superoptimization https://en.wikipedia.org/wiki/Superoptimization is an active area of research, where we try to find the optimal code sequence (for various values of "optimal" which could include small size, but more usually highest performance) using various techniques including exhaustive search, annealing and logic programming. (To be fair superoptimizing a 512 byte game is far beyond what could be done today)