flipboard.social is one of the many independent Mastodon servers you can use to participate in the fediverse.
Welcome to Flipboard on Mastodon. A place for our community of curators and enthusiasts to inform and inspire each other. If you'd like to join please request an invitation via the sign-up page.

Administered by:

Server stats:

1.2K
active users

#rustlang

112 posts82 participants18 posts today

I think that phantom lifetimes are my favourite pattern in #rustlang.

It’s amazing how you can just have the borrow checker ensure any arbitrary precedence of destruction that you want!

Especially when doing FFI shenanigans to some language with more “lenient” memory models.

#bevy #avian3d #rustlang #car
Trying to query a rigidbody so I can find out the speed at the car tires' positions.
But turns out this line
```
rb : RigidBodyQueryItem
```
Inside the parameter of a function running on "update" Throws a very unhelpfull error message
"
error[E0277]: `fn(Res<'a, Time>, Query<'b, 'c, &mut Transform, With<Player>>, ..., ..., ..., ..., ...) {bil}` does not describe a valid system configuration
--> src/main.rs:9:26
.add_systems(Update, bil)
...
"

Been using #HelixEditor full-time several days in a row now. Editing is getting easier. I’m remembering how to do things better and faster. I have three language servers installed now: #Python, #RustLang, and #Markdown. I love seeing errors and warnings right in the editor. I love being able to run the formatter at will. I love being able to use tree-sitter nodes as textobjects. I still have some things that catch me every time. Like when your cursor is sitting on the end-of-line position in normal mode: the difference between 'a' and 'A'. And I’m still not used to going into insert mode while there is a selection growing the selection as you type.

I’m very far from a Helix expert, and I disagree about some things; but I really feel good about this editor.