Live data from Hacker News

Rust 1.5

blog.rust-lang.org

21–30 of 159 posts

Re: Rust 1.5

#21
Congrats to the team!

I recently wrote my first Rust [1] project. Great experience, IMO. I faced a lot of interesting challenges because my use case was a little outside of typical. But I tried to minimize 'unsafe' and I was still satisfied with the results so far.

I know I've only just scratched the surface of the language and I'm looking forward to learning more.

[1] https://github.com/androm3da/libfaultinj

Re: Rust 1.5

#22
post #4

How are compile times now? The one barrier I had to using Rust for anything large was the awful compile times. Very happy to see the tooling improvements, though. Great work!

Well, "now" is relative. When did you last try? They've been steadily dropping each release, though this latest one isn't as large as the last few.

I'm particularly interested in incremental recompilation. From what I can see it hasn't landed yet (?) - but I can't seem to find any ETA on when it will.

Re: Rust 1.5

#23
Browsing the names of contributors, I was surprised at the lack of gender diversity. Four or five female contributors at the very most.

Rates of female participation below 5% - wow. Why is Rust lang so anti-female?

Re: Rust 1.5

#24
post #23

Browsing the names of contributors, I was surprised at the lack of gender diversity. Four or five female contributors at the very most. Rates of female participation below 5% - wow. Why is Rust lang so anti-female?

Because back in the days when Rust appeared it was heavily marketed as the toy for boys /s

Re: Rust 1.5

#25

I've been excited to try Rust for some time now, but I've been holding off, only because I'm primarily developing web applications and I've heard from a few people that Rust is better suited for other tasks (based on the built-ins, packages, etc.?), despite there being at least a few frameworks out there. What are your thoughts on this? Have things changed? Is the assumption just dead wrong, and Rust is in fact treme…

For production ready, out of the gate, little config, extensive ecosystem, Rust isn't quite there. It will take much more to get many of the things that other languages/frameworks/libraries already provide that are well tested and stable. But the community is progressing surprisingly fast, so I don't think it'll be long before enough of the helper libraries are well tested and stable that building a web server wouldn't be much more difficult than other options. For just a web server, depending on what you're doing, the benefits of using Rust compared to say Node or Go are still, IMO, not a big list YET. One big thing for me is the Rust types system.

I'm working on a new project now where my web server will be Node, however much of my api and micro services/jobs will be in Rust. I expect it to go well, we'll see.

Re: Rust 1.5

#26

Earlier quoted context omitted.

Well, "now" is relative. When did you last try? They've been steadily dropping each release, though this latest one isn't as large as the last few.

I'm particularly interested in incremental recompilation. From what I can see it hasn't landed yet (?) - but I can't seem to find any ETA on when it will.

There isn't a strong ETA, no. Everything about internals is basically waiting until after the HIR/MIR work lands, as it would end up changing a lot anyway, so that's where the focus is at the moment.

That doesn't mean the _discussion_ about how it works has to stop in the meantime, though...

Re: Rust 1.5

#27
post #23

Browsing the names of contributors, I was surprised at the lack of gender diversity. Four or five female contributors at the very most. Rates of female participation below 5% - wow. Why is Rust lang so anti-female?

[deleted]

Re: Rust 1.5

#28
post #23

Browsing the names of contributors, I was surprised at the lack of gender diversity. Four or five female contributors at the very most. Rates of female participation below 5% - wow. Why is Rust lang so anti-female?

Don't you have anything better to do than gender-troll? Like write some code, maybe? For god's sake, Rust goes out of its way to be modern and gender-inclusive. They have a god damn code of conduct, explicitly encourage participation from everyone, and actively seek contributors of all types. What the else should they fucking do?

Posts like yours just demonstrate that you can never win by giving into SJW demands. No matter how much you do, it's never enough. Get lost. We're here to talk about technology, not about your imaginary slights of half of humanity against the other.

Re: Rust 1.5

#29

Earlier quoted context omitted.

Run rustup.sh again, and it will Just Work. (If not, that's a bug.) If you want to have multiple versions installed at the same time, https://github.com/brson/multirust is super cool. Generally speaking, installation is something we're working on: working with Linux package maintainers, rolling rustup and multirust together and making them work well cross-platform, etc.

Any plans to offer official Rust Docker images? Or is this it? https://hub.docker.com/r/jimmycuadra/rust/

What benefit would Docker images have over the existing upstream distribution or distro packaging? The Rust compiler doesn't have any particularly complicated dependencies, either installing the binaries directly from rust-lang.org or installing packages from your distro (if your distro has packages yet) should work fine.

Container images are great for daemons with possibly complicated dependency sets that might have conflicting version requirements with other packages and can benefit from isolation from other packages that containerization gives, but seem like a pretty heavyweight solution for just installing a compiler.

Re: Rust 1.5

#30
post #7

Earlier quoted context omitted.

Well, "now" is relative. When did you last try? They've been steadily dropping each release, though this latest one isn't as large as the last few.

Apologies, I should have mentioned that. It's been about 9 months.

I measured ~40% improvement from 2015-05-10 to 2015-10-30. That is, it takes 0.6x time to compile. 2015-05-10 was chosen because Rust 1.0 was released 2015-05-15.

https://github.com/sanxiyn/sandbox/blob/master/rust/time-2.p...

Post reply on HN