-
-
Notifications
You must be signed in to change notification settings - Fork 435
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
Tracker: 0.6 release #520
Comments
There are a couple of things I would like to see, but my time is getting a little more limited... A few things I have on my personal wish list:
New PRNGs (dhardy#60 (comment)):
It would be nice if we could make some progress with
|
I opened #522, but this actually concerns |
|
To what are you referring? |
I think it is about a comment by Vigna about PCG streams. I can see why he thought it would have problems, because Xorshift and Xoroshiro are sensitive to the choice of constants, and he put a lot of effort into finding good ones. A post on the PCG blog proved streams implemented using different increment constants are all of similar quality, but with different multiplier constants are questionable. |
Ah, so that comment was about splitting RNGs. I'm not convinced on this issue either (more with regards to utility & applicability to threading). It would be good to create a new issue on that topic for further discussion.
Again, the PRNGs we pick is not a topic to discuss in the tracking issue. We already have a couple of threads on this: dhardy#52, dhardy#60 (and related: dhardy#58, #431). If need be create yet another issue. |
I'd like to see a more thoughtful look at what the I won't propose any changes here in order to keep this discussion on track. But I'll file a separate issue on this topic. Implementation work for this is trivial if we can get agreement (big "if", obviously), so might be doable relatively quickly. Relatedly, we have a number of issues filed on the future and name of |
I opened #552 for one of the two backwards-breaking changes that I'd like to consider for |
And #553 for the other one. |
FWIW, I'd also love to rename |
At least at the moment |
According to the new milestone we're half way to 0.6, though one or two items (specifically thread-rng) may slip to later; probably we're well past half way in terms of work. |
Progress note: we have now completed the most important stuff for 0.6 (in my opinion), except for limited progress on introducing new PRNG crates, and |
@dhardy Do you have any idea when 0.6 would be available? We're currently working off master, but would like to stabilize on a release version soon if we can. Our main driver is WASM support. |
@coltfred it would be nice to have 0.6 ready soon but I can't promise anything. Possibly around the end of the month, but that still requires some effort from those involved. |
@dhardy It seems unclear to me which of the things listed here are going to be in 0.6. I'd also be happy to help in any way I can to drive this to the finish line. |
@dhardy I can give it a look this Friday if others haven't gotten to it. Thanks so much for this library! |
I started updating I just created #622 regarding PRNG documentation; this isn't critical for the 0.6 release but it would be very nice to have some help with this. |
I think we're getting close to being able to make a release! Help with the following please:
|
I published: The last three have had no recent changes and should be ready. Rand itself hopefully has code in sufficiently good shape for 0.6, but I'll wait two weeks before marking it final. In the mean-time, some documentation work is needed (see previous post). |
I added an item to the tracker: #634. Please help out! |
Can |
That flag doesn't do anything any more; it's only there to avoid breakage. Probably we'll remove it for 0.7. |
That flag doesn't do anything any more; it's only there to avoid breakage. Probably we'll remove it for 0.7. Other news: I've scheduled the 0.6 release for Wednesday. The following two PRs will be merged first: |
Existing and planned changes for 0.6 (excluding things already merged into the 0.5 series). @pitdicker do you have more to add?
Required items:
sequences
distributions
gen_ratio
Add API for getting a bool with chance of exactly 1-in-10 or 2-in-3 #491Uniform
supportBorrow
-ed arguments Make Uniform and its helper traits use arguments of type Borrow<X> #506, Fix ambiguity issues in use of Borrow<T> #509Core
u64
Convenient PRNG construction:seed_from_u64
/from_hashable
#522, Implement SeedableRng::seed_from_u64 #537PRNGs
XorShiftRng
to its own crate MoveXorShiftRng
to its own crate #557SmallRng
algorithmSmallRng
algorithm #603Documentation
Optional items:
ThreadRng
thread_rng
(algorithms) Future ofthread_rng
#463ThreadRng::new
vsthread_rng
Renamethread_rng
toThreadRng::new()
? #404std
Makethread_rng()
available withoutstd
#313 ThreadRng / EntropyRng improvements #579Seeding
seed_from_u64
/from_hashable
#522, Universal seeder #554Optimisations and extensions
IteratorRandom::choose
could usesize_hint
OptimiseIteratorRandom::choose
forsize_hint
orExactSizeIterator
#511 Implement SeedableRng::seed_from_u64 #537fill
work on derived array types ImplementFill
for derived array types #489Rng::gen
on arrays OptimiseRng::gen
on arrays? #269other
rust-random
organisation Project organisation #578ReseedingRng
Add Unix fork protection #466The text was updated successfully, but these errors were encountered: