Why is D unpopular?
Paulo Pinto
pjmlp at progtools.org
Wed May 25 20:05:56 UTC 2022
On Wednesday, 25 May 2022 at 19:37:19 UTC, H. S. Teoh wrote:
> On Wed, May 25, 2022 at 07:25:43PM +0000, Adam D Ruppe via
> Digitalmars-d wrote:
>> On Wednesday, 25 May 2022 at 16:17:06 UTC, Siarhei Siamashka
>> wrote:
> [...]
>
> FWIW, after the first year or so of using D, I stopped using
> -release. These days, I just use `ldc2 -O2` which gives me
> better performance than any silly bounds-check-removing
> nonsense like -release. We're not living in the 70's anymore;
> the few nanoseconds you save by skipping a lousy bounds check
> is just not worth the nightmare of a buffer overflow exploit on
> a customer production environment.
>
>
> T
Even in the 60's leaving out bounds checking was considered a
dumb idea, naturally the C school of thought took another path.
> Many years later we asked our customers whether they wished us
> to provide an option to switch off these checks in the
> interests of efficiency on production runs. Unanimously, they
> urged us not to--they already knew how frequently subscript
> errors occur on production runs where failure to detect them
> could be disastrous. I note with fear and horror that even in
> 1980, language designers and users have not learned this
> lesson. In any respectable branch of engineering, failure to
> observe such elementary precautions would have long been
> against the law.
C.A.R Hoare on his 1980 Turing award speech.
More information about the Digitalmars-d
mailing list