Re:C++: "model of the hardware" vs. "model of the compiler" ...
by lmm on Monday August 04, 2025 @04:08AM
(#44783172)
Isn't that the tail wagging the dog? If you build the language to fit current compilers then it will be impossible to ever redesign those compilers.
[ Parent
| on HN ]
Re:C++: "model of the hardware" vs. "model of the compiler" ...
by gsliepen on Monday August 04, 2025 @06:50AM
(#44784115)
Why would that be impossible? Most programming languages are still Turing complete, so you can build whatever you want in them.
Re:C++: "model of the hardware" vs. "model of the compiler" ...
by lmm on Monday August 04, 2025 @07:05AM
(#44784205)
You said this was an efficiency issue, and Church-Turing says nothing about efficiency.
Re:C++: "model of the hardware" vs. "model of the compiler" ...
by gpderetta on Monday August 04, 2025 @01:37PM
(#44789038)
"Beware of the Turing tar-pit in which everything is possible but nothing of interest is easy."
- Alan Perlis, Epigrams on Programming
Re:C++: "model of the hardware" vs. "model of the compiler" ...
by rcxdude on Monday August 04, 2025 @07:51AM
(#44784577)
Maybe, but if you don't consider the existing compilers you run the risk of making something that is unimplementable in one of the existing compilers, or perhaps at all. (C++ has had some issue with this in the past, which is I think why it's explicitly a consideration in the process now)