Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
Disclaimer: I'm not a Game Dev and that knowledgeable about Rust.
It can certainly be discouraging but reading up on SDL2, it's in itself a reasonably complex (to the point it would be hard to grasp even in languages like C/C++).
I agree with @RememberMe on the fact that every technology tools expect you to know how to use them. Of course, there are exceptions which are meant to be easy to pick up (Rust isn't one of them).
Rust is notorious for its high learning curve and the fact it's quite low level.
Starting learning Rust to do some fairly complex things like using a 3D graphics library and complaining it's hard makes me wonder if you even thought that through.
Even in languages like Python, no one expect those who just learnt it to be able to use Pygame, Codeskulptor and whatnot. -
Geoxion9014yOne of the differences of Rust compared to other languages is that you really must know how to walk first before you start running.
In other languages you can just botch something together until it works. But note that this program is likely to be full of errors, simply because it allows it and you don't know any better.
So yeah, the learning curve steepness is there, but it's used for safety and correctness.
Related Rants
If there's one problem with rust, it's that it expects you to know how to use it.
One of my first projects was to try and use the SDL2 crate to make something, and I got stuck wrangling the borrow checker about how long my textures live.
I try again a year later, now knowing intuitively how the lifetime system works, and I come up with a solution easily.
This sort of thing is probably very discouraging to new users of the language
rant
rust