6 ms·
As far as I'm concerned, C++ is there for legacy purposes only. There are some nice frameworks and tools using it, sure. Yes, you are required to learn it if y
by mihaigalos 4y ago
As far as I'm concerned, C++ is there for legacy purposes only.
There are some nice frameworks and tools using it, sure. Yes, you are required to learn it if you are studying CS.
Any serious new development today is done using more modern languages such as Rust (i.e.: the linkerd service mesh proxy [1] for encrypted pod communication in a k8s cluster).
As even the Linux kernel is slowly transitioning to using Rust [2],
it's only a matter of time before an inflection point is reached and it goes mainstream (if not already.)
[1] https://github.com/linkerd/linkerd2-proxy https://github.com/linkerd/linkerd2-proxy
[2] https://hackaday.com/2022/05/17/things-are-getting-rusty-in-kernel-land/ https://hackaday.com/2022/05/17/things-are-getting-rusty-in-...
- pjmlp 4y agoJust learned that LLVM, GCC, CUDA, HPC, HFT and the whole games industry aren't serious new development.
- mihaigalos 4y ago.. is it new development?
- pjmlp 4y agoI guess, unless you're into retro-gaming.
- maccard 4y agoTo be fair, parts of my work codebase are touching on 25 years old, and I work for a startup from 2020. The codebases we're building on have roots in the mid 90s, and the platforms they run on didn't support modern C++ standards for a very long time after that.
- Jensson 4y agoSo anything including "windows.h" isn't really new development then? Sounds like a strange definition. I'd say that there is a lot of new projects being started with C++, still way more than there are new projects in Rust, at least if you only count serious ones.
- xoac 4y agoI mean a lot of these things rely on copying old code. AFAIK a lot of new games in bigger studios start by essentially copying the old engine into a new tree.
- deterministic 4y agoNope. Ex. game developer here. New C++ projects and libraries are started every single day.
- Nullabillity 4y agoGCC is from the 80s, Unreal and Source are both from the 90s, and LLVM and CUDA are from the 2000s. Yeah, I'd call all of those codebases pretty old at this point.
- mihaigalos 4y ago> I guess, unless you're into retro-gaming. So new (same-)old development then?
- deleted 4y ago[deleted]
- fancyfredbot 4y agoMy impression as a CS grad is that very few computer science courses require you to learn C++.
- xigoi 4y agoI'm studying Mathematical Informatics and we have C++ as the first language.
- tempest_ 4y agoIt really depends on what bit of computer science you are learning. C++ is definitely past its prime and has been surpassed in many areas by other languages but there are still a bunch of domains where it is the primary language.
- mbrodersen 4y agoHow about almost all domains? Everything in the world runs on top of browsers/operating systems/drivers/VMs/networks/embedded systems etc. that are written in C/C++. Not to mention that the tools used to design chips and manufacture them are also written in C/C++. No other language comes even close.
- moltonel3x 4y agoHaving C or C++ somewhere in the lower levels of your stack doesn't make them the primary language for your domain. Other wise CPU microcode would be the primary language of every domain.
- ncmncm 4y agoIn fact there is plenty that can be expressed only in C++. A person making effective use of the power of the language finds anything else a huge step down. Anyone not having fun when coding C++ is doing it wrong.
- jstimpfle 4y agoExample of some well-written code that expresses things that can only be expressed in C++?
- otabdeveloper4 4y ago> Any serious new development today is done using more modern languages such as Rust Uhm, no. Sorry, thanks for playing, try again.
- femtogram 4y agorobotics is primarily c++ and python. that may change to being rust and python, but it will definitely take some time.
- deterministic 4y agoHahaha wow. There are more than 5 million C++ programmers out there. Starting new C++ projects every day. I am pretty sure more new C++ projects are started every day than Rust projects. Everything (including Rust) runs on top of browsers/operating systems/drivers/compilers/VMs written in C/C++. Rust code is like a drop in the ocean compared. Maybe in 30 years that will changed? Don’t count on it.