Live data from Hacker News

Announcing Rust 1.24.1

blog.rust-lang.org

1–10 of 66 posts

Re: Announcing Rust 1.24.1

#5
post #4

In case anyone else was wondering how longjmp() over the Rust code isn't a problem regardless: "There are only Copy types on the rust stack frame being jumped over." https://github.com/rust-lang/rust/issues/48251

neat!

Re: Announcing Rust 1.24.1

#6
> Cargo couldn’t fetch the index from crates.io if you were using an older Windows without having applied security fixes.

Why are developers (since this is an issue that shows up with cargo) running Windows 7 without security patches installed? Especially since the issue only shows up on Windows 7 installs that haven't received security patches since June 2016.

> libgit2 created a fix, using the WinHTTP API to request TLS 1.2. On master, we’ve updated to fix this, but for 1.24.1 stable, we’re issuing a warning, suggesting that they upgrade their Windows version.

That's really a neat and responsible way of handling this.

Re: Announcing Rust 1.24.1

#7
post #6

> Cargo couldn’t fetch the index from crates.io if you were using an older Windows without having applied security fixes. Why are developers (since this is an issue that shows up with cargo) running Windows 7 without security patches installed? Especially since the issue only shows up on Windows 7 installs that haven't received security patches since June 2016. > libgit2 created a fix, using the WinHTTP API to reques…

Although developers should know and do better, I think a big part of why they aren't doing it is because Microsoft has made it so hard to update Windows 7 since a year or two ago, all in the name of forcing people to switch to Windows 10.

You now have to visit and manually download the updates from Microsoft's Update Catalog website. Oh, and that website only works on Internet Explorer.

Re: Announcing Rust 1.24.1

#8
post #6

> Cargo couldn’t fetch the index from crates.io if you were using an older Windows without having applied security fixes. Why are developers (since this is an issue that shows up with cargo) running Windows 7 without security patches installed? Especially since the issue only shows up on Windows 7 installs that haven't received security patches since June 2016. > libgit2 created a fix, using the WinHTTP API to reques…

Speculating here: Maybe developers are testing/debugging on some VM with older Windows, without that machine be their development machine.

Re: Announcing Rust 1.24.1

#10

Rust gives me a headache. I want to like it, but it just seems so... overengineered https://doc.rust-lang.org/std/str/struct.SplitWhitespace.htm... Why would you create a special data type to represent a string split by Whitespace? Lunacy

That’s not a datatype... That’s an iterater returned by calling .split_whitespace() on a string.

Basically the same as calling .split(‘ ‘) on a string in JavaScript

You can find a list of Rusts primitive types here: https://doc.rust-lang.org/std/#primitives

Post reply on HN