Live data from Hacker News

Why Rust Is the Future of Game Development

thefuntastic.com

31–40 of 247 posts

Re: Why Rust Is the Future of Game Development

#31

I haven't worked in the games industry so please correct me if I'm wrong, but isn't game development culture one of rushing crude hacks out the door at the last minute? Rust seems like a poor 'culture fit' in this regard.

>Rust seems like a poor 'culture fit' in this regard.

How would Rust prevent "rushing crude hacks out the door at the last minute"?

Re: Why Rust Is the Future of Game Development

#32
post #16

The future of Game Development is about democratization of tools. With tools like Unity, GameMaker, and RPG maker it has become easier and easier for anyone to make a game. While Rust might be a good foundation for some performance critical code, I'd hardly say it's the "Future of Game Development". Already, games use tools like Blueprints in Unreal to make games with limited to no coding experience, and I expect tho…

It is the future of game development. I think that Rust makes it easier to build your own engine from public crates.

In some sense blueprints are necessary because using CPP sucks. I can imagine that instead of Blueprints, Rust based engines will use some DSLs.

Re: Why Rust Is the Future of Game Development

#33
Personally, I'm betting on Haskell - for indie dev in particular where I want to manage huge amounts of complexity as an individual. This is partially because I've been programming Haskell professionally for 5+ years so I'm over the learning curve and well into the realm of efficiency gains.

The GHC RTS is akin to the Lua layer and handles all the high-level logic. For storage and compute-intensive things, we can drop to lower-level primitives for performance and then easily hook into them in our scripting layer. I wouldn't be surprised if fleshing out this domain hints at future useful GHC extensions as well.

I like Rust a lot, but I honestly think the ability to do highly-abstract programming is worth having to deal with a non-literal compilation pipeline. For gamedev at least.

I honestly think it will be astounding what scale of game a single developer will be able to build in Haskell in 3-5 years once all the pioneering is out of the way. Programming a game the size Blasphemous could easily be managed by a single Haskeller I'm pretty sure - leaving resources to focus on art, sound, and storytelling. And that's an easy call - it'll be fun to see just how big and complicated of game logic we can make cheap thanks to good abstractions.

Re: Why Rust Is the Future of Game Development

#34
This article doesn't actually talk about "Why Rust Is the Future of Game Development." You could have taken out the game development piece, and it still doesn't talk about "Why Rust Is the Future of Development," more than talking about Rust features themselves.

I should be able to complete the sentence, "Rust is the future of game development because...," but I can't in any meaningful way.

Here are the highlights of the article, instead:

Rust is the future of game development because Rust has the performance of C++ with the convenience of C#.

Rust is the future of game development because Rust has ownership based memory.

Rust is the future of game development because Rust is popular. (The article doesn't say this explicitly, but implies it is.)

Rust is the future of game development because Rust is still an immature language. (This doesn't actually sell the point, and I'm not sure why the author bothers talking about this.)

What's weird, too, is that the article talks about how hard networking is, but _cart has specifically said in the past, "Yup! High level and low level networking is definitely on our radar, but it also isn't our immediate priority."

It may come as a surprise, but you basically have to bake networking into the engine. It's not easy as an afterthought. Rust doesn't help with this. In fact, multiplayer and all its challenges have nothing to do with Rust.

We had modern client-side prediction roughly 20 years ago, and people still don't take multiplayer seriously.

Re: Why Rust Is the Future of Game Development

#36
post #16

The future of Game Development is about democratization of tools. With tools like Unity, GameMaker, and RPG maker it has become easier and easier for anyone to make a game. While Rust might be a good foundation for some performance critical code, I'd hardly say it's the "Future of Game Development". Already, games use tools like Blueprints in Unreal to make games with limited to no coding experience, and I expect tho…

Not directly relevant, but the use of the phrase “democratization” to describe a process that has nothing whatsoever to do with democracy (“anarchization”?) has become a pet peeve of mine.

I'm assuming it means getting public involvement? Getting people to participate in the process.

That said, I do feel most of the examples are not that. The old shareware scene was much closer to the spirit. Now that we are pushing winners only, feels more like corporate control than it does people control. :(

Re: Why Rust Is the Future of Game Development

#37

I haven't worked in the games industry so please correct me if I'm wrong, but isn't game development culture one of rushing crude hacks out the door at the last minute? Rust seems like a poor 'culture fit' in this regard.

>Rust seems like a poor 'culture fit' in this regard. How would Rust prevent "rushing crude hacks out the door at the last minute"?

Doesn't the borrow checker ask programmers to be a bit less crude and hacky? I thought that was the point.

Re: Why Rust Is the Future of Game Development

#39
post #16

The future of Game Development is about democratization of tools. With tools like Unity, GameMaker, and RPG maker it has become easier and easier for anyone to make a game. While Rust might be a good foundation for some performance critical code, I'd hardly say it's the "Future of Game Development". Already, games use tools like Blueprints in Unreal to make games with limited to no coding experience, and I expect tho…

Not directly relevant, but the use of the phrase “democratization” to describe a process that has nothing whatsoever to do with democracy (“anarchization”?) has become a pet peeve of mine.

I think democratization is often used where decentralization fits better as a term.
Post reply on HN