pizlonator/fil-c
View on GitHub ↗ ★ 3,898
Fil-C: completely compatible memory safety for C and C++
69 mentions on Hacker News by 48 people: 19 stories, 50 comments · first 2024-02-21 · latest 2026-10-27
20082026
-
…it takes to port PHP to Fil-C and according to our tests this turns all of the exploits into DoS https://github.com/pizlonator/fil-c/blob/deluge/projects/php...
comment by pizlonator · 2026-10-27 · in PHP2Shell: Exploitation attempts and remediation trends -
▲ 3
Fil-PHPstory by SSLy · 2026-10-21 · 0 comments
-
…call Phil's Concurrent Marking. I've documented it here: https://fil-c.org/fugc Here's the source: https://github.com/pizlonator/fil-c/blob/deluge/libpas/src/l... Phil's Concurrent Marking differs from DLG in that it only requires a…
comment by pizlonator · 2026-10-05 · in A 40ms Go garbage collector pause caused by swap -
…and Apple (Manager of the JavaScriptCore Team). He seems to be the main developer of Fil-C: https://github.com/pizlonator/fil-c although there are other contributors.
comment by zdimension · 2026-07-25 · in Fil-C: Garbage In, Memory Safety Out [video] -
Claude.md was added 8 months ago. https://github.com/pizlonator/fil-c/blob/deluge/CLAUDE.md
comment by bitbasher · 2026-06-30 · in Memory Safe Context Switching -
https://github.com/pizlonator/fil-c/blob/deluge/libpas/src/l...
comment by elitepleb · 2026-06-26 · in Gossamer: a Rust-flavoured language with real goroutines and pause-free memory -
▲ 4
Fil-C Linux/x86_64 version 0.680 Lateststory by sibellavia · 2026-06-23 · 0 comments
-
…don't mention this aspect. [0] https://www.theregister.com/2024/11/16/rusthaters_unite_filc... [1] https://github.com/pizlonator/fil-c/blob/deluge/README.md
comment by uticus · 2026-04-29 · in CJIT: C, Just in Time -
https://github.com/pizlonator/fil-c?tab=readme-ov-file#requi... says that the current implementation only targets Linux+x86_64 but that they see no reason it couldn't be portable. But you're in the wrong (sub)thread; this (sub)thread is…
comment by yjftsjthsd-h · 2025-12-16 · in Rust Coreutils 0.5.0 Release: 87.75% compatibility with GNU Coreutils -
…Fil-C[1][2], that can provide memory-safety, with no to minimum changes to the code. [1]: fil-c.org/ [2]: github.com/pizlonator/fil-c
comment by baranul · 2025-12-02 · in APT Rust requirement raises questions -
▲ 1
Fil-C Linux/x86_64 version 0.675story by danielfalbo · 2025-11-21 · 0 comments
-
…inline assembly for system calls with calls to libpizlo.so's syscall API. That links here: https://github.com/pizlonator/fil-c/blob/deluge/filc/include... Quotes from: https://fil-c.org/runtime
comment by jitl · 2025-11-03 · in Notes by djb on using Fil-C -
…part is hard, and maybe I'll describe it in another post. Look for `filc_enter` and `filc_exit` in https://github.com/pizlonator/fil-c/blob/deluge/libpas/src/l...
comment by pizlonator · 2025-09-05 · in Fil's Unbelievable Garbage Collector -
…will be the 100% memory safe C/C++ compiler, which is also implemented and works amazingly well: https://github.com/pizlonator/fil-c > It's not even possible to link to unsafe code. This makes it rather theoretical.
comment by account42 · 2025-09-01 · in What to do with C++ modules? -
…will be the 100% memory safe C/C++ compiler, which is also implemented and works amazingly well: https://github.com/pizlonator/fil-c Again—do you expect the standards committee to enforce usage of this compiler or what? The standards…
comment by throwawaty76543 · 2025-08-31 · in What to do with C++ modules? -
…will be the 100% memory safe C/C++ compiler, which is also implemented and works amazingly well: https://github.com/pizlonator/fil-c
comment by modeless · 2025-08-31 · in What to do with C++ modules? -
…not just fail the intra-object OOB test, it would also fail the "out of bounds but in bounds" case: https://github.com/pizlonator/llvm-project-deluge/blob/delug...
comment by pizlonator · 2025-07-11 · in Evaluating the Effectiveness of Memory Safety Sanitizers -
Download binaries here: https://github.com/pizlonator/llvm-project-deluge/releases Try to port it. Maybe it'll just work
comment by pizlonator · 2025-07-04 · in Introducing tmux-rs -
▲ 2
Fil-Cstory by mpweiher · 2025-06-30 · 0 comments
-
…It can compile real C projects like SQLite and OpenSSL with minimal to no changes, today. https://github.com/pizlonator/llvm-project-deluge/blob/delug...
comment by modeless · 2025-06-30 · in The provenance memory model for C -
I wonder if fil c would make most of these issues go away https://github.com/pizlonator/llvm-project-deluge
comment by leoh · 2025-06-27 · in Libxml2's "no security embargoes" policy -
> Even C/C++ can be made memory safe, cf. https://github.com/pizlonator/llvm-project-deluge > Fil-C achieves this using a combination of concurrent garbage collection and invisible capabilities (each pointer in memory has a corresponding…
comment by vlovich123 · 2025-06-26 · in Why is the Rust compiler so slow? -
…Rust code just gets shoved into Unsafe blocks anyway. Even C/C++ can be made memory safe, cf. https://github.com/pizlonator/llvm-project-deluge What I'm more interested to know is what the runtime performance tradeoff is like now; one…
comment by pixelpoet · 2025-06-26 · in Why is the Rust compiler so slow? -
…valid pointer." And sure enough, your runtime manually wraps each Linux syscall to do exactly that: https://github.com/pizlonator/llvm-project-deluge/blob/6804d... For harder cases like fcntl, where arguments can be either pointers or…
comment by comex · 2025-05-14 · in How (memory) safe is Zig? (2021) -
…(each pointer in memory has a corresponding capability, not visible to the C address space) https://github.com/pizlonator/llvm-project-deluge/tree/delug...
comment by Ygg2 · 2025-05-14 · in How (memory) safe is Zig? (2021) -
What's Fil-C? Okay, found it myself, looks cool: https://github.com/pizlonator/llvm-project-deluge/ What's yoyoland? All I can find is an amusement park in Bangkok, and some 1990s-era communication software for Classic Mac OS:…
comment by skissane · 2025-05-10 · in Comparison of C/POSIX standard library implementations for Linux -
▲ 1
The Fil-C Manifesto: Garbage In, Memory Safety Outstory by tosh · 2025-05-09 · 0 comments
-
…like a capable approach to transpile C/C++ and add a managed runtime - and without much overhead. https://github.com/pizlonator/llvm-project-deluge/blob/delug... > The uncontrolled proliferation of undefined behavior is ultimately what is…
comment by nayuki · 2025-05-07 · in Matt Godbolt sold me on Rust by showing me C++ -
…even though there should be nothing preventing it from running on other platforms. [1]: https://github.com/pizlonator/llvm-project-deluge/blob/delug...
comment by reirob · 2025-04-28 · in Ask HN: Memory-safe low level languages? -
C can be memory safe now! https://github.com/pizlonator/llvm-project-deluge Yes, this is a real project that really works. It can compile real and widely used software written in C including SQLite, OpenSSL, and CPython, giving them true…
comment by modeless · 2025-04-28 · in Ask HN: Memory-safe low level languages? -
…on improving Fil-C's stability and compatibility. Fil-C is a memory-safe implementation of C. https://github.com/pizlonator/llvm-project-deluge/blob/delug... You can try it easily on Linux/X86_64: https://github.com/pizlonator/llvm-project-…
comment by pizlonator · 2025-04-28 · in Ask HN: What are you working on? (April 2025) -
…do checked addition / bounds checked access. There are even efforts to make this the case with C: https://github.com/pizlonator/llvm-project-deluge/blob/delug... achieves a ~50% overhead, far far better than Python. And even among…
comment by achierius · 2025-04-09 · in An Overwhelmingly Negative and Demoralizing Force -
▲ 3
FilC: A memory-safe implementation of C and C++story by kmavm · 2025-03-19 · 0 comments
-
…actively working on performance optimizations for Fil-C, so that 4x number will go down." source https://github.com/pizlonator/llvm-project-deluge/blob/delug...
comment by ape4 · 2025-03-13 · in Carefully but Purposefully Oxidising Ubuntu -
This is helpful as well because it at least alludes to the data structures: https://github.com/pizlonator/llvm-project-deluge/blob/delug... One more thing: I assume the memory allocator has a somewhat efficient way to recover the pointer…
comment by fweimer · 2025-03-01 · in The need for memory safety standards -
How are the pointers implemented? See here: https://github.com/pizlonator/llvm-project-deluge/blob/delug...
comment by rurban · 2025-03-01 · in Just some of the memory safety errors caught by Fil-C -
▲ 9
Just some of the memory safety errors caught by Fil-Cstory by pizlonator · 2025-03-01 · 5 comments
-
BTW I wrote another doc to try to explain what's happening. Hope this helps. https://github.com/pizlonator/llvm-project-deluge/blob/delug...
comment by pizlonator · 2025-02-28 · in The need for memory safety standards -
▲ 1
The Fil-C Manifesto: Garbage In, Memory Safety Outstory by transpute · 2025-02-27 · 0 comments
-
Here’s a write up that goes into more detail: https://github.com/pizlonator/llvm-project-deluge/blob/delug...
comment by pizlonator · 2025-02-27 · in The need for memory safety standards -
…for each pointer. Fil-C seems to be a C variant that adds capabilities and garbage collection. See https://github.com/pizlonator/llvm-project-deluge/blob/delug...
comment by warkdarrior · 2025-02-26 · in The need for memory safety standards -
…attribute cleanup if you want to know more) and ifunc support. More info about the project here: https://github.com/pizlonator/llvm-project-deluge And a Linux/X86_64 binary release if you want to play with it:…
comment by pizlonator · 2025-02-24 · in Ask HN: What are you working on? (February 2025) -
▲ 1
Fil-C: memory-safe version of C and C++story by de_aztec · 2025-02-18 · 0 comments
-
…coming solution that promises even more memory safety is Fil-C which is being made by Epic Games. https://github.com/pizlonator/llvm-project-deluge/blob/delug...
comment by jart · 2024-12-31 · in Debugging memory corruption: who the hell writes "2" into my stack? (2016) -
▲ 4
The Fil-C Manifesto: Garbage In, Memory Safety Outstory by sibellavia · 2024-12-24 · 0 comments
-
Garbage collection handbook https://gchandbook.org/ If you want to see my latest concurrent GC, see https://github.com/pizlonator/llvm-project-deluge/blob/delug... https://github.com/pizlonator/llvm-project-deluge/blob/delug...
comment by pizlonator · 2024-12-19 · in Borrow Checking, RC, GC, and Eleven Other Memory Safety Approaches -
▲ 2
The Fil-C Manifesto: Garbage In, Memory Safety Outstory by pabs3 · 2024-11-24 · 1 comment
-
▲ 2
Fil-C: memory safe C/C++ compilerstory by indigoabstract · 2024-11-22 · 0 comments
-
…expertise required) and runtime hacking (experience with high level language runtimes required). https://github.com/pizlonator/llvm-project-deluge
comment by pizlonator · 2024-11-16 · in Ask HN: What open source projects need help?