3 ms·
You seem knowledgeable about Rust, is this article pointing in good directions to learn the language from a dev primarily coding in JS?
by rmbyrro 5y ago
You seem knowledgeable about Rust, is this article pointing in good directions to learn the language from a dev primarily coding in JS?
- ZephyrBlu 5y agoI've recently started learning Rust with very little experience in low level languages. Just go build something and read the Rust book: https://doc.rust-lang.org/book/title-page.html https://doc.rust-lang.org/book/title-page.html. The trickiest thing is ownership and lifetimes, but that's not really something you can understand just by reading. You need to build an intuition for how ownership and lifetimes work.
- jen20 5y agoMy recommendation for people learning rust for years has been to read both the Rust Programming Language book and Programming Rust at the same time.
- csomar 5y agoNo. The article is terrible (sorry). The OP was probably generous with "some small corrections". Not only the article touches up on some minor details about the language (mostly syntax) but gets them wrong or with a mistake half the time. These details are hardly 10% of the journey into Rust. The best place to start is still the Rust book: https://doc.rust-lang.org/book/ https://doc.rust-lang.org/book/ and then start coding with it. I'd also suggest you learn some C along the way, if you only have a JS background.
- michaelsalim 5y agoDo let me know the mistakes and I will fix them! And agreed, the Rust book is excellent. I did have experiences with C which made going into Rust that much easier. But for others that don't, wouldn't you think going straight to Rust would be easier than learning C on the side?
- eyelidlessness 5y agoAs someone only passingly familiar with Rust and coming from a JS/TS background I agree this article is not helpful. If you want to make the jump: - if a good article would be useful to you, the best resource will almost definitely be The Rust Book which is just a really well organized and easily accessible website - if you prefer just exploring, Rust and its ecosystem is a lot easier to just wander into and try stuff than JS; but it’s going to feel really strict and have unfamiliar rules even if you’re used to strict TS - even if you bail out of either it’s worth the time, I guarantee you’ll learn something even if it doesn’t show its value right away