top | item 41868688

(no title)

tupshin | 1 year ago

Rust is not (much?) further from the hardware than C++

discuss

order

umanwizard|1 year ago

C++ is further than rust in my opinion. Vtables that support inheritance, as well as stack unwinding for exceptions, are pretty complicated and totally implicit in C++. Okay rust also technically has unwinding for panics to be fair but it’s rather unusual in practice for programmers to use panics to mean anything other than “crash the program now”.

pjmlp|1 year ago

Like trait implementations, and trait objects.