Flame bait: D vs. Rust vs. Go Benchmarking
rswhite4 at googlemail.com
Wed Jul 24 13:24:21 PDT 2013
On Wednesday, 24 July 2013 at 20:05:42 UTC, H. S. Teoh wrote:
> On Wed, Jul 24, 2013 at 12:54:19PM -0700, Andrei Alexandrescu
>> On 7/24/13 2:43 AM, monarch_dodra wrote:
>> >The whole of std.random is nothing but problems and pitfalls,
>> >us and our users on a regular basis :/
>> What are the other problems aside from value semantics?
> Value semantics for RNGs are a *gigantic* pitfall. Joseph
> Wakeling has pointed out some side-effects such as producing
> with bad randomness properties (e.g. first element of two RNGs
> identical, the rest not; or first element of two RNGs different
> but the
> rest identical, etc.).
> We need to get rid of value semantics for RNGs, and we need to
> get rid
> of it *now*.
We need auto ref.
More information about the Digitalmars-d