News for hackers. Stuff that matters.
Re:Amazon Lumberyard: free AAA game engine with Oculus and A... by UK-AL on Tuesday February 09, 2016 @01:16PM (#11067379)
Modern C# allows you to define a code path where GC is not allowed to run. I'm not sure if unity allows for this.

I'm also not sure about the new c# -> to native compilers coming out.

Re:Amazon Lumberyard: free AAA game engine with Oculus and A... by 0xffff2 on Tuesday February 09, 2016 @04:18PM (#11068850)
Could you link to the feature you're talking about? Unity uses a relatively ancient version of Mono IIRC, so it's unlikely that the feature is available in Unity unless your definition of "modern C#" is "after generics were added".
Re:Amazon Lumberyard: free AAA game engine with Oculus and A... by pjmlp on Tuesday February 09, 2016 @05:38PM (#11069393)
Modern C# means .NET 4.6

For example GC.TryStartNoGCRegion

https://msdn.microsoft.com/en-us/library/dn906201%28v=vs.110...

SafeBuffers

https://msdn.microsoft.com/library/system.runtime.interopser...

Or using array segments

https://msdn.microsoft.com/en-us/library/9cc4bx8k(v=vs.110)....

Unity has made a lot to spread C# love among game devs, but it also gave a bad reputation to those unaware how .NET really is.

Re:Amazon Lumberyard: free AAA game engine with Oculus and A... by UK-AL on Tuesday February 09, 2016 @05:31PM (#11069340)