by layer8 · 4y ago · 0 comments
Even in C++ the generics are a later addition, Stroustrup's early 1980s language doesn't have generic types, templates were a proposal added to what would become the C++ 98 standard and the Standard Template Library presents generic types for containers in C++ years after the C++ language was first popularized.
You have to have type safety to have memory safety and that was the whole point of Rust.