How would you go about learning Rust if you start now?
I'm a frontend developer. I mostly code on Javascript. Recently, a friend showed me Rust lang. That was amazing. I want to get started on Rust programming. Any links or suggestions would be great.
Decide on a project (for example "Write a Pong Clone with OpenGL")
I like to mash OOP and FP, so I would visualize a hirarchy of stuff I need and want to implement
Use doc.rust-lang.org/book/syntax-and-semantics.html to implement stuff, starting with a small Hello world, then adding window creation, then adding an OpenGL context, then drawing my first triangle with shaders (OpenGL3+), and last but not least implement the game with the most simple graphics (mono-colored quads)
OK, I already have experience with a number of similar programming languages, like C++, but that's how I learn stuff in general. You do not have to make a Pong Clone with OpenGL (I feel comfortable doing something like that), but that's what I did and you should choose something you could easily do in another language you already know :)
Marco Alka
Software Engineer, Technical Consultant & Mentor
This is how I went about it:
OK, I already have experience with a number of similar programming languages, like C++, but that's how I learn stuff in general. You do not have to make a Pong Clone with OpenGL (I feel comfortable doing something like that), but that's what I did and you should choose something you could easily do in another language you already know :)