logoalt Hacker News

junonyesterday at 5:26 PM2 repliesview on HN

> Rust will also never replace C or C++ in any meaningful way

Not only do I disagree it never will, I think it's already well on its way to doing exactly that.


Replies

LexiMaxyesterday at 6:35 PM

C? Never. I feel like that ship has sailed, it's too primordial and tied to too many system ABI's to ever truly go away. I think we'll see a lot of Rust or Zig replacing certain popular C programs and libraries, but I don't think C will ever go away.

C++ on the other hand? Possibly, though I think that it's just as much because of the own-goals of the C++ standards committee as it is the successes of Rust. I don't really consider Zig a competitor in this space because if you're reaching for C++, you are reaching for a level of abstraction that Zig is unwilling to provide.

show 1 reply
cv5005yesterday at 10:22 PM

Is it? rust has to ditch llvm to be able to replace c++ - or rewrite llvm in rust.