Hello fellow programmers,
I think I really stopped with Rust. Although I really like the performance there are too much issues for me. Maybe I will come back, but for now it does not look like that.
Partly inexperience, lazyness, non-interest probably.
Maybe just for feedback I put some reasons here...
The main reason is, I don't feel the satisfaction of the writen code. Except for the performance!
The syntax I cannot get used too. In general it looks too complicated for me with all the brackets, generics, trait implementations, results, abstract implementations. It does not feel like a "language", but more like a math puzzle I have to decipher.
My brain just does not want these, and these are easy ones!
pub trait ToOwned {
// Provided method
fn clone_into(&self, target: &mut Self::Owned) { ... }
}
pub fn missing_field<'de, V, E>(field: &'static str) -> Result<V, E>
where
V: Deserialize<'de>,
E: Error,
{
}
The macro language is another puzzle I do not want to dive into. I cannot find code when wrapped into macro's for example.
Too much crate dependencies for relatively simple tasks. I really think there should be "official rust" crates for these.
Another reason is the borrowchecking and references between objects.
Although I can see why it can be useful and good, as a programmer (and certainly in the hobby area) I want to be able to easily make an unsafe mess if I want to. And I just want to read and write to everything if I want to. Which is very difficult in Rust.
I also get the feeling this system is more difficult to represent reality. In realtiy things interact and change in all kinds of directions. Reality is not a tree.
It is not all negative. I really like a lot of things in the Rust language.
No GC and control over memory (unlike C#).
Of some things I like the clarity for example arrays / vecs. In C# you can choose from at least 12 obscure variants (including emergency performance thingy's) of these.
And I have seen very clear and readable crates, which set simplicity in front.
I am without favorite language now
At least I produced a very fast chess engine and the beginning of a game.
It was the game which stopped me going on: too much troubles, not enough fun.
Best wishes to you all and thanks for all tips and comments I got.
Eric