Re:CppCon 2018: Simplicity: Not Just For Beginners [video]
by blub on Saturday September 29, 2018 @02:04AM
(#18098952)
Normies don't have many choices for low-level development.
It's nigh impossible to write correct C and keep it thay way over the project's lifetime, C++ is too complex and so is Rust.
I think that's why Go is so attractive, it really is reasonably simple to wrap one's head around.
Re:CppCon 2018: Simplicity: Not Just For Beginners [video]
by dataangel on Saturday September 29, 2018 @01:03PM
(#18101452)
In Rust the compiler tells you if you are doing it wrong. I see lots of complaints about this "complexity" but it's always identifying actual problems. It's also an order of magnitude less complex than C++.
Re:CppCon 2018: Simplicity: Not Just For Beginners [video]
by tormeh on Saturday September 29, 2018 @08:06PM
(#18103758)
Yeah but that's because Rust is at the same low abstraction level as C++. So you have the same challenges in both, it's just that in Rust the gun refuses to fire when you point it at your foot.
There are hidden costs to technology choices. I work with a smart guy(also a C++ zealot) who loves CMake and constantly evangelizes it. CMake seems great but the problem is that it's yet another language/system which people need to learn to be productive in our environment. GNU Make has its problems, but I can also scoop up a dev off the street and there's a 90% chance they've had experience with GNU Make and can immediately understand what's going on. Now I'm not saying CMake sucks, it's got a lot of great features, but by using it you gave up something without possibly even knowing that you did. Simplicity is a feature. Banality is a feature. Unless you're getting something good in return, don't sacrifice them.