unsafe-code

Tag

Cards List
#unsafe-code

Four levels of in-place initialization

Lobsters Hottest · 2026-08-17 Cached

The article discusses four levels of in-place initialization in Rust, from raw pointers to language proposals like &uninit/&own, to enhance memory efficiency and safety in programming.

0 favorites 0 likes
#unsafe-code

Rust for Morello: Always-On Memory Safety, Even in Unsafe Code

Lobsters Hottest · 2026-07-20 Cached

This paper presents a modified Rust compiler for the Morello capability hardware architecture, enabling always-on memory safety even in unsafe code by leveraging hardware capabilities.

0 favorites 0 likes
#unsafe-code

Cargo-Geiger

Hacker News Top · 2026-06-20 Cached

cargo-geiger is a Rust cargo plugin that lists statistics about unsafe code usage in a crate and its dependencies, providing input for auditing.

0 favorites 0 likes
#unsafe-code

Safe SIMD in Rust, even on the inside

Lobsters Hottest · 2026-06-20 Cached

Rust's SIMD abstractions now allow safe usage without unsafe code by leveraging CPU feature tokens introduced in Rust 1.87, enabling concise and portable vector operations.

0 favorites 0 likes
#unsafe-code

iddqd, or the hardest kind of unsafe Rust

Lobsters Hottest · 2026-06-02 Cached

This article introduces iddqd, a Rust library that provides maps where keys are borrowed from values, reducing duplication and synchronization issues. It discusses the challenges of writing unsafe Rust code and how the library maintains correctness.

0 favorites 0 likes
← Back to home

Submit Feedback