|
|
|
|
|
by SleepyMyroslav
17 days ago
|
|
I think this is one of the "paths not taken" already. The economy of making software (by people) voted in favor of "sufficiently smart compiler" with profile guided and link time optimizations. It happened a long time ago and most of the code that I have worked with is structured to require such a smart compiler. The early examples of half codebase in assembly like Photoshop 1.0 in the public archive were clearly more expensive to make for a single platform - not to mention how many platforms people need now to recoup development costs. What you are describing is what Zig spent years to try to become while running away from LLVM. Sure thing there are other less popular attempts which I can't even bother to list here, not because they are somehow worse, but because they are even further away from gamedev practice that I care about. I don't know what the economy of generated code would be. It is up for debate right now. What I can definitely see now is that human-only code made this way is not going to pay off. It can only be an expense for someone who has unlimited budget to spend on a whim. |
|