bolha.us is one of the many independent Mastodon servers you can use to participate in the fediverse.
We're a Brazilian IT Community. We love IT/DevOps/Cloud, but we also love to talk about life, the universe, and more. | Nós somos uma comunidade de TI Brasileira, gostamos de Dev/DevOps/Cloud e mais!

Server stats:

248
active users

#rustlang

93 posts69 participants13 posts today

I may be comfortable enough in #Rust to start a project in it from scratch one day, but this cycle of designing and implementing completely in #Python first and then duplicating the spec and a lot of the logic in Rust from the ground up afterward seems like it works rather well.

The design is fixed by the time I start porting it and the Python is a reference and implementation guide.

Hey Rust + Bevy developers. I'm hoping you can help me out 💖

I'm really interested in backends for games, as in a multiplayer server, with the ability to scale out by increasing the number of servers. In .net I use the Orleans actor framework, which can dynamically handle scaling, but I feel less connected with my code when so much of it is handled by the framework.

Plus I would love to do something bigger with rust.

Can you help point me at some docs or crates or anything about server options? Any thoughts would be appreciated! I love the idea of ECS, but I'm not sure if that is something that would be usefully applied to a cluster.

Hey #rustlang wizards: we ran into a problem today involving the Never type (!), breaking changes in the 2024 edition, type inference regressions for closures and blanket impls for Fn traits. It's probably impossible (😉) to fix on stable Rust, but check out github.com/bevyengine/bevy/iss to see more!

Bevy version v0.16.0-rc.3 [Optional] Relevant system information Rust 1.86.0, 2024 edition. What you did fn test() { let mut app = App::new(); app.add_observer(|_: Trigger<TestEvent>| { panic!(); }...
GitHubObservers, systems and commands that use closures and panic require explicit return type after Rust 2024 edition · Issue #18778 · bevyengine/bevyBy Shatur

I released a new version of xmacro/xmacro_lib. Xmacros simplify code generation and templating repetitive things. Empathizing code-as-data and making source code easier to maintain. Eg. you may like it for generating tests!

This release has a breaking change in the syntax and may now be even more easy and straightforward to use. This is probably the last breaking change. Only additional features will come soon.

docs.rs/xmacro/latest/xmacro/

docs.rsxmacro - Rust`XMacro`