Re:Systems Programming in C# by Joe Duffy
by pjmlp on Sunday June 19, 2016 @02:00AM
(#11931972)
In the 90's C programmers used to state that C++ wasn't a systems programming language, now their main FOSS compilers are written in C++.
[ Parent
| on HN ]
Re:Systems Programming in C# by Joe Duffy
by nickpsecurity on Sunday June 19, 2016 @06:22AM
(#11932466)
On top of that, even some L4 microkernels are written in C++. So, efficient that they fit into a L1 cache as they run ulta-fast. I keep trying to get people to not use C++ for these but funny it's almost a trend now.
> I keep trying to get people to not use C++ for these but funny it's almost a trend now.
I can understand why L4 choose C++ at the time, as it had stricter checking than C, but OS kernels have very little internal code reuse that necessitates inheritance or templates. This is doubly true of microkernels. There is literally no reason to use C++ in this domain. Ada or C, and soon Rust should be the only considerations IMO.
Re:Systems Programming in C# by Joe Duffy
by nickpsecurity on Sunday June 19, 2016 @09:16AM
(#11932864)
Total agreement. :)
Arguably C++ in the 90s is a different beast than C++11 and later.