4 ms·
The rise of Unity (C#) and Godot (GDScript or C#) would make me think that most game code is starting to move away from raw C++ — but of course the core engine
by girvo 6y ago
The rise of Unity (C#) and Godot (GDScript or C#) would make me think that most game code is starting to move away from raw C++ — but of course the core engine code is still C++ indeed.
- mqp 6y agoUnity has a c# scripting api, layered on the core c++ foundation. Unreal, on the hand, is C++ top and bottom.
- slezyr 6y ago> Unreal, on the hand, is C++ top and bottom. They have Blueprints[1] (visual scripting) and had a scripting language. However, they have removed it since then. 1: https://docs.unrealengine.com/en-US/ProgrammingAndScripting/Blueprints/GettingStarted/index.html https://docs.unrealengine.com/en-US/ProgrammingAndScripting/...
- lfowles 6y agoA runtime scripting language is coming back in some form or another thanks to Epic acquiring the SkookumScript team.
- Thaxll 6y ago"would make me think that most game code is starting to move away from raw C++" Godot is talked about on Hacker News but it's nowhere in the industry, as for C++ it's the default language for games and it will be the case for the foreseeable future. I feel that there is a real disconnect between hacker news and people working in the industry. Most people here don't seem to understand how different it is from your regular CRUD app compagny.
- zerr 6y agoEngine development and game development are two different things. For gameplay/scripting, even in 90s there were alternative languages. The way Unreal uses C++ (i.e. as scripting) is not different to how Unity uses C#.
- pjmlp 6y agoWhile the disconnect is true, specially in what concerns FOSS views of the world and how real studios work, middleware like Unity and WaveEngine are indeed being picked up by major studios. On the Switch alone, a very big chunk are all based on Unity, more than 50% as per Unity official statement. Also although the engine is still mostly C++, they have been porting the rendering pipeline into HPC#.