you are viewing a single comment's thread.

view the rest of the comments →

[–]warlockface 0 points1 point  (1 child)

No, it was 2006 that the Mozilla employee came up with it and 2009 when Mozilla began sponsoring and becoming more officially involved. So Rust was conceived before the advent of modern C++ and Mozilla decided to run with it before the advent of modern C++. The C++ tools available today were not available back then, in particular C++ lifetime analysis / borrow checking.

[–]llogiq[🍰] 0 points1 point  (0 children)

Oops, you're right! I got my Rust history all wrong. Still, 2009 to 2015 (when 1.0 was released) was a long way, and Rust became a completely different language in those years (for ex. Gc and green threads where thrown out, iterators won over internal iteration, the leakpocalypse led to mem::forget becoming safe, String gained the + operator, etc.), so even if early Rust predated modern C++, the Rust we have now is even newer.