News for hackers. Stuff that matters.
Re:Xenko Game Engine 2.0 released by golergka on Wednesday April 26, 2017 @06:45AM (#14201974)
C# specifies the language, not the runtime. Apart from .NET and Mono, you can compile C# to cpp (what Unity does under the hood, btw).

> Also, it would mean I didn't have to use OOP to write games.

There are many instances where other programming paradigms are more usable - but in my experience, gameplay logic, specifically, maps very well onto classic OOP concepts.

Re:Xenko Game Engine 2.0 released by nonsince on Saturday April 29, 2017 @08:52AM (#14226344)
If gameplay mapped well onto OOP then the big game companies would use it, and not data-driven programming (specifically, entity-component systems). I think that there are a couple things that require OOP-style dynamic dispatch, but they don't need to be pervasive, even a function pointer stored as a struct member is more than enough to provide all the benefits of OOP without having to take on all the drawbacks.