Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

What features do you rely on? This is effectively the opposite of my experience, which is why I am curious: even our embedded OS at work is almost free of nightly features, and everything higher in the stack has been on stable for a long time. Always interested in learning how experiences differ!


>is almost free of nightly features

So it's not free of said features and you have to use nightly?

>What features do you rely on?

Several of these highlighted here:https://blog.rust-lang.org/2024/02/19/2023-Rust-Annual-Surve...

Something like 30% of users were on nightly a few years ago. Not sure if that's still true, but it is for me.


Yes, for that OS we’re using asm_const, which is almost stable, naked functions, and used_with_arg, which is linker related. We also use array_methods but that could be polyfilled, if the other three were stable.


crates.io sees about 13% of requests from nightly compilers, although that may be biased by CI tests that just check for future compatibility rather than needing nightly features.

https://lib.rs/stats#rustc-usage

For application development nightly hasn't been necessary for many years now. Places where people use nightly are increasingly just nice to haves and small optimizations.




Consider applying for YC's Winter 2026 batch! Applications are open till Nov 10

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: