Live data from Hacker News

Why Rust Is the Future of Game Development

thefuntastic.com

71–80 of 247 posts

Re: Why Rust Is the Future of Game Development

#71
post #47

Having tried writing a game engine in Rust, I can't imagine that Rust would become the future of game development. Lack of safety is a feature in game development, because the optimizations required are typically unorthodox and a super strict language slows development down. Additionally, object ownership can be unclear in a game development setting, which typically makes use of global variables for state. The benefi…

Generational arenas solve a lot of your problems.

Re: Why Rust Is the Future of Game Development

#72
post #47

Having tried writing a game engine in Rust, I can't imagine that Rust would become the future of game development. Lack of safety is a feature in game development, because the optimizations required are typically unorthodox and a super strict language slows development down. Additionally, object ownership can be unclear in a game development setting, which typically makes use of global variables for state. The benefi…

Agreed. The extremely slow compile time and extremely limited data flexibility is blocking rapid development.

As an alternative to C++, JAI is more promising in my opinion.

Re: Why Rust Is the Future of Game Development

#73

Two weeks ago Rust was the future of embedded systems (it is not) and now it is the future of Game Development (it is not). I'm starting to think that people's opinion shouldn't be taken seriously unless they have like at least 20 years of experience in a particular field.

The future is now young man : https://www.arewewebyet.org/

> Can I replace my Rails/Django/Flask already?

> Yup! Rust has mature and production ready frameworks in Actix Web and Rocket, and newer ones like Warp and Tide. These provide everything you’d expect from a web framework, from routing and middleware, to templating, and JSON/form handling. There are crates for everything, and more!

I would pay for a reality show where a big Rails application needs to be replaced by Rust by the same engineers who built it.

Re: Why Rust Is the Future of Game Development

#74
post #64

Full disclosure: game development beyond the cli-based games and some simple asteroids-like games are the most I've ever done with games. I find them incredibly boring, both to make and play(kind of ironic considering up untilrecently I was working as a developer for a company that made games and I worked there for 8 and a half years). But 3 weeks ago I switched jobs and I am using rust in my current workplace, again…

Rust is progressing at a faster pace than C++.

Re: Why Rust Is the Future of Game Development

#75

Is it though? I feel like most people compare Rust to C++98 and if you do that, certainly Rust looks really good. The benefits of Rust compared to, say, C++17 are not as pronounced.

Better cross platform, better build system, better packaging, simpler language, the list goes on.

Re: Why Rust Is the Future of Game Development

#76
post #4

Let me tell you that most C++ game dev never heard of Rust, so imagine how long it's going to take for Rust to be something usable in that domain? Right now in the real world of AAA games it is nowhere, it's not even a consideration so calling it "Rust Is the Future of Game Development" right ... For those who don't work in games, the tech there move very slowly, it's not your typical SV "let's use the latest fun and…

There are some AAA game engine and graphics developers actively using Rust in their main codebase like RAD and Embark, and many are Rust curious and using Rust for side projects or tools. It's true that it will be a while before wide Rust adoption happens in the game industry (if ever) and C++ will stay around for a while. As for tech in games moving slowly... there is some truth to that but some things also move muc…

Chucklefish, the developer of Starbound, uses Rust too. The lead dev on the project gave a great presentation [1] at RustConf.

[1] https://youtu.be/aKLntZcp27M

Re: Why Rust Is the Future of Game Development

#77
post #47

Having tried writing a game engine in Rust, I can't imagine that Rust would become the future of game development. Lack of safety is a feature in game development, because the optimizations required are typically unorthodox and a super strict language slows development down. Additionally, object ownership can be unclear in a game development setting, which typically makes use of global variables for state. The benefi…

Rust is just one of the current Silicon Valley memes at the moment. You could hit the front page with an article titled "Why Rust could mean you'll never run into another broken McDonald's ice cream machine again".

"Machine learning let me train my dog twice as fast."

"How AI will revolutionize marriage counseling"

"Study: Using Go results in 10% better senior programmer retention"

Re: Why Rust Is the Future of Game Development

#78

Is it though? I feel like most people compare Rust to C++98 and if you do that, certainly Rust looks really good. The benefits of Rust compared to, say, C++17 are not as pronounced.

Better cross platform, better build system, better packaging, simpler language, the list goes on.

> Better cross platform

How many gaming consoles support rust?

Re: Why Rust Is the Future of Game Development

#79
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.

one te driver tend to be write in c or c++ make it mor reasonable to use the same langues, ogre3d for (c++), heaps( for haxe i love it compiled to c++), mono(for c#/ c++), raylib (c/c++), i dont know why you want spend at of time in make a engine that need some of this frameworks, whit weird interface to use rust

Re: Why Rust Is the Future of Game Development

#80
When discussing games, where players demand excellent performance but are tolerant of initial startup times (i.e. launching the game from Steam or the Start Menu) being long, then I question why Java isn't the future.

By all accounts Java has the most sophisticated runtime out there, it has all the safety features of Rust without fucking around with the borrow checker which seems like a huge piece of complexity just to avoid garbage collection.

Plus, now that Mozilla has gutted the Rust team, one wonders what future Rust has, if any.

Post reply on HN