3 ms·
> a case for a subset of C++ Do elaborate. I come from the same background and I've been contemplating forking C for several years now. What you said sounds al
by huhtenberg 14y ago
> a case for a subset of C++
Do elaborate. I come from the same background and I've been contemplating forking C for several years now. What you said sounds all too familiar to my own reasoning, so I'd be very curious to know what you have in mind. In broad strokes.
- jitl 14y agoTake a look at the C++ coding standards adopted for high-reliability areas. For example, the coding standards for the Joint Strike Fighter: http://www.stroustrup.com/JSF-AV-rules.pdf http://www.stroustrup.com/JSF-AV-rules.pdf
- kabdib 14y agoThose were mostly good (a little bit of crazy, but not much). The Google guidelines are okay for non-kernel work. I've worked on three teams that have independently converged on very similar guidelines (at Apple, a start-up, and a group in Microsoft). I find that convergence quite interesting.
- vvhn 14y agoa restricted subset of c++ (embedded c++) is exactly what is used to write drivers for Mac OS X. http://en.wikipedia.org/wiki/I/O_Kit http://en.wikipedia.org/wiki/I/O_Kit The kernel itself is in C though.