Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: a question about the value of checking bounds

Author: Tom Likens

Date: 11:41:26 01/21/03

Go up one level in this thread


On January 21, 2003 at 14:37:52, Dieter Buerssner wrote:

>On January 21, 2003 at 12:08:08, Uri Blass wrote:
>
>>I finished the time of my evaluation of checking bounds.
>>
>>It is expensive to buy it and before deciding if to buy it I want to know about
>>the value of the alternatives.
>>
>>How many programmers use it?
>
>I don't, at the moment. When I have time, I will build a gcc version with
>bounds checking built in. For allocated memory, libary solutions may work very
>well. For "normal" array, to me it seems, that compiler support for bounds
>checking is best. Actually, I am puzzled, that compiler vendors don't do it.
>Over ten years ago, I worked with Fortran under VMS. The DEC Fortran compiler
>had a switch (VMS-language, if I recall correctly) /DEBUG=ALL, which included
>bounds checking. With "modern" C-compilers, it seems not easily available. No
>doubt, it might have very high costs at runtime. Many programmers won't care.
>
>Regrads.
>Dieter

Unfortunately, the only downside to the gcc patch is that it doesn't
support program's written in C++.  It would be ideal if the Intel compiler
added this feature with full C/C++ support.

regards,
--tom



This page took 0 seconds to execute

Last modified: Thu, 15 Apr 21 08:11:13 -0700

Current Computer Chess Club Forums at Talkchess. This site by Sean Mintz.