News for hackers. Stuff that matters.
Re:The Resurgence of C Programming by pcwalton on Wednesday December 28, 2016 @09:21AM (#13270606)
I've heard this criticism from several game developers at this point. Contrary to some other voices here, I do think it's legitimate: if safety isn't important to you, then I can't argue with that.

At the same time, I think that Rust made the right choice for most domains. For most software, memory safety problems that hostile attackers find have consequences. Games are an exception, not the rule. It would be irresponsible for us to target servers or network-facing client software without memory safety.

It's also of course true that we have many game developers in the Rust community. A lot of people, including me, see safety as a productivity booster, especially combined with all the other features in Rust. I've advanced suggestions in the past for making unsafe Rust easier to program in, effectively turning off some of the safety checks, specifically for game developers who would prefer not to have the restrictions. These suggestions have been very unpopular in the Rust community, including from the game devs, and so they haven't gone further.

Re:The Resurgence of C Programming by dikaiosune on Wednesday December 28, 2016 @01:01PM (#13272261)
I'm a little confused game developers are so dismissive of attack surface -- after all, most games I've played in recent memory have some level of network access (multiplayer, achievements, etc.), and very few game developers seem to be OK with rampant exploitation in their online communities.
Re:The Resurgence of C Programming by psyc on Friday December 30, 2016 @03:28AM (#13283257)
Am I dismissive of the catastrophic effects of being shot, because I never wear a bulletproof vest? Again, not every individual app has the same problems. I'm not working on WoW. My best guess as to the number of people trying to attack my games is honestly zero.
Re:The Resurgence of C Programming by khedoros1 on Wednesday December 28, 2016 @04:22PM (#13273782)
"Never trust the client". The assumption should always be that the game client is lying to the server, whenever that's possible. In multiplayer games, a stream of keypresses is sent to the server, and a game state is sent back to the client.

At least, that's part of the argument that I assume they'd make.

Re:The Resurgence of C Programming by dikaiosune on Wednesday December 28, 2016 @04:25PM (#13273811)
Totally, although I assume at least some game shops are using shared C++ libraries on both client and server.