All Topics
All Topics
Technology
Technology
Design
Design
Programming
Programming
Science
Science
News
News
Gaming
Gaming
Entertainment
Entertainment
Business
Business
Finance
Finance
Sports
Sports
Health
Health
Food
Food
Travel
Travel
Art
Art
Music
Music
Books
Books
Education
Education
Politics
Politics
Personal
Personal
No algorithm. No AI slop. No ads. Just RSS. Pro-human. Indie writers. Real journalism. Open web. Chronological. Hand toasted.

Fil-C: Memory-Safety Instrumentation for clang with Concurrent Garbage Collection

By

signa11

6mo ago· 5 min readenNews

Summary

Filip Pizlo has released Fil-C, a solo project that adds memory-safety instrumentation to clang for spatial safety (out-of-bounds accesses) and includes a runtime support library with a concurrent garbage collector for temporal safety (use after free). The tool is highly compatible with existing code, potentially enabling building a full Linux distro userspace with modest patching. Performance overheads are estimated at 1-4x cycles, which is considered tolerable by modern standards.

Key quotes

· 4 pulled
Filip Pizlo recently released a (solo!) project called Fil-C that adds a memory-safety instrumentation pass to clang (for spatial safety -- out-of-bounds accesses)
along with a runtime support library and a concurrent GC (for temporal safety -- use after free)
It is, by the standards of such tools, highly compatible with existing code -- so much so that building a full linux distro userspace seems likely within reach with only modest patching effort
The stated performance overheads (measured by Dan Bernstein at 'about 1-4x cycles') are by modern standards 'probably tolerable'
Snippet from the RSS feed
Filip Pizlo recently released a (solo!) project called Fil-C that adds a memory-safety instrumentation pass to clang (for spatial safety -- out-of-bounds accesses), along with a runtime support library and

You might also wanna read