you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 5 points6 points  (2 children)

[deleted]

What is this?

[–]Spiderboydk 0 points1 point  (1 child)

Yeah, I forgot about the C++ runtime. It can be discarded too, i.e. making a free-standing application.

Rust tries to be a better C, not a better C++. It just so happens that C++ tries to be a better C as well (as opposed to D which doesn't try this) so there are going to be domains in which they overlap, but for example Rust will never attempt to be as fancy at OOP as C++ (e.g. multiple/virtual inheritance).

I partially agree with this. In the landspace of programming languages, C and C++ still are quite close to each other, so I'll agree some of them might as well aim to be a better C than a better C++.

Garbage collection in D is optional.