5 ms·
AAA game engines could greatly benefit from the type systems. The problem is most (if not all to my knowledge) functional languages with advanced type systems
by nightski 9y ago
AAA game engines could greatly benefit from the type systems. The problem is most (if not all to my knowledge) functional languages with advanced type systems require a garbage collector which is not ideal at all in that type of environment. They prefer the more deterministic latency provided by manual memory management.
- seanmcdirmid 9y agoUnity uses C# as its scripting language, Lua is popular as well. These all have GC.
- deleted 9y ago[deleted]
- cgh 9y agoMy friends in game dev do not consider Unity to be a AAA game engine, not by a long stretch.
- pjmlp 9y agoSo given that, would they consider Unreal to be a AAA game engine?
- nightski 9y agoGenerally it's judged by the types of games which have been produced. Since Unreal has had AAA games released using it, then yes I'd say so.
- pjmlp 9y agoSo then having a GC isn't an impediment to be a AAA games engine it seems.
- deleted 9y ago[deleted]
- nightski 9y agoI didn't mean to imply that it was. But it's not ideal. I believe it's optional in Unreal too, so I'm not sure if AAA games use that feature. GC is also a very blanket term. There are many different types. From what I understand the Unreal GC gives you a lot more explicit control over how and when it runs. Having written OpenGL applications in Haskell (not games) I can say that it has no such feature. It's GC is also vastly different as immutable functional languages generate a LOT more garbage than normal applications (measured in GB/s). GC is not the impediment. GC as it is currently implemented in the majority (if not all) advanced type system functional languages is.
- pjmlp 9y agoThere I agree with you. However Unity is improving their performance, you should have a look at HPC# presented at GDC 2018.
- seanmcdirmid 9y agoObviously, there are no true Scotsmen. But whatever you think of it, unity is widely used by indies, especially in mobile and VR.
- deleted 9y ago[deleted]
- deleted 9y ago[deleted]