News for hackers. Stuff that matters.
Re:Fil-C: A memory-safe C implementation by pizlonator on Wednesday October 29, 2025 @08:32AM (#45745990)
Just using const in C isn’t enough, since C’a const is unsound, so I ignore it.

But if you try to write to a readonly global constant then you’ll panic. And there are a handful of ways to allocate readonly data via Fil-C’s APIs.

Re:Fil-C: A memory-safe C implementation by jacquesm on Sunday November 02, 2025 @03:21PM (#45793070)
> Just using const in C isn’t enough, since C’a const is unsound, so I ignore it.

And now I have confused faces looking at me why I just laughed out loud.