> Sure, we can do those things in C, but they are easier and faster to do in Rust
...I don't know what to say to this except "no?".
I'd have to question what priors someone making that claim is bringing and where they got them from.
> The only language that comes close, AFAICT, is python.
With well over a decade in Python experience and having regularly defended it against many claims of unsuitability for many tasks, I have to call BS on this and say that no, that is not even remotely correct. Of all the possible use cases where Python is an easily dismissed but very defensible choice this is NOT one of them.
> easier and faster to do in Rust, and safer, largely because of Rust's enums (algebraic data types, not as simplistic as C's)
Python enums are largely equivalent to C enums, except you can use string constants as values. Otherwise there's little ergonomic difference.
> and traits
Python Protocols (less anything that came before) aren't even remotely comparable to Rust traits. And neither affords any major advantage to red team style development.
And while memory safety is great for mission critical pieces of a larger system, and language ergonomics are essential for readable and maintainable code, I don't know what either of these possibly has to do with writing exploits.
> shellcode, a web server, and a phishing page in
Python would at least be a better choice than Rust for all of these, but so would have been Perl 20 years ago.