-
Notifications
You must be signed in to change notification settings - Fork 20
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
[Feature] Random Number Generation #83
Labels
Comments
Does the PRNG need to be fast, statistically robust, thread safe?
|
It should just magically work!
We might even have multiple variants (selected at compile time?).
My use case is: I want to seed the RNG and be able to reproduce the
sequence of random numbers (that's why I need a PRNG rather than real
randomness). I will likely not use it concurrently.
… |
For x86 we can employ RDSEED and RDRAND instructions for the PRNG. |
Merged
I implemented a simple one, which should work for basic, test-like, work loads. |
RNG implemented via #101 We might still want to use hardware random number generation later. |
wipawel
added
Priority: 4
Nice-to-have feature
and removed
Priority: 3
Regular feature
labels
Sep 8, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Is your feature request related to a problem? Please describe.
I want to create random numbers.
Describe the solution you'd like
Add a PRNG and
random
/srand
functions to KTF.Additional context
We may want configurable selection of PRNG or a real RNG depending on use case.
The text was updated successfully, but these errors were encountered: