4 ms·
Right that makes sense. I’m curious if the gaming industry will switch languages, it feels like with the current game engines that it’s heavily entrenched in C
by 3a2d29 4y ago
Right that makes sense.
I’m curious if the gaming industry will switch languages, it feels like with the current game engines that it’s heavily entrenched in C and C++. Feels like something like Carbon has the best chance to break in.
- stephc_int13 4y agoOnly time will tell. But I think there is an opportunity at this point in time.
- oxryly1 4y agoA chunk has already switched to C# with Unity. Most other engines (proprietary, Unreal, etc) have decades of C++ that would require too much effort to migrate to anything new.
- cmovq 4y agoUnity 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.
- 3a2d29 4y agoInteresting. I heard the Civilization games were Lua, didn’t know that was more common.
- TheCycoONE 4y agoQuite common: https://en.m.wikipedia.org/wiki/Category:Lua_(programming_language)-scripted_video_games https://en.m.wikipedia.org/wiki/Category:Lua_(programming_la... I work on CorsixTH as a hobby which is also c++ and lua.
- int_19h 4y agoThis 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.
- pjmlp 4y agoUnity 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.
- bartwe 4y agoThere are a number of Rust projects happening, but not overtaking c++ any time soon.