Originally posted by bpetty
View Post
Unity gets round it by using IL2cpp. Can you even class this as a feature of C# then? It is more a C# transpiler I suppose.
AOT compiling is also no good because the garbage collector and runtime (which is not fully compiled AOT) are still unportable junk.
Java is mostly the same. The only difference is that Java has been around longer and has been painstakingly (And I mean it, I think people have not had much fun doing it) porting it to other platforms.
Basically the technologies nearest to the goal of portability and being platform agnostic is C (and to a lesser extent with each standard, C++). There often isn't much other choice from what I can see if you want to be able to write once and compile anywhere.
Comment