Re:Goals and Priorities for C++
by twoquestions on Friday May 22, 2020 @08:42AM
(#23271417)
> I actually enjoy working in modern C++ much more than I did in Java
What do you like about working in C++ more than Java?
Generally, I hear from people working in C++ that it's the only tool for their job, and only use it because no other tool measures up (in a despairing tone). If you don't mind my asking, what do you use it for?
Re:Goals and Priorities for C++
by neutronicus on Friday May 22, 2020 @10:04AM
(#23272154)
I am not the person you're replying to, but in my experience / opinion if you want to do distributed high-performance numerical computing, executing on heterogeneous hardware, C++ is really far and away the best language to get this done. If you're CPU-only, maybe Fortran is a better option but when GPUs enter the mix I don't see how you're going to have an easier time getting the requisite performance with anything else.
I mean, like, you can interface with TensorFlow via Python but the big-kid parts of the implementation are in C++ / CUDA.
http://blog.plover.com/prog/Java.html
I feel great joy coding C++, more than any other language. C++ is built to be used. Every part of it was put in to solve real problems, and they do. I can write thousands of lines of code, and when it finally builds, the program works first time.
Re:Goals and Priorities for C++
by cmrdporcupine on Friday May 22, 2020 @09:01AM
(#23271548)
More systems level stuff than you'd ever use Java for. Google/Nest hardware devices (display assistant devices, other stuff).
I actually enjoy working in modern C++ much more than I did in Java, which I did professionally for almost 10 years before this.
I like the idea of Rust, and followed it since the earliest days when Graydon proposed it. I like the syntax and the tooling. But every time I begin a project in it, the cognitive overhead of the memory safety features just throws me a loop. I have no doubt if I were to dig into a large and established code base using it it would click within a few days, but starting on my own... I lose focus quickly.
I do like Zig, though. It is a very nice C++ alternative.