Hi! I was teaching myself around 16 years ago. Back then I was using some random c++ course in my native language. I think most important is to spend a lot of time doing exercises. Starting from basics means firstly you need to learn the programmer's way of thinking and problem solving starting from really basic and simple programs. C++ is quite a complex language to learn, but patience and consistency will pay off in the future.
That's only my personal opinion and to say it loud: I have no Rust experience, only years of experience in c++. I did some research that made me think that using Rust it's harder to write unsafe code in some areas ( i.e. memory safety, thread safety ) as opposed to C++. But still in any language you can write unsafe code and in any language you can write safe code (even in assembly or brainf**k, but with more effort spent and easier to introduce buggy unsafe code by mistake). And that covers just language level safety. I think that a much harder point is to implement the whole software architecture as a safe which is more crucial. Maybe we have someone here with both C++ and Rust experience? I am curious about her/his view :)
Can you recommend a course to learn c++ with 0 programming knowledge?
Hi! I was teaching myself around 16 years ago. Back then I was using some random c++ course in my native language. I think most important is to spend a lot of time doing exercises. Starting from basics means firstly you need to learn the programmer's way of thinking and problem solving starting from really basic and simple programs. C++ is quite a complex language to learn, but patience and consistency will pay off in the future.
Safer C++? Rust?
That's only my personal opinion and to say it loud: I have no Rust experience, only years of experience in c++. I did some research that made me think that using Rust it's harder to write unsafe code in some areas ( i.e. memory safety, thread safety ) as opposed to C++. But still in any language you can write unsafe code and in any language you can write safe code (even in assembly or brainf**k, but with more effort spent and easier to introduce buggy unsafe code by mistake). And that covers just language level safety. I think that a much harder point is to implement the whole software architecture as a safe which is more crucial. Maybe we have someone here with both C++ and Rust experience? I am curious about her/his view :)