News for hackers. Stuff that matters.
Re:Introducing C# in Godot by apk-d on Sunday October 22, 2017 @03:54AM (#15525680)
This is fantastic! This actually puts the engine ahead of Unity in terms of scripting since those guys target a rather outdated version of C#/Mono. Now I can't wait to play around with Godot.

(Modern) C# is my favorite language, but I've been looking into F# recently. Wonder if someday that might be an option in Godot as well. Given how both languages compile to the same binary format, there have been workarounds to use it in Unity even though it's not officially supported.

Re:Introducing C# in Godot by sebazzz on Sunday October 22, 2017 @04:46AM (#15525786)
I believe Unity was investigating embedding the .NET Core runtime instead, for performance gains due to a better GC and better JIT.

Therefore I find it very odd they chose to use the Mono runtime. It sounds to me the .NET Core runtime is a much better choice, since the underlying CLR is in the basis the same as the .NET Framework CLR, including the Ryujit and all the other goodies.

Re:Introducing C# in Godot by pjmlp on Sunday October 22, 2017 @09:34AM (#15526752)
Unity targets many systems where .NET Core doesn't exist, e.g. games console.

Mono is only used in some targets, they actually compile to native code via IL2CPP for production deployment.

Re:Introducing C# in Godot by pjmlp on Sunday October 22, 2017 @09:33AM (#15526746)
Unity compiles C# to actual native code via IL2CPP, Godot doesn't do it, as far as I can understand it.

The Unity is already supporting 4.6 on its beta version.

Re:Introducing C# in Godot by SugoiDev on Sunday October 22, 2017 @10:28AM (#15526977)
4.6 is supported on all versions after 2017.1, but it is still labeled as experimental and not enabled by default.