The Rust Foundation would like a word with whoever owns this site
Becoming Rustacean: Resources to Learn Rust Programming
31–40 of 48 posts
Re: Becoming Rustacean: Resources to Learn Rust Programming
#32The Rust Foundation would like a word with whoever owns this site
[0]: Rust, RR, Neovim: A perfect debug combination https://news.ycombinator.com/item?id=35523585
Re: Becoming Rustacean: Resources to Learn Rust Programming
#33The Rust Foundation would like a word with whoever owns this site
Re: Becoming Rustacean: Resources to Learn Rust Programming
#34Re: Becoming Rustacean: Resources to Learn Rust Programming
#35Earlier quoted context omitted.
I mean, that's probably true in some broad categorical sense, for the question of "speed of execution of final program" which it's not clear your parent meant. However it's not true in the specifics, there are so often little tweaks Rust has that otherwise comparable languages don't have that squeeze out a little better performance and this adds up. For example: C++ std::vector is a perfectly respectable growable arr…
Well I guess we can always play micro-benchmarks game if you want to go down that path, including selecting specific compiler toolchains and flags while making it a point that it is a property of language XYZ, to make it even better.
Re: Becoming Rustacean: Resources to Learn Rust Programming
#36Earlier quoted context omitted.
Oh, no, it isn't. Take the speed of Haskell or Prolog. They are much slower than Rust at runtime.
First of all Prolog is usually not AOT compiled rather JITed, secondly regarding Haskell, it is an issue with the skill set of the developer more than anything.
Re: Becoming Rustacean: Resources to Learn Rust Programming
#37I really like the speed of rust. It’s very difficult to learn it though
As someone who came mostly from Python and some C: I must say the most difficult part was stopping myself from forcing aesthetical ideas of how to structure code from the other languages into Rust. There are three points here: - Rust lends itself to certain structures (that you might not be used to) and makes others very harder to pull off (that you might be used to). The trick is not try to do the latter when the fo…
Re: Becoming Rustacean: Resources to Learn Rust Programming
#38Earlier quoted context omitted.
As someone who came mostly from Python and some C: I must say the most difficult part was stopping myself from forcing aesthetical ideas of how to structure code from the other languages into Rust. There are three points here: - Rust lends itself to certain structures (that you might not be used to) and makes others very harder to pull off (that you might be used to). The trick is not try to do the latter when the fo…
As a javascript/typescript developer I took a notion to learn Rust and it has been hard but rewarding on a personal level. Im concerned though that I'm learning somwthing that has very few if any real jobs right now. All I see is block chain nonsense. In your opinion is there much chance that this will change?
The problems Rust attempts to tackle are fundamental problems you will encounter in many languages. Understanding how to program or how to think in order not to get those problems in the first place is the thing Rust can teach you. A lesson that any programmer can learn from.
That being said Rust has great testability and interopability. I myself use Rust in some (work) projects in conjunction with Python.
So I definitly see some future for the language, also commercially. But even if I wouldn't, I would still recommend learning it.
Re: Becoming Rustacean: Resources to Learn Rust Programming
#39Re: Becoming Rustacean: Resources to Learn Rust Programming
#40Earlier quoted context omitted.
The trick to learning Rust is to first start learning C++; that way your motivation to learn Rust increases even further and you start getting the feeling that Rust is easy ;) This is similar to the psychological trick of how an obese person, to make himself/herself feel better, stands next to an even more obese person :)
Not just any c++, I'd recommend performance aware modern c++. It leads towards the functional-ish zero-copy lock-free thinking rust rewards. I've been told ocaml or f# programmers also find rust easy.
I think C++ programmers are probably the ones that are likely to find Rust easiest because they should be familiar with lifetimes even if they never really had to write them down.