Dev 'n Life
Rust, Bevy game engine, and Data-Oriented Design

Rust, Bevy game engine, and Data-Oriented Design

Dev 'n Life

34:08

About this episode

Summary

Rob is learning Rust, and feels like he's total beginner again. Rust's concept of ownership and its handling of strings are just different than any other language he has worked with, but JD ensures him that this is how everyone feels when starting with Rust...

JD spent the last week working on their game, starting with rewriting everything. He explored using a game engine instead of React for the visualization, and really likes the approach. He set up the new game engine Bevy, and hacked around to integrate it with a gRPC API. One problem he didn't anticipate is that querying state in the game can only happen during the game's core loop. Running at 60Hz, this means any API request takes at least 16ms. 😫 This will require some research in the future...

Diving deeper and deeper into game design and development, JD is amazed and inspired by the experience of the community. Looking specifically at user experience and Data-Oriented Design. For anyone who's interested in this, here are a few talks JD watched this week:

- Understanding Data-Oriented Design for Entity-Component-Systems (Unity at GDC '19)
- Building a Data-Oriented Future - Mike Acton

And here are the two blog posts mentioned in the episode:

- Introducing Bevy
- Specs and Legion, two very different approaches to ECS

Sorry for the audio quality in this episode. We had a small technical glitch and lost one of the high-quality recordings.

Stay in touch

Website: https://www.devnlife.com
Jan David: https://twitter.com/0x6a64
Rob: https://twitter.com/RobPando

More from Dev 'n Life

Summary Rob is back home after a stressful trip to renew a passport. For JD it was the first week after his vacation, and he had to readjust to work again. He also wanted to shape some work after thei…

34m

Summary Rob and JD catch up after their last episode on Shape Up. Rob has been studying game engines, and bought a Rust course. JD just watch the talk Bending the Curve from RustConf, in which Esteban…

32m

Summary YEAR 1 ANNIVERSARY! Rob and JD totally forgot that they released their first episode one year ago, and didn't prepare anything special... Rob has been reading Shape Up by Basecamp, and the two…

34m

Summary Rob is back after moving to Austin, Texas! And JD survived a heatwave in Europe that made it very tough to be productive. Nonetheless, JD managed to think more about the game he wants to build…

34m

Summary Rob had a busy week and some big news: He's moving next week. JD on the other hand took it a bit easier than usual this week, and has been thinking a lot about a new project. Reflecting on his…

35m