4 ms·
> If the first priority is always memory safety, then rust should not have `unsafe` keyword. You can't have a system programming language without some unsafe
by SkiFire13 3y ago
> If the first priority is always memory safety, then rust should not have `unsafe` keyword.
You can't have a system programming language without some unsafe layer because eventually you will have to interface with either the OS or a library written in another language and that's unsafe. Even languages like Java and C# have unsafe escape hatches for situations like these.
- throwawaymaths 3y agoIt seems then rust's first priority is "being a systems programming language", with memory safety being at best second.