callyral, 1 year ago (notice: I am not a Rust or C/C++ expert) Doing all that is creating a completely separate programming language from C. Rust is that programming language. Fix shitty imports Rust does that with modules and crates. Improve syntax rule You mean having consistent/universal style guidelines? Rust pretty much has that with rustfmt. Improve memory management Safe Rust is memory safe (using things like the borrow checker), and Unsafe Rust is (usually?) separated using the unsafe keyword. Although Unsafe Rust seems to be quite a mess, idk haven’t tried it Other new misc features Rust has macros, iterators, lambdas, etc. C doesn’t have those. C++ probably has those but in a really weird C++ way.
(notice: I am not a Rust or C/C++ expert)
Doing all that is creating a completely separate programming language from C. Rust is that programming language.
Fix shitty imports
Rust does that with modules and crates.
Improve syntax rule
You mean having consistent/universal style guidelines? Rust pretty much has that with rustfmt.
Improve memory management
Safe Rust is memory safe (using things like the borrow checker), and Unsafe Rust is (usually?) separated using the unsafe keyword.
unsafe
Although Unsafe Rust seems to be quite a mess, idk haven’t tried it
Other new misc features
Rust has macros, iterators, lambdas, etc. C doesn’t have those. C++ probably has those but in a really weird C++ way.