Comments by "MrAbrazildo" (@MrAbrazildo) on "Rust is not a faster horse" video.
-
1:49, even when I used to code in C it didn't crash all the time. But C++ is the right solution. There are so many possible abstractions tools to develop using it, that you can fight back the dangerous from C. The major issue is still the pletora of UBs.
4:18, C++ allows to std::move a variable, but you have to do it explicitly (by copy is default). And if you use the moved 1, the app becomes unstable. Fortunately, there are external tools that catch this kind of bug.
8:00, D has an optional GC, while C/C++ rely on external tools to solve this. The memory issue is kind of solved nowadays.
9:50, this is as old as C, as reference is implemented as a pointer. It should not even be in your list.
10:00, does C has now templates? It really needs it. But I guess you are thinking about C++. Templates are safer than macros, but also less powerful. What Rust innovated was hygienic macros: a bit less powerful than C/C++, but more safe. 10:09, C++ has template metaprogramming which is pretty nice. The compiler follows you, saying "Hey, you mistook here". At least in C++ is safe. C still depends on macros.
11:04, no classes == no clothes.
1