Live data from Hacker News

Rust 1.26 released

blog.rust-lang.org

71–80 of 178 posts

Re: Rust 1.26 released

#72
post #55

Earlier quoted context omitted.

They're very different languages, so different people like them for different reasons. Why is salt so popular today when pepper is just killing it?

Well, every two languages are different, but at least for systems programming, Golang unfortunately started to replace Python, but given how vitally important security is in that domain, Rust makes a lot more sense than Golang, won't you agree?

gVisor is a security product ( Container Runtime Sandbox ) made by Google in Go and runs in production so I'm not sure what you mean by "how vitally important security is in that domain".

https://github.com/google/gvisor

Re: Rust 1.26 released

#73

So, so, so much stuff in this release! The next few are shaping up to be similar. Very exciting times! As always, happy to answer questions, provide context, etc.

Amazing work on this release! I've needed so many of these features in stable Rust, and I'm so excited to get to use these.

I mean, just yesterday I had to do some weird stuff to a for loop in order to iterate over all u8s in a cleanish way.

Lovely, lovely work. I'm especially excited to see how clever the ref/ref-mut `match` inferring is. If it's reliable, that's gonna remove quite a bit of friction for newcomers. So cool!

Re: Rust 1.26 released

#74
post #72
post #55

Earlier quoted context omitted.

Well, every two languages are different, but at least for systems programming, Golang unfortunately started to replace Python, but given how vitally important security is in that domain, Rust makes a lot more sense than Golang, won't you agree?

gVisor is a security product ( Container Runtime Sandbox ) made by Google in Go and runs in production so I'm not sure what you mean by "how vitally important security is in that domain". https://github.com/google/gvisor

Rust is much safer by both design and implementation programming language. Google is emotionally attached to Golang, which was born at Google.

Re: Rust 1.26 released

#75
post #52

I really wonder why is Golang so popular today when Rust is just killing it?

Aside from the head start, I believe Go legitimately hits a sweet spot for developers wanting a language that's relatively easy to use yet also fast and fully compiled.

Rust on the other hand is targeted more towards developers that want C-like low-level control along with safety against shooting themselves in the foot.

The former audience is probably larger than the latter. But popularity isn't everything (JavaScript wins that contest ;)). The important thing is Rust is doing an amazing job in an area that hasn't seen much love.

Re: Rust 1.26 released

#76
post #74
post #72

Earlier quoted context omitted.

gVisor is a security product ( Container Runtime Sandbox ) made by Google in Go and runs in production so I'm not sure what you mean by "how vitally important security is in that domain". https://github.com/google/gvisor

Rust is much safer by both design and implementation programming language. Google is emotionally attached to Golang, which was born at Google.

How is it much safer? Sounds like you don't know what you're talking about.

Re: Rust 1.26 released

#77
post #76
post #74

Earlier quoted context omitted.

Rust is much safer by both design and implementation programming language. Google is emotionally attached to Golang, which was born at Google.

How is it much safer? Sounds like you don't know what you're talking about.

One could make an argument about data races, for example. Rust prevents them at compile time, Go does not.

You could also make an argument about compile-time guarantees more generally.

I'm not sure it's really a great argument, but you could make it. I think the parent's statement that it's only Go because it's made by Google is demonstrably false.

Re: Rust 1.26 released

#78
post #52

I really wonder why is Golang so popular today when Rust is just killing it?

They're very different languages, so different people like them for different reasons. Why is salt so popular today when pepper is just killing it?

I totally just checked whether "pepper" was a competing product to saltstack that I hadn't heard about yet.

Re: Rust 1.26 released

#79
post #76
post #74

Earlier quoted context omitted.

Rust is much safer by both design and implementation programming language. Google is emotionally attached to Golang, which was born at Google.

How is it much safer? Sounds like you don't know what you're talking about.

It sounds like you have no idea about Rust.

Re: Rust 1.26 released

#80
post #52

I really wonder why is Golang so popular today when Rust is just killing it?

Also Go's 1.0 predated Rust by about 5 years. They started around the same time, but many people won't use a language that's not stable where their existing code may break with each new release. Go has had a ~5 year head start in developing a library ecosystem, tooling, commercial users, etc. It takes a long time for a language to build momentum and a user base. Python was just starting to get popular when I graduate…

This is true, but even today in 2018, Golang still suffers from the dependency-management hell, the notorious GOPATH, and many other issues it should not have being almost a decade old! Even Rust, which some call "lower-level language", which it is not, has Cargo after it learned from Ruby and Node how important is to have easy package management, and being able to install a new project without knowing almost anything about the language.
Post reply on HN