Live data from Hacker News

Ask HN: I'll die about 2068, will most games still be written in C/C++?

news.ycombinator.com

1–10 of 17 posts

Re: Ask HN: I'll die about 2068, will most games still be written in C/C++?

#3

With the move to mobile gaming, very possibly. Programmer convenience may not be as important as battery power.

It's an issue even with console gaming, where noisy fans, and fire risks on carpet floors hamstring advancement.

Re: Ask HN: I'll die about 2068, will most games still be written in C/C++?

#6
No, because the bottleneck for most games is typically GPU performance, with a side of memory allocation. There is no magic dictating that every game needs deep instruction-level massaging, and many of the interesting bits that do need it can be turned into library code. The stack for a high performance game of 2068 might still be "low level" relative to other applications, but it has as much reason to shift towards a higher average level of abstraction as any other piece of software.

Re: Ask HN: I'll die about 2068, will most games still be written in C/C++?

#7
post #4

Most games aren't written in c/c++ today. Maybe most AAA games are. Most games are written in various engines that use other languages whether it's c# in unity or the language in game maker etc...

Yeah, not really, the engine aka Unity or Unreal is still written in C/C++. Also, any game that requires performance that doesn't use one of these pre-made engines such as Factorio or Prison Architect, still requires C/C++ at it's core, but can use Lua or something for gameplay.

Re: Ask HN: I'll die about 2068, will most games still be written in C/C++?

#9
post #4

Most games aren't written in c/c++ today. Maybe most AAA games are. Most games are written in various engines that use other languages whether it's c# in unity or the language in game maker etc...

I'm using C++ for my mobile game. It's a 3D game that has to run on low-end devices and still get decent performance.

Unity just didn't cut it at all.

Post reply on HN