3 ms·
>A language that avoided it would have to be very close to C while making it only mildly more difficult to foot shoot. Says who? A language where every single
by edmccard 9y ago
>A language that avoided it would have to be very close to C while making it only mildly more difficult to foot shoot.
Says who? A language where every single memory access did NOT have the potential to be a buffer overflow would be much more difficult to foot-shoot with, even if it allowed you to sometimes access memory with raw pointers. Just having the ability, as in Rust, to mark code as either safe or unsafe goes a long way towards preventing footguns.
>Everyone who is trying is overshooting and therefore not really writing an adequate replacement low level systems language.
Using Rust as an example again, I don't think there's anything about being able to say "this code right here cannot cause memory unsafety" that precludes "low-level systems" programming.