Live data from Hacker News

Considering Rust [video]

youtube.com

11–20 of 46 posts

Re: Considering Rust [video]

#11
post #10
post #5

Even 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?

Forget about Rust, and just think of it as a talk about why you should be considering language X. Do you still feel exhausted? I think it would be interesting to see a breakdown of the blog posts and talks posted to HN by language.

I would if a post/talk about why you should be considering language X showed up on the front page once a week.

Re: Considering Rust [video]

#12
post #8
post #5

Even 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 don't think Rust has reached wide acceptance yet. 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.

Not widely accepted in industry, but widely accepted (or at least known) among HN readers

Re: Considering Rust [video]

#13
post #7

I'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…

I've seen anecdotes from a few projects that were rewritten (Quake was one, I think?) and some ancient bugs were found only after the translation

Re: Considering Rust [video]

#14
Can somebody please explain why Rust has so much buzz right now compared to scala?

Scala is a strongly typed, very-well vetted, functional programming language in the JVM. It pretty much has everything going for it. It's even adopted by twitter.

Re: Considering Rust [video]

#15

Can somebody please explain why Rust has so much buzz right now compared to scala? Scala is a strongly typed, very-well vetted, functional programming language in the JVM. It pretty much has everything going for it. It's even adopted by twitter.

JVM, garbage collected, doesn't have zero overhead abstractions.

Might as well ask why Scala didn't take over from C++.

Re: Considering Rust [video]

#16

Can somebody please explain why Rust has so much buzz right now compared to scala? Scala is a strongly typed, very-well vetted, functional programming language in the JVM. It pretty much has everything going for it. It's even adopted by twitter.

> It pretty much has everything going for it.

Hard to respond to that as it is so general.

> It's even adopted by twitter.

And larger companies than Twitter use Rust (though to be fair not as extensively as Twitter uses Scala).

They're really not comparable. Rust is a lower-level language with no garbage collection (yet with guarantees about memory safety due to ownership rules). Scala runs on the JVM and has significantly more in the way of OOP (depending on how you use it obviously).

That said, I've found that my extensive Scala experience does come in handy when learning Rust as some features of the type system, pattern matching, threading failures through with ?, etc. These are things you won't have any familiarity with from Java, but do from Scala.

Re: Considering Rust [video]

#17
post #7

I'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…

Are there any anecdotal stories about how Rust programs have fewer errors?

My hobby projects are in Rust and Go. Its personal taste, but I prefer programming in Go. I actively dislike programming in Rust.

In Go, I usually I start a debugger once a week because I need to understand the cause of a bug or panic. I have no idea how to debug Rust, because in 2 years of Rust, I haven't had that type of low level bug.

Re: Considering Rust [video]

#18
post #15

Can somebody please explain why Rust has so much buzz right now compared to scala? Scala is a strongly typed, very-well vetted, functional programming language in the JVM. It pretty much has everything going for it. It's even adopted by twitter.

JVM, garbage collected, doesn't have zero overhead abstractions. Might as well ask why Scala didn't take over from C++.

I don't know why you'd be dismissive of that comparison. Scala is more like Rust than any other language he discusses.

Re: Considering Rust [video]

#19

Can somebody please explain why Rust has so much buzz right now compared to scala? Scala is a strongly typed, very-well vetted, functional programming language in the JVM. It pretty much has everything going for it. It's even adopted by twitter.

Twitter also uses Rust. Not nearly as much as Scala, of course, but there's the Pants build system (Python + Rust), stuff like https://github.com/twitter/rezolus

Re: Considering Rust [video]

#20
post #7

I'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…

ReasonML is basically Ocaml with a JS-like syntax on top, so no surprise there. The main advantage of Rust over ReasonML/Ocaml is likely to be increased performance and ease of coding multi-threaded or parallel code, as opposed to correctness per se.
Post reply on HN