hn.today

Rust 1.99.0

blog.rust-lang.org12 points3 comments
Screenshot of Rust 1.99.0

Rust 1.99.0 is a stable Rust release you can get via rustup update stable, with notes encouraging testers to use the beta or nightly channels and report bugs. There are no changes to language semantics, but documentation guidance was updated where needed. Install instructions, detailed release notes, and community support links are provided, and the release team thanks the many contributors.

The release stabilizes defining C-ABI variadic functions in Rust (extern "C" and "C-unwind") so Rust can both call and implement functions using ...; the variadic argument type is VaList and readable types are constrained by VaArgSafe. It also finalizes safety rules for getting layout information from raw pointers to sized and unsized types and stabilizes Layout::for_value_raw, mem::size_of_val_raw, and mem::align_of_val_raw. Documentation now recommends avoiding round-trip deallocation after Box::leak in favor of Box::into_non_null due to optimizer and allocator interactions. A number of APIs were stabilized, including IntoIterator for Box and references to Box, VecDeque::retain_back, core::ffi::VaList, Box::into_non_null/from_non_null, Vec::into_parts/from_parts, UTF-8 lossiness helpers, FusedIterator for StepBy, and file-time setters, among others.

Read on blog.rust-lang.org3 comments on Hacker News

Summary generated by AI from the linked article. hn.today is not affiliated with Hacker News or Y Combinator.

More in Programming

Zig v0.17.0

Zig v0.17.0

Zig 0.17.0 introduces a reworked build system, including a new Build Server Protocol and enhanced ELF Linker for better incremental compilation on x86_64-linux. The release also features numerous language, standard library, and package management improvements contributed by over 200 developers. (ziglang.org)

Hardly Promethean

Hardly Promethean

Decreasing costs of native app development and performance optimization shift the software bottleneck from coding to deployment and maintenance. Experts argue that while technology enables faster coding, managing and shipping updates remains a significant challenge. (jardo.dev)

The daily digest

Today's best Hacker News stories, summarized and screenshotted, one email a day.