logoalt Hacker News

testdelacc1yesterday at 9:20 AM1 replyview on HN

For those, like me, that didn’t know what Fil-C is:

> Fil-C is a fanatically compatible memory-safe implementation of C and C++. Lots of software compiles and runs with Fil-C with zero or minimal changes. All memory safety errors are caught as Fil-C panics. Fil-C achieves this using a combination of concurrent garbage collection and invisible capabilities (InvisiCaps). Every possibly-unsafe C and C++ operation is checked. Fil-C has no unsafe statement and only limited FFI to unsafe code.

https://fil-c.org/

The posted article has a detailed explanation of djb successfully compiling a bunch of C and C++ codebases.


Replies

commandersakiyesterday at 11:19 AM

I guess to get on board with this, it is my understanding you have to accept the premise of a Garbage Collector in the runtime?

show 3 replies