Considering Rust [video]
youtube.com
Considering Rust [video]
1–10 of 46 posts
Re: Considering Rust [video]
#2Re: Considering Rust [video]
#3> The Rust programming language has become a serious contender in the space of "systems" programming languages, and has recently been adopted by many of the tech giants for "serious" projects. In response to this, more companies are now considering whether they too should add Rust to their tech stack. This talk hopes to help you make that decision. We go through how the language compares to many current alternatives and what the language has to offer, but also what it's primary drawbacks are and its long-term viability prospects.
https://jon.thesquareplanet.com/slides/considering-rust/expo...
Re: Considering Rust [video]
#4I've been getting into Rust lately and really enjoying it so far. Coming from JavaScript, It can feel a bit verbose at times and I'm still trying to get an intuitive grasp of ownership but it feels like a really small cost compared to say C/C++. A nice bonus is that it has very good support for WebAssembly/Node.js which makes it easy to start using Rust for some JavaScript modules without having to re-write the whole…
Certainly can, especially compared to JavaScript. The way I've come to view this (and across more languages than just Rust) is that it's a trade-off between providing more information to the compiler which it can use to catch errors, and verbosity. You can't provide the information without some input, though things like type inference can help cut down on this. IMO, it's worth it: my Rust code, once it compiles, I feel has less bugs than my equivalent Python; I'd rather fight with the compiler than with runtime exceptions.
As I've learned Rust, I also find that sometimes you can elide some parts of things. E.g., in collect() calls, you can say Vec, eliding the item in the Vec, because the iterator you're collecting it from already knows it, and it can be inferred from that.
Of course, sometimes, I think it's nice to provide the type anyways, as I find the compiler is better at inferring than I am. I've definitely spent a fair amount of time in Python looking at a variable and wondering what type IS this?
Re: Considering Rust [video]
#5Re: Considering Rust [video]
#6Even as a fan of Rust I've become exhausted by these posts. Surely everyone on here must at this point know what Rust is and roughly why people use it?
Re: Considering Rust [video]
#7Are there any anecdotal stories about how Rust programs have fewer errors?
Facebook, for example, rewrote Messenger with ReasonML:
https://reasonml.github.io/blog/2017/09/08/messenger-50-reas...
And it had a lot fewer bugs:
"Messenger used to receive bugs reports on a daily basis; since the introduction of Reason, there have been a total of 10 bugs (that's during the whole year, not per week)! *"
Re: Considering Rust [video]
#8Even as a fan of Rust I've become exhausted by these posts. Surely everyone on here must at this point know what Rust is and roughly why people use it?
Sure there are companies that use it, but I bet you'd have a hard time convincing your manager that Rust is widely accepted in industry.
Anyway, I certainly appreciate all of the posts.
Re: Considering Rust [video]
#9I'm 20 minutes in and he's spending a lot of time talking about how Rust gets correctness right. Are there any anecdotal stories about how Rust programs have fewer errors? Facebook, for example, rewrote Messenger with ReasonML: https://reasonml.github.io/blog/2017/09/08/messenger-50-reas... And it had a lot fewer bugs: "Messenger used to receive bugs reports on a daily basis; since the introduction of Reason, there h…
Re: Considering Rust [video]
#10Even as a fan of Rust I've become exhausted by these posts. Surely everyone on here must at this point know what Rust is and roughly why people use it?
I think it would be interesting to see a breakdown of the blog posts and talks posted to HN by language.