OSNews article about C++09 degenerates into C++ vs. D discussion

Steve Horne stephenwantshornenospam100 at aol.com
Fri Nov 24 21:19:57 PST 2006


On Mon, 20 Nov 2006 11:35:03 -0800, Walter Bright
<newshound at digitalmars.com> wrote:

>The reason for this is not so obvious. It isn't "random" with a 1/2^32 
>probability, that integers (and other types) contain random values with 
>an even distribution. They don't. The overwhelming majority of ints have 
>values that are between -100 and +100. The most common value is 0. Those 
>values are nowhere near where the gc pools are located.

It's also worth bearing in mind that most random-looking data doesn't
hang around in current objects too long. For example, if you're doing
encryption or compression, you're probably streaming that data in/out
of a file or socket or whatever.

-- 
Remove 'wants' and 'nospam' from e-mail.



More information about the Digitalmars-d mailing list