Limitations of C++ range proposal

Gregor Mückl gregormueckl at gmx.de
Tue Sep 17 11:39:15 UTC 2019


On Monday, 16 September 2019 at 20:29:02 UTC, Ali Çehreli wrote:
> Given all those important observations about C++ that are on 
> just one subject, C++ is proof how irrational humans can be. 
> Humans continue spending immeasurable amounts of time and money 
> to stick with C++. We should see anthropological, 
> psychological, mass hysterical, whatever research on this human 
> behavior. (Stockholm syndrome has been suggested in the past.)

It's not too irrational to stick with a certain programming 
language. Is it more irrational for a team to
- continue building out an existing, working, potentially 
sprawling C++ code base or
- rewrite things in a different language entirely or
- introduce a second programming language for new features with 
corresponding interop challenges?

The reality is that there is a whole bunch of C++ code out there 
that you can't easily use from other programming languages. Some 
of the code is industry standard, a single implementation, and 
barely bindable to other compiled languages.* All this past 
investment in C++ codebases that is still paying off today  is 
what keeps people from moving on. In order to get people to 
switch away, you have to show them that they can get a larger 
payoff of some sorts by switching.

--

* A lot of published open source for professional graphics falls 
into that category.


More information about the Digitalmars-d mailing list