General statistics
List of Youtube channels
Youtube commenter search
Distinguished comments
About
Toby
ThePrimeTime
comments
Comments by "Toby" (@toby9999) on "Why i think C++ is better than rust" video.
What do you mean by no build tool with C++? You mean none on Linux? MS Visual Studio does builds, and it's way better than messing around with rust in VS Code. Been using it for 25 years for building commercial C++ applications. I converted my prime sieve benchmark to rust... what an f'ing nightmare. In any case, the rust version ran 12% slower and 10x harder to write. I susoect the speed difference is due to LLVM which I've discovered is 12% slower than MSVC across a bunch of tests.
2
Pointers ARE simple and intuitive. It's a memory address. Learn assembly language basics and pointers will seem easy.
1
CMake is just a crappy open-source hack. I will never use it by choice. It has found its way into Microsoft Visual Studio as an option, but again, VS already does a way better job on its own as a C++ build system. Been a C++ developer for 22 years. The only time I've needed CMake was to import some open-source code that didn't have VS project files... and it took forever to get right. CMake is an absolute nightmare. Additionally, Microsoft Visual Studio is a much better development IDE (for C++) than what's available for Rust. I've done some Rust coding in VSCode. Not great.
1
One is not better than the other. They're just different tools that excel at different jobs.
1
@Resurr3ction "He says unsafe Rust == assembly in C++ " That's not what he said.
1