4 ms·
I see the c# of unity as a major downside vs the c++ of Unreal. We have tried both for simulation engines and have had a much better time getting the performanc
by patrick451 2y ago
I see the c# of unity as a major downside vs the c++ of Unreal. We have tried both for simulation engines and have had a much better time getting the performance we need out of Unreal than Unity.
- neonsunset 2y agoKeep in mind that it speaks more about Unity-specific behavior of C# rather than the way it performs outside of it, like in Stride3D or Godot. There is an absolutely massive performance rift between Unity's Mono and .NET 8's CoreCLR. Unity fixes this by using a subset of C# as DSL for its Burst compiler which is LLVM-based for specific hot paths, but it's something you don't need to do with "vanilla" .NET where all code has good codegen or offers really good SIMD API. Also if your application is bottlenecked by allocation and collection throughput, you might see even greater difference in performance.