Blogs / Company blogs

Fil-C

fil-c.org

Welcome to Fil-C, an actively supported memory safe implementation of the C and C++ programming languages you already know and love.

Popular posts
6
Total points
1,596
HN comments
576
Rank
#804 company

Visit fil-c.org → On Hacker News Sep 2025 – Jun 2026

Systems & Performance 6Security & Privacy 4Software Engineering 2

1

Fil's Unbelievable Garbage Collector

Fil-C uses a parallel concurrent on-the-fly grey-stack Dijkstra accurate non-moving garbage collector called FUGC (Fil's Unbelievable Garbage Collector). You can find the source code for the collector itself in fugc.c , though be warned, that code cannot possibly work without lots of support logic in the rest of the…

3

Memory Safe Context Switching

This document describes how Fil-C supports longjmp , setjmp , setcontext , getcontext , makecontext , and swapcontext in a totally memory-safe way. In particular, no misuse of those APIs in Fil-C can lead to stack corruption or any other violation of Fil-C's capability model.

5

The Fil-C Optimized Calling Convention

Fil-C achieves memory safety even for programs that behave adversarially. That includes casting function pointers to the wrong signature and then calling them, exporting a function with one signature in one module and then importing it with a different signature in another, or even exporting a symbol as a function in…