memory-safety

Tag

Cards List
#memory-safety

GPU Offload in Rust: Portable, Safe, and Fast

Hacker News Top ↗ · 2026-08-17 Cached

This paper presents a zero-overhead, multi-vendor GPU compilation framework built into the Rust compiler, leveraging Rust's ownership model to ensure memory safety and achieve competitive performance with native CUDA and HIP baselines.

0 favorites 0 likes
#memory-safety

The Two Factions of C++

Hacker News Top ↗ · 2026-08-16 Cached

The article discusses the internal conflicts within the C++ community regarding ABI breaks and memory safety, alongside government warnings and big tech companies shifting towards Rust.

0 favorites 0 likes
#memory-safety

Rewriting in Rust

Hacker News Top ↗ · 2026-08-15 Cached

This article evaluates the 'Rewrite It In Rust' movement in 2026, discussing real-world performance gains, challenges like new bugs and platform support, and advocating for incremental rewriting over full rewrites.

0 favorites 0 likes
#memory-safety

I want extern "fil-c"

Lobsters Hottest ↗ · 2026-08-13 Cached

The author argues for a Rust FFI that speaks the Fil-C ABI, enabling safe interop with recompiled C/C++ libraries, and calls for cross-ecosystem collaboration among Rust, Fil-C, Zig, and Nix/filnix communities.

0 favorites 0 likes
#memory-safety

Adopting Memory-Safety and Fine-Grained Compartmentalisation with CHERI

Lobsters Hottest ↗ · 2026-08-13 Cached

David Chisnall presents CHERI, a hardware capability architecture enabling memory safety and fine-grained compartmentalization through ISA extensions such as ARM Morello, RISC-V, and CHERIoT microcontrollers. The talk emphasizes the importance of practical programming models for secure isolation.

0 favorites 0 likes
#memory-safety

Practical Memory Safety

Lobsters Hottest ↗ · 2026-08-03 Cached

The article discusses the recent proposal for memory safety in Zig via Fil-C, compares Fil-C's definition of memory safety with Rust's, and argues that memory safety is a spectrum with practical definitions, using a concrete example where Fil-C is still unsafe.

0 favorites 0 likes
#memory-safety

First CHERIoT Silicon

Lobsters Hottest ↗ · 2026-07-29 Cached

SCI Semiconductor announces the first silicon implementation of CHERIoT, a RISC-V-based security architecture providing deterministic memory safety and compartmentalization. The ICENI chip runs at up to 250 MHz and will be demonstrated at Embedded World.

0 favorites 0 likes
#memory-safety

@intel: Does the thought of AI finding and exploiting vulnerabilities that have been in the code for years keep you up at night…

X AI KOLs Timeline ↗ · 2026-07-29 Cached

Intel highlights how its Control-Flow Enforcement Technology (CET) blocks exploitation of a 17-year-old remote code execution vulnerability in FreeBSD that was autonomously discovered and exploited by Anthropic's AI system Mythos.

0 favorites 0 likes
#memory-safety

C++26: Reducing undefined behaviour

Lobsters Hottest ↗ · 2026-07-29 Cached

C++26 introduces changes to reduce undefined behavior, notably making it ill-formed to delete a pointer to an incomplete type, improving program safety.

0 favorites 0 likes
#memory-safety

How do you rewrite C/C++ projects to Rust?

Hacker News Top ↗ · 2026-07-29 Cached

This article discusses strategies for migrating C/C++ projects to Rust, emphasizing incremental migration over full rewrites, with insights from Luca Palmieri and JetBrains.

0 favorites 0 likes
#memory-safety

Memory Safety Absolutists

Lobsters Hottest ↗ · 2026-07-25 Cached

The article critiques memory safety absolutism in programming language debates, arguing that new approaches like Fil-C have trade-offs and that dismissing Rust as unsafe ignores practical benefits.

0 favorites 0 likes
#memory-safety

Fil-C: Garbage In, Memory Safety Out

Lobsters Hottest ↗ · 2026-07-23 Cached

Fil-C is a fully memory-safe implementation of C/C++. It bundles pointer values with boundary information using invisicaps at the LLVM IR stage, achieving high compatibility with a performance penalty of about 4x.

0 favorites 0 likes
#memory-safety

InvisiCaps: The Fil-C Capability Model

Lobsters Hottest ↗ · 2026-07-20 Cached

Describes Fil-C's InvisiCaps capability model for ensuring memory safety in C and C++ by tracking pointer permissions, while aiming for fanatical compatibility and reasonable performance.

0 favorites 0 likes
#memory-safety

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
#memory-safety

Memory Safety's Hardest Problem

matklad ↗ · 2026-07-20 Cached

This article discusses a fundamental memory safety challenge involving tagged unions where a pointer to one variant is used after the union is overwritten with a different variant, leading to type confusion. The author also argues that buffer overflows are the most exploitable memory error and could have been mitigated with better array syntax.

0 favorites 0 likes
#memory-safety

C Strings: A 50-Year Mistake

Lobsters Hottest ↗ · 2026-07-15 Cached

A critique of null-terminated strings in C, arguing that length-based strings are superior for modern programming, leading to fewer bugs and better performance.

0 favorites 0 likes
#memory-safety

Rewriting Bun in Rust

Simon Willison's Blog ↗ · 2026-07-08 Cached

Jarred Sumner details the agentic rewriting of Bun from Zig to Rust using AI, costing $165k in tokens and resulting in a 10% faster startup.

0 favorites 0 likes
#memory-safety

Memory Safe Context Switching (longjmp, setjmp) in Fil-C

Hacker News Top ↗ · 2026-06-30 Cached

Fil-C introduces memory-safe implementation of setjmp/longjmp and ucontext APIs, preventing dangling stack corruption and panicking on misuse.

0 favorites 0 likes
#memory-safety

Core dump epidemiology: fixing an 18-year-old bug

OpenAI Blog ↗ · 2026-06-30 Cached

OpenAI engineers detail the diagnosis of seemingly impossible crashes in Rockset's C++ data infrastructure, revealing both a silent hardware corruption bug on Azure and an 18-year-old race condition in GNU libunwind, resolved through epidemiological analysis of crash data.

0 favorites 0 likes
#memory-safety

What is `std::pin::Pin` in Rust?

Lobsters Hottest ↗ · 2026-06-29 Cached

Explains the `std::pin::Pin` type in Rust, why pinning is needed for self-referential types like async state machines, and how `Pin` prevents moves while allowing safe mutation.

0 favorites 0 likes
← Previous
Next →
← Back to home

Submit Feedback