← Back to context

Comment by rbanffy

12 hours ago

I didn't say "make no mistakes". I said "using its features unwisely". If you can't write software that manages shared mutable state, then don't do it. The world still needs lots of simpler programs.

Why can't simpler programs be written in languages that at least make an attempt to be memory-safe?

In this case the features are things like "allocating memory on the heap" and "incrementing a pointer."

It isn't like C has some "there be dragons" set of features that are hard to use. The source of exploitable memory safety issues is consistently just foundational language features.