Hacker News new | ask | show | jobs
by pjmlp 3342 days ago
Because Unity uses a Jurassic Mono implementation with a stone age GC and JIT implementation.

By the same metrics, we should evaluate performance of C and C++ code by using benchmarks with MS-DOS C and C++ compilers, which should be about the same age.

Don't mix languages with implementation when talking about performance.

2 comments

Amen brother. I think most perf problems in Unity games would go away if Unity updated their GC. It's definitely our #1 source of frame rate hiccups. Plus, it makes you write weird crappy code just to avoid GC allocations. Ugg =(
Are there plans to replace Mono with .NET Core?
No, Unity guys are doing their own thing with IL2CPP.

Basically they generate C++ from MSIL as a means to generate native code, instead of building their own compiler backend.

They plan however, to eventually update their Mono runtime.

https://forum.unity3d.com/threads/future-plans-for-the-mono-...