3 ms·
Speaker asks: "What can and should replace it?" (i.e. if you started a new project today, what language should you pick instead of C, because C would be the wro
by andsoitis 4y ago
Speaker asks: "What can and should replace it?" (i.e. if you started a new project today, what language should you pick instead of C, because C would be the wrong choice).
He goes on to list the following options (and says C++ does not count), but we'll only know far in the future which would have been the right pick:
- Rust
- Go
- Zig
- V
- Nim
- Swift
- ...
- pjmlp 4y agoThe problem with C++, is that while it offers the language features to write safer code than C, it is also copy-paste compatible with C (most of it anyway). So while a security conscious group can write C++ code that takes advantage of those features, other group can basically compile C++ code that is hardly any different from C. So it is a better option than raw C, if it is the only viable alternative (like in HPC), but for security conscious scenarios one of the others is a better answer, if available.
- timbit42 4y agoNone of them are the wrong pick. They're all better than C.