memory-safety

Tag

Cards List
#memory-safety

Static Allocation, Constant Work

Lobsters Hottest · 2026-09-02 Cached

This article explores static allocation strategies to prevent memory safety bugs such as use-after-free and type confusion, discussing object pools and generational indices, and introducing tricks from TigerStyle for avoiding dynamic memory allocation after initialization.

0 favorites 0 likes
#memory-safety

Pointer Stability for ArrayLists

Lobsters Hottest · 2026-08-28 Cached

The Zig devlog introduces pointer stability for ArrayLists to prevent memory safety bugs caused by pointer invalidation during reallocation.

0 favorites 0 likes
#memory-safety

Programming Language Semantics and Memory Safety

Lobsters Hottest · 2026-08-22 Cached

This article explores programming language semantics and its critical role in memory safety, explaining operational, denotational, and axiomatic approaches in an educational context.

0 favorites 0 likes
#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
Next →
← Back to home

Submit Feedback