On Saturday, 30 April 2022 at 07:07:31 UTC, Tobias Pankrath wrote:
>On Saturday, 30 April 2022 at 06:30:46 UTC, Ola Fosheim Grøstad wrote:
>On Friday, 29 April 2022 at 20:17:38 UTC, Walter Bright wrote:
>I've seen endless lists of features people wanted to add to C and C++. None of them were CTFE. When we added it to D, people were excited and surprised.
Not if they had a decent CS background, it is a well known strategy for speeding up programs. Wikipedia also points out a working C++ prototype from 2003, so I doubt they needed outside influence to move in that direction.
Sometimes a good idea from academia needs a practical example (D in this case) to show its usefulness before I sees widespread adoption. That doesn't mean that it was invented by D, or that there is no prior art.
Those pratical examples precede D's existence by decades, and what you are mentioning is not what Walter asserts, rather that it was D that brought it to the world.
As if all those people doing CS research in programming languages needed D's existence to notice what is know in academia for decades.