News for hackers. Stuff that matters.
Re:Porting 58000 lines of D and C++ to jai, Part 0: Why and How by cmovq on Wednesday November 23, 2022 @04:02PM (#33724476)
Unity is still written in C++. It's fairly common to write the core engine in C++ and use a language like Lua, or as is more common in AAA, some proprietary scripting language for gameplay code.
Re:Porting 58000 lines of D and C++ to jai, Part 0: Why and How by 3a2d29 on Wednesday November 23, 2022 @06:23PM (#33725828)
Interesting. I heard the Civilization games were Lua, didn’t know that was more common.
Re:Porting 58000 lines of D and C++ to jai, Part 0: Why and How by TheCycoONE on Wednesday November 23, 2022 @07:07PM (#33726189)
Quite common: https://en.m.wikipedia.org/wiki/Category:Lua_(programming_la...

I work on CorsixTH as a hobby which is also c++ and lua.

Re:Porting 58000 lines of D and C++ to jai, Part 0: Why and How by int_19h on Wednesday November 23, 2022 @08:51PM (#33727014)
This kind of thing in general is very common and goes back decades, it's just that the languages used to be custom (QuakeC, UnrealScript etc) before the industry largely standardized around Lua. Some older games also experimented with Python for this, and I recall even seeing Tcl once.
Re:Porting 58000 lines of D and C++ to jai, Part 0: Why and How by pjmlp on Thursday November 24, 2022 @04:39AM (#33729395)
Unity core, written by Unity employees, customers use C#, that is a big difference.

Also since Burst got mature, many C++ modules are slowly being rewritten in C#/Burst subset.