Skip to content
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

Open
bjoernd opened this issue Aug 29, 2020 · 5 comments
Open

[Feature] Random Number Generation #83

bjoernd opened this issue Aug 29, 2020 · 5 comments
Labels
feature New feature or request good first issue Good for newcomers Priority: 4 Nice-to-have feature

Comments

@bjoernd
Copy link
Contributor

bjoernd commented Aug 29, 2020

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.

@bjoernd bjoernd added the feature New feature or request label Aug 29, 2020
@bjoernd bjoernd added the good first issue Good for newcomers label Aug 29, 2020
@nmanthey
Copy link
Contributor

nmanthey commented Aug 30, 2020 via email

@bjoernd
Copy link
Contributor Author

bjoernd commented Aug 30, 2020 via email

@wipawel
Copy link
Contributor

wipawel commented Aug 30, 2020

For x86 we can employ RDSEED and RDRAND instructions for the PRNG.

@82marbag 82marbag self-assigned this Sep 14, 2020
@nmanthey
Copy link
Contributor

I implemented a simple one, which should work for basic, test-like, work loads.

@bjoernd
Copy link
Contributor Author

bjoernd commented Sep 30, 2020

RNG implemented via #101

We might still want to use hardware random number generation later.

@wipawel wipawel added the Priority: 3 Regular feature label Oct 3, 2020
@wipawel 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
feature New feature or request good first issue Good for newcomers Priority: 4 Nice-to-have feature
Projects
None yet
Development

No branches or pull requests

4 participants