Hacker GitHub

← All repos

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

Mentions per year 69 mentions · busiest year 2025 (36)
20082026
  1. …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...
  2. ▲ 3
    Fil-PHP
    story by SSLy · 2026-10-21 · 0 comments
  3. …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…
  4. …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]
  5. 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
  6. https://github.com/pizlonator/fil-c/blob/deluge/libpas/src/l...
  7. ▲ 4
    Fil-C Linux/x86_64 version 0.680 Latest
    story by sibellavia · 2026-06-23 · 0 comments
  8. …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
  9. 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…
  10. …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
  11. ▲ 1
    Fil-C Linux/x86_64 version 0.675
    story by danielfalbo · 2025-11-21 · 0 comments
  12. …Haha. Fil-c appears to already compile libxml2[1] so I wonder how far off libxslt would be? [1] https://github.com/pizlonator/fil-c/tree/deluge/projects/lib...
    comment by verytrivial · 2025-11-10 · in XSLT RIP
  13. …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
  14. …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
  15. …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?
  16. …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?
  17. …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?
  18. …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...
  19. 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
  20. ▲ 2
    Fil-C
    story by mpweiher · 2025-06-30 · 0 comments
  21. …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
  22. I wonder if fil c would make most of these issues go away https://github.com/pizlonator/llvm-project-deluge
  23. > 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?
  24. …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?
  25. …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)
  26. …(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)
  27. 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:…
  28. ▲ 1
    The Fil-C Manifesto: Garbage In, Memory Safety Out
    story by tosh · 2025-05-09 · 0 comments
  29. …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…
  30. …even though there should be nothing preventing it from running on other platforms. [1]: https://github.com/pizlonator/llvm-project-deluge/blob/delug...
  31. 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?
  32. …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)
  33. …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…
  34. ▲ 3
    FilC: A memory-safe implementation of C and C++
    story by kmavm · 2025-03-19 · 0 comments
  35. …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...
  36. 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
  37. How are the pointers implemented? See here: https://github.com/pizlonator/llvm-project-deluge/blob/delug...
  38. ▲ 9
    Just some of the memory safety errors caught by Fil-C
    story by pizlonator · 2025-03-01 · 5 comments
  39. 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
  40. ▲ 1
    The Fil-C Manifesto: Garbage In, Memory Safety Out
    story by transpute · 2025-02-27 · 0 comments
  41. 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
  42. …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
  43. …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:…
  44. ▲ 1
    Fil-C: memory-safe version of C and C++
    story by de_aztec · 2025-02-18 · 0 comments
  45. …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...
  46. ▲ 4
    The Fil-C Manifesto: Garbage In, Memory Safety Out
    story by sibellavia · 2024-12-24 · 0 comments
  47. 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...
  48. ▲ 2
    The Fil-C Manifesto: Garbage In, Memory Safety Out
    story by pabs3 · 2024-11-24 · 1 comment
  49. ▲ 2
    Fil-C: memory safe C/C++ compiler
    story by indigoabstract · 2024-11-22 · 0 comments
  50. …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?