Thread (11 messages) flat view 11 messages, 8 authors, 2016-06-15

Re: [OT] Re: C++ *for Git*

From: Nicolas Pitre <hidden>
Date: 2016-06-15 22:43:36

On Sun, 23 Sep 2007, Marco Costalba wrote:
From a Linus recent thread:
quoted
- inefficient abstracted programming models where two years down the road
 you notice that some abstraction wasn't very efficient, but now all
  your code depends on all the nice object models around it, and you
  cannot fix it without rewriting your app.

In other words, the only way to do good, efficient, and system-level and
portable C++ ends up to limit yourself to all the things that are
basically available in C. And limiting your project to C means that people
don't screw that up, and also means that you get a lot of programmers that
do actually understand low-level issues and don't screw things up with any
idiotic "object model" crap.
Perhaps I have misunderstood, but the idea I got is that for Linus OO
brings in more problems than what it tries to fix.
You must have misunderstood.  Why?  The linux kernel is itself very 
heavily "object oriented" already, even if it is written in C.  You 
don't need C++ for that.


Nicolas
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help