this post was submitted on 27 Apr 2024
105 points (96.5% liked)

Rust

6142 readers
56 users here now

Welcome to the Rust community! This is a place to discuss about the Rust programming language.

Wormhole

!performance@programming.dev

Credits

  • The icon is a modified version of the official rust logo (changing the colors to a gradient and black background)

founded 2 years ago
MODERATORS
 

This was a really good summary of what Rust feels like in my opinion. I'm still a beginner myself but I recognize what this article is saying very much.

The hacker news comments are as usual very good too:

https://news.ycombinator.com/item?id=40172033

you are viewing a single comment's thread
view the rest of the comments
[–] sugar_in_your_tea@sh.itjust.works 4 points 8 months ago (1 children)

Exactly. I make games for a hobby in Godot, and my workflow is to iterate in GDScript and optimize in something faster (I wrote a world gen in Rust).

Most of a game's performance is going to be in the engine in shaders, physics, etc, so most of your logic could very well be in a scripting language.

[–] felbane@lemmy.world 2 points 8 months ago (1 children)

How well does Godot integrate with modules written in other languages? I assume you have to compile a library for each target platform on your Rust component and then link it dynamically in Godot somehow?

Pretty much. If you're using Godot 4, you use gdext, and for Godot 3, use gdnative.