|
|
|
|
|
by Ace17
3019 days ago
|
|
Honest question: (besides compile times) what are the advantages of directly generating machine code, instead of generating C++ code? Doesn't it actually reduce the set of target platforms, while making the compiler harder to debug (by making its output mostly non-human readable)? |
|
On the target platform side, a video game tends to have a fairly well known set of platforms it will run on (new PC's, PS4, Xbox), so I think this is an acceptable trade off.
And just a final note, the generated C/++ would be very unreadable anyway, unless it was a direct transpiler, at which point you lose a lot of the benefits of having a new language.