Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> > I was looking for a replacement for C, but Rust is actually a replacement for C++. Totally different beast - powerful but complex.

> The difference between Rust and basically any other popular language is that the former has memory safety without GC†. The difference between C++ and C is that the former is a large multi-paradigm language, while the latter is a minimalist language. These are completely different axes.

Indeed. Let one axis be the simple/multi paradigm. Let the other axis be no memory management / automatic memory management without GC / GC. This divides the plane into 6. In the simple + no memory management sits C and Zig, and in the multiparadigm + memory safe without GC segment sits C++ and Rust.

> There is no corresponding popular replacement for C that's more minimalist than Rust and memory safe.

Those are some weird requirements for "being a replacement", but it is obviously true, as you picked them such.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: