4 ms·
> IL2CPP and Burst compilers is able to do C++ like optimizations that .NET is still far from being able to This is a discussion about .NET AOT (CoreRT) which
by lwansbrough 6y ago
> IL2CPP and Burst compilers is able to do C++ like optimizations that .NET is still far from being able to
This is a discussion about .NET AOT (CoreRT) which has been observed to have a considerable performance benefit over IL2CPP/burst (see the attached blog post in my original comment)
> .NET 5 also doesn't run in all platforms that Unity targets.
CoreRT supports C++ codegen, so in the worst case you can use that. But its first class platform support is growing. Though I suspect even then you may see some platform support differences but those can be ironed out. Given the benefits of switching to .NET CoreRT I suspect it would be worthwhile.
- pjmlp 6y agoI doubt it, given that Burst does optimizations, with a constrained C# subset tailored for replacing lower Unity layers previously written in C++, and is already being used in production. CoreRT is still a preview tech that has to deal with the full capabilities of .NET Framework, including VB.NET, C#, F# and C++/CLI as generators of MSIL bytecode.