-
Notifications
You must be signed in to change notification settings - Fork 432
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Separate rand_thread crate? #716
Comments
I'm also not convinced by the arguments for this separation. A better way forward might be to reduce the code in the |
I believe |
Two "votes" against this, one for. I would appreciate more users commenting on this. |
My feeling is that threadrng is actually a wrapper and that it is more of a
building block (much like the traits are) rather than an Rng in its own
right.
Against, but could be persuaded otherwise.
…On Mon, Jan 28, 2019, 19:12 Diggory Hardy ***@***.*** wrote:
Two "votes" against this, one for. I would appreciate more users
commenting on this.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#716 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AApc0jwtmcg8eWwTu-lAX_UC_hFmbaowks5vHy9ngaJpZM4aVzl7>
.
|
I think you misunderstand something, essentially |
Another alternative might be:
I've forgotten any discussion around At this point, we'd have roughly this breakdown:
|
Interesting @burdges. It might be worth coming back to this idea once we have a fully-functional |
Sounds like we're mostly in agreement to keep |
Synopsis: create a new
rand_thread
crate to houseThreadRng
and makerand
depend on that.Motivation:
rand
changes slow down and simplify the API before making new versions? #704Reasons not to do this:
rand
—rand_pcg
(which might be removed fromrand
anyway) and possiblyautocfg
rand
anyway (or roll their own code which is easy to get wrong with bias and off-by-one errors and would miss our various specialisations and optimisations)To be clear: my personal opinion is that we don't need this.
The text was updated successfully, but these errors were encountered: