memory-safety

Tag

Cards List
#memory-safety

Apple Internals: Swift in the Kernel

Lobsters Hottest · 3d ago Cached

Apple has begun integrating Swift into the kernel via a new effort called KernelKit, with an Embedded Swift runtime appearing in macOS and iOS, marking a step toward memory-safe kernel extensions.

0 favorites 0 likes
#memory-safety

Memory Safe Inline Assembly

Hacker News Top · 5d ago Cached

Fil-C introduces memory-safe inline assembly, ensuring that programmer errors result in panics or traps rather than miscompilation.

0 favorites 0 likes
#memory-safety

Fearless Concurrency on the GPU: Safe GPU inference in Rust, competitive with vLLM/SGLang [R]

Reddit r/MachineLearning · 6d ago

cuTile Rust introduces a tile-based programming model that leverages Rust's ownership to guarantee memory safety and data-race freedom for GPU kernels, and the Grout inference engine built on it achieves competitive throughput with vLLM/SGLang for Qwen3 models.

0 favorites 0 likes
#memory-safety

Show HN: cuTile Rust: Safe, data-race-free GPU kernels in Rust

Hacker News Top · 2026-06-16 Cached

NVIDIA Labs releases cuTile Rust, a tile-based system for writing memory-safe, data-race-free GPU kernels in idiomatic Rust. It extends Rust's ownership model to GPU kernels, JIT-compiles Rust AST to GPU code, and achieves performance close to native CUDA.

0 favorites 0 likes
#memory-safety

Memory safety CVEs differ between Rust and C/C++

Hacker News Top · 2026-06-15 Cached

An analysis of how memory safety CVEs are reported differently in Rust vs C/C++, arguing that Rust's design reduces certain classes of vulnerabilities even when bugs exist.

0 favorites 0 likes
#memory-safety

Swift at Apple: Migrating the TrueType Hinting Interpreter

Hacker News Top · 2026-06-12 Cached

Apple migrated the TrueType hinting interpreter from C to Swift, achieving memory safety and a 13% performance improvement. The source code has been open-sourced.

0 favorites 0 likes
#memory-safety

Release Fil-C Linux/x86_64 version 0.679 · pizlonator/fil-c

Lobsters Hottest · 2026-06-08 Cached

Fil-C 0.679 is a new release of a fanatically compatible memory-safe implementation of C and C++ that uses concurrent garbage collection and invisible capabilities to prevent all memory safety errors without escape hatches.

0 favorites 0 likes
#memory-safety

Safe Made Easy Pt.1: Single Ownership is (Not) Optional

Lobsters Hottest · 2026-06-03 Cached

This article introduces a new approach to memory safety based on linear types and abstract interpretation, aiming to eliminate common bugs like use-after-free and memory leaks more ergonomically than Rust.

0 favorites 0 likes
#memory-safety

Bun Has Been Converted to Rust. Now What?

Hacker News Top · 2026-06-03 Cached

Anthropic acquired Bun and used Claude Code agents to rewrite the entire runtime from Zig to Rust in nine days. The rewrite passed 99.8% of tests but introduced over 10,000 unsafe blocks, raising questions about the benefits of memory safety.

0 favorites 0 likes
#memory-safety

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

Memory safety is a matter of life and death

Lobsters Hottest · 2026-06-02 Cached

The author argues that memory-unsafe open-source software is critically vulnerable to upcoming AI bug-finding agents, making memory safety a moral imperative, and that Rust must succeed as the leading memory-safe language with no overhead.

0 favorites 0 likes
#memory-safety

Announcing Zstandard in Rust

Lobsters Hottest · 2026-06-01 Cached

Trifecta Tech Foundation announces the first release of libzstd-rs-sys, a pure Rust implementation of the Zstandard compression format, offering a drop-in replacement for the C reference implementation with improved portability and memory safety at a slight performance cost.

0 favorites 0 likes
#memory-safety

Back to the Building Blocks’ Building Blocks

Lobsters Hottest · 2026-05-27 Cached

The article draws parallels between the security flaws in C/C++ and those in Verilog, arguing that the hardware description language's design leads to bugs and that the industry should invest in safer alternatives, similar to the push for memory-safe programming languages in software.

0 favorites 0 likes
#memory-safety

How my minimal, memory-safe Go rsync steers clear of vulnerabilities

Lobsters Hottest · 2026-05-24 Cached

A deep dive into how a minimal, memory-safe Go implementation of rsync avoids a dozen vulnerabilities present in the original C version, with comparisons to OpenBSD's openrsync and defense in depth techniques.

0 favorites 0 likes
#memory-safety

@meekaale: I still can't believe how fucking awesome and hilarious and truly groundbreaking Fil-C is, it's such a dizzying and stu…

X AI KOLs Following · 2026-05-23

Fil-C is a groundbreaking new programming language that promises to revolutionize the software ecosystem with memory safety.

0 favorites 0 likes
#memory-safety

Pardon MIE?

Hacker News Top · 2026-05-23 Cached

A three-person team with AI assistance bypassed Apple's Memory Integrity Enforcement (MIE) in five days using two bugs and a clever idea, demonstrating a significant vulnerability in Apple's hardware-based kernel memory safety stack.

0 favorites 0 likes
#memory-safety

Improving C# Memory Safety

Hacker News Top · 2026-05-21 Cached

Microsoft announces a redesign of C#'s unsafe keyword in C# 16 to enforce memory safety contracts, making unsafe operations visible and compiler-enforced, with preview in .NET 11 and production in .NET 12.

0 favorites 0 likes
#memory-safety

Everything in C is undefined behavior

Hacker News Top · 2026-05-20 Cached

An experienced C++ developer argues that all non-trivial C and C++ code contains undefined behavior, making memory safety impossible and calling into question the continued use of these languages in modern software development.

0 favorites 0 likes
#memory-safety

The Fil-C Optimized Calling Convention

Hacker News Top · 2026-05-16 Cached

The Fil-C optimized calling convention ensures memory safety for C programs even under adversarial misuse, while maintaining efficiency by omitting safety checks in the common case. It explains the generic and register-passing optimizations that handle type violations via panics or well-defined behavior.

0 favorites 0 likes
#memory-safety

C++26: Standard library hardening

Lobsters Hottest · 2026-05-13 Cached

C++26 is introducing standardized library hardening to catch common undefined behavior (like out-of-bounds access) at runtime, based on Google's production experience showing a mere 0.30% performance overhead and a 30% reduction in segmentation faults.

0 favorites 0 likes
Next →
← Back to home

Submit Feedback