>>511962611
There are almost no programming languages that are "memory safe". C is about as low level as you can get before you're are coding assembly. There are almost no protections stopping you from directly manipulating any memory address; including addresses of other programs. Memory safety has to be handled by the operating system.
The only memory safe programming languages I know of are Ada (created for US military decades ago), and Rust (modern, trannies and soibois use it).