Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
Fil-C a memory-safe version of C and C++ (github.com/pizlonator)
6 points by elromulous on Nov 16, 2024 | hide | past | favorite | 1 comment


From The Register, with more comments by Filip ("Phil") Pizlo (the author): https://www.theregister.com/2024/11/16/rusthaters_unite_filc....

Other memory safe implementations for C and C++ mentioned/proposed are TrapC (https://vimeo.com/1028578347) and Safe C++ (https://safecpp.org/draft.html).

Fil-C adds capabilities and garbage, though it mentions performace costs of 1.5x - 5x. I would think the capabilties aspect of this language extension would be better addressed by hardware proposals (like CHERI) to prevent adding too much overhead to systems that are performance-critical.

Edit: It also looks like the author could use help porting C programs to Fil-C, see https://news.ycombinator.com/item?id=42158296.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: