Re:BCHS: OpenBSD, C, httpd and SQLite web stack
by xondono on Wednesday January 19, 2022 @05:16PM
(#30001126)
I’m willing to buy that abstractions reduce complexity, but to do that they can’t be leaky abstractions. They should “just work”, and it should be easy to choose among them.
If you need to consider what’s underneath, how is that a reduction in complexity?
C++ abstractions are the opposite. You need to ponder the several options, normally tagged by their implementation details.
I'm open to both views, and most importantly to trade-off one against the other according to other constraints and context. For me, using C++ allows me to do that, because it's (mostly) a superset of C. Acknowledging, of course, that this brings a trade-off of its own, because decisions must continually made (and enforced) about what std/external libraries to use and when.