Sep 16, 2023, 07:53 PM
I asked myself the question " Does rust compete with c++ ? ". I hear more and more that "rust is better than c++" is it true ? What do you think ?
|
rust or c++ ?
by No1can - Saturday September 16, 2023 at 07:53 PM
|
|
Sep 16, 2023, 07:53 PM
I asked myself the question " Does rust compete with c++ ? ". I hear more and more that "rust is better than c++" is it true ? What do you think ?
Sep 16, 2023, 08:39 PM
Rust uses LLVM as backend.
LLVM is the best compiler on World. The problem on C++ and C is its not standardized. There are many C++ libraries on github. Some works on MS Visual Studio some work on GNU compiler. And it makes so much problem for cross platform development Also on C++ its not to write memory safe apps. Well maybe you can be very expert programmer and you can write C++ carefully. But all developers in these days require external frameworks. And for security its big concern to use external libraries directly to use on your software. So these kinds of problems fixed on Rust. Its better to use modern technologies then old ones....
Sep 16, 2023, 08:44 PM
C++ is better of course, C better than both.
This forum account is currently banned. Ban Length: Permanent (N/A Remaining)
Ban Reason: Attempted Scamming | https://breachforums.rs/Forum-Ban-Appeals if you feel this is incorrect.
Sep 17, 2023, 06:44 AM
Okay thanks !
Sep 17, 2023, 09:05 AM
C++ is better.
(Sep 16, 2023, 08:39 PM)eix333 Wrote: Rust uses LLVM as backend. This is all wrong. LLVM is a compiler toolchain, and compilers that use it as front or backend (Clang between them) are not much more remarkable than others, and you have compilers built around LLVM for all the languages you mentioned. The claims about C and C++ not being standardized are false as well, both of them have a modern standard (C17 and C++20). Compiler-specific code is rare, since all compilers must adhere to the standards, and even the existing one can be ported easily. The memory safety concern is valid, and is one of the best features of Rust, but is still not enough to consider it better. And the whole thing about "external frameworks" is bullshit, every single general purpose language has loads of external frameworks and libraries, programming as a field is so huge that it makes no sense for the developers of a language to try and develop libraries for all use cases, which are close to infinite.
Sep 18, 2023, 10:31 PM
Rust, so you don't need to bother about memoty management / memory leaks!
Sep 21, 2023, 03:30 PM
(Sep 17, 2023, 03:35 PM)Kyrie Wrote:(Sep 16, 2023, 08:39 PM)eix333 Wrote: Rust uses LLVM as backend. Okay but finally, learn Rust or C++, which of this 2 languages is the most effiancy ? (Sep 21, 2023, 03:30 PM)No1can Wrote:(Sep 17, 2023, 03:35 PM)Kyrie Wrote:(Sep 16, 2023, 08:39 PM)eix333 Wrote: Rust uses LLVM as backend. Whichever you prefer, both are great. I'd go with C++ just because it is more common.
Oct 11, 2023, 03:43 PM
I know both. If you know what you're doing, I'd say C++ over Rust.
|
|
« Next Oldest | Next Newest »
|
| Possibly Related Threads… | |||||
| Thread | Author | Replies | Views | Last Post | |
| infutor db | 0 | 76 |
6 hours ago Last Post: backstreetbo |
||
| How do I actually get credits. | 15 | 754 |
Today, 12:18 AM Last Post: phas3lock |
||
| Instagram Spyware Level: EXTREMELY HIGH | 269 | 19,384 |
Apr 25, 2026, 08:04 AM Last Post: MRburpsuiteswigger |
||
| Discord Spyware | 155 | 12,147 |
Feb 10, 2026, 05:13 PM Last Post: Mowgli750199 |
||
| Cisco 700-846 Certification: Validate Expertise in Cisco IoT Architecture and Solutio | 0 | 91 |
Feb 10, 2026, 04:38 PM Last Post: hemiflygarry122 |
||