logoalt Hacker News

duskwufftoday at 5:06 AM1 replyview on HN

> Aside from memory safety, which is solved by using a compiler that just doesn't allow unsafe memory operations

I don't see how that's possible without turning the language into something that isn't C, either by adding significant new functionality (e.g. fat pointers) or subtracting enough functionality that it's a much less capable language (e.g. disallowing dynamic memory allocation).


Replies

hellcowtoday at 5:27 AM

Behold: https://fil-c.org/

An important improvement over rust is that "Fil-C has no unsafe statement."

show 1 reply