News for hackers. Stuff that matters.
Re:Why I Write Games in C (yes, C) by wruza on Saturday September 21, 2019 @11:21PM (#21039445)
I started with C actually, but good ui is hard, and I decided to use Lua for a reason of not writing it all in C and hand-optimized style. I was forced to write ugly non-allocating code anyway, which defeated that idea completely. To focus your efforts, there must be a reason for these efforts in the first place.
Re:Why I Write Games in C (yes, C) by jayd16 on Sunday September 22, 2019 @04:10AM (#21040243)
But you must understand that lots of games are able to make this work. Call of Duty, for example, uses Lua for its UI scripting and is able to hit framerate. WoW uses Lua as well. Its not impossible or even impractical. There's plenty of reason to use a higher level language even if your core loops are hand optimized.