Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

There is still Unity ;) ... which okay is not exactly pure C# but ;)


There is no universe in which Unity is a show case for “why should we pick c#?”

The engine is C++, the C# integration is bad, the new ECS translates C# to C++ (or some cpp like IR) before it runs, and the whole thing is closed source and openly hostile to open source (eg. package managers) that might damage their revenue from the asset store.

Don’t get me wrong; modern C# projects are pretty cool, but this is way cooler than Unity.


>the C# integration is bad, the new ECS translates C# to C++ (or some cpp like IR)

This makes me suspicious of your take seeing as IL2CPP has been part of Unity for years and years and not the ECS stack.

They also have a package manager now as well as custom/3rd party repo settings.

But on the whole, yes. Unity is not a shining example of C#. Although its an example of how far you can hack with it.


https://docs.unity3d.com/Packages/com.unity.burst@1.8/manual...

Burst and IL2CPP are different things. Burst is also a different “can’t believe it’s not c#” custom layer they invented, own and now have to maintain a separate fork of.

(Apparently just maintaining IL2CPP wasn’t keeping them busy enough)


If you're talking about Burst then it would be more correct to say they added another language that is similar to but different than C#. AOT Burst builds a native library so I don't believe there's a C++ step.


Burst translates C# to to LLVM IR (and first to some simplified C#, etc).


Unity is anything but C# - it's an old version of mono that is used as a scripting engine around a C++ project.


I thought the transition from Mono to Core was either complete or nearly so? Is it far off?


“ I'll say that our goal is to keep up to date with modern .NET. Once we can get Unity synced up, we will continue to push the latest .NET features to Unity. So we want to bring all of these features discussed to Unity developers, and find the best ones to use in the Unity API.” (1)

Ie. no. It’s not done. No one knows when it’ll be done.

(1) - https://forum.unity.com/threads/unity-future-net-development...

If you’re really keen, just read that whole thread and you’ll get a really good understanding of how great things are, how happy with the c# support everyone is.

Tldr: netstandard 2.0 != .net 7 and nuget support.


"Coming soon"


Unity is a showcase of why NOT to pick C#.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: