News for hackers. Stuff that matters.
Re:Embracing Modern C++ Safely, Book Review by blinkingled on Monday May 30, 2022 @01:41PM (#31561496)
Is any new code being written in C++? Apart from adding to existing C++ based projects like Chromium and maybe supporting legacy trading/financial services code bases what else is C++ being used for where all the modern new features would be helpful?

I haven't seen any job postings needing C++ lately but I am sure some niche jobs exist.

Feels like instead of learning the complexities of modern c++ people might just be better off using Rust or any of the other safer programming languages for new projects.

Re:Embracing Modern C++ Safely, Book Review by roxaaaane on Monday May 30, 2022 @01:53PM (#31561627)
There are 80,000 jobs mentioning or requiring C++ and 4000 mentioning or requiring Rust. I understand more "modern" startups will tend to pick Rust but saying you "haven't seen jobs needing C++" is a plain lie. source:indeed.com
Re:Embracing Modern C++ Safely, Book Review by throw_m239339 on Monday May 30, 2022 @08:45PM (#31565094)
> Is any new code being written in C++? Apart from adding to existing C++ based projects like Chromium and maybe supporting legacy trading/financial services code bases what else is C++ being used for where all the modern new features would be helpful?

All Adobe products heavily use C++, Most Digital Audio Workstations heavily use C++, All 3D authoring software heavily use C++, Most new core Blender code is now C++ instead of C. Of Course, most game engines are C++ based as well. So this is just the consumer space.

There are domains where there is simply no alternative to C++ in terms of features and speed. Rust maybe, but I don't know enough about Rust to formulate an opinion. No need to say that C++ is absolutely here to stay.

Re:Embracing Modern C++ Safely, Book Review by oncewas on Tuesday May 31, 2022 @08:19AM (#31568674)
I think what's hard for people to realize is, people who like rust usually aren't saying "is rust going to replace it"? Like cheesey blogs by hype artists say crap like that, but really having both is obviously beneficial to the programming community.
Re:Embracing Modern C++ Safely, Book Review by pjmlp on Tuesday May 31, 2022 @08:19AM (#31568675)
Rust itself depends on C++, unless the canonical implementation moves away from LLVM and GCC, both written in C++ currently.