i fell for the rewrite in rust meme

I was working on a game for months in Godot and it was going well but I had this itch where i couldn't help but think that maybe things would be easier if I was using rust(ive never used rust).

Well I'm a week into the rewrite and I can safely safe it did not make things easier. Much harder in fact.

That all being said I'm having a lot of fun learning about rust. God there is so much to learn and it made me realise how many concepts are smoothed over by using GDscript.

17 points · 6 comments · view on lemmy.world

6 Comments

VibeSurgeon@piefed.social · 10 pts · 2d (1 reply)

I think you went into the endeavour with the wrong expectations - that it would be easier if using Rust, especially considering that you had never used Rust.

Fizz@lemmy.nz · 5 pts · 2d

Yes but its all fun and thats what these hobby projects are about. I'm still leaving the client in Godot because I'm not feeling like doing ui in rust. But I have been learning to write an api. Its currently a giant match statement but im looking into fixing that.

CameronDev@programming.dev · 7 pts · 2d (1 reply)

Did it end up blazingly fast? :D

Doing a port as your first rust project is a brutal was to start, and im guessing will result in some pretty sketchy rust code. Good luck though :)

Fizz@lemmy.nz · 3 pts · 2d

It is blazing fast. Neither project was very far along so rhe rewrite isnt huge. I did oop in uni so I kept trying to fight against Godot and build oop instead of using an entity component system. Although rust is harder the design pattern of Bevy is mentally much easier to add features. The nice thing is the multi threading. When I was looking at doing it in Godot it didnt make sense but because bevy multi threads all the systems its going to scale so well.

JakenVeina@midwest.social · 1 pts · 1d (1 reply)

What game engine uses Rust? Does Godot support it?

Fizz@lemmy.nz · 3 pts · 1d

Godot does support rust but im using bevy because I didnt really like having to configure things via the UI.