Live data from Hacker News

Rust 1.45

blog.rust-lang.org

1–10 of 227 posts

Re: Rust 1.45

#3
post #2

https://github.com/SergioBenitez/Rocket on stable rust finally!

High speed to the first red light.. the database, IO, network.. I don't see the point of Rust here but whatever floats your boat.

Re: Rust 1.45

#5
post #2

https://github.com/SergioBenitez/Rocket on stable rust finally!

Interesting. Haven’t used rocket, but I am intrigued by warp since it has a websocket server as well.

Re: Rust 1.45

#6
post #2

https://github.com/SergioBenitez/Rocket on stable rust finally!

When I started learning Rust over a year ago now, Rocket was extremely appealing to me. I never subscribe to any GitHub threads that I'm not involved in, except for Rocket on stable.

In general, stable proc macros is an awesome step for Rust.

Re: Rust 1.45

#8
This rather niche fixing of unsafe behaviour is excellent: https://blog.rust-lang.org/2020/07/16/Rust-1.45.0.html#fixin...

I spent a few years as a scientific programmer and this is exactly the sort of thing that just bites you on the behind in C/C++/Fortran: the undefined behaviour can actually manifest as noise in your output, or just really hard to track down, intermittent problems. A big win to get rid of it.

Re: Rust 1.45

#9
> array[i] will check to make sure that array has at least i elements.

At least i+1 elements, right? Or am I getting caught up by one of the three hardest problems again?

Re: Rust 1.45

#10

> array[i] will check to make sure that array has at least i elements. At least i+1 elements, right? Or am I getting caught up by one of the three hardest problems again?

Nope, you're right, it was me that got caught up by it. :) Thanks, I'll fix that now.

https://github.com/rust-lang/blog.rust-lang.org/commit/fe241... (should roll out in a few minutes)

Post reply on HN