realbasic-nug
[Top] [All Lists]

Re: random seed generator?

To: realbasic-nug at lists dot realsoftware dot com
Subject: Re: random seed generator?
From: "Craig A. Finseth" <fin at finseth dot com>
Date: Wed, 29 Nov 2006 19:36:18 -0600 (CST)
Cc: realbasic-nug at lists dot realsoftware dot com
Delivered-to: listarchive at realsoftware dot com
Delivered-to: realbasic-nug at lists dot realsoftware dot com
References: <20061129224419 dot B87096AA7C9 at mail dot verex dot com> <0B55017F-E0FC-4F17-9A1C-DC682BADCF6C at comcast dot net> <1824 dot 192 dot 168 dot 2 dot 145 dot 1164842597 dot squirrel at ego>
        ...
   I imagine that the case is similar to PHP, where they moved to a self
   seeding model later, but kept the manual seed function to avoid breaking
   older applications and to allow you room to experiment.
        ...

Self-seeding is good because it's hard to come up with a quick and
easy seed (time, process ID, and that ilk aren't the best).

Having an explicit seed is important when debugging so that you can
get reproducability!

Craig
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>


<Prev in Thread] Current Thread [Next in Thread>