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

Initialize the random-seed at emulator start-up #19

Open
pdarragh opened this issue Aug 22, 2024 · 0 comments
Open

Initialize the random-seed at emulator start-up #19

pdarragh opened this issue Aug 22, 2024 · 0 comments
Assignees
Labels
core Issues for the core functionality enhancement New feature or request

Comments

@pdarragh
Copy link
Collaborator

In the event that any randomized function is used (e.g., within a runtime function definition), it would probably be preferable for the randomization to be repeatable. Either standardize the seed at startup or else allow an argument to be passed to, e.g., asm-emulate to set the random seed (or just a toggle that will set the seed).

The standardized seed could be something based on the instructions, e.g., a hash of the formatted string of all the instructions or something. Or it could just be a fun integer.

@pdarragh pdarragh added enhancement New feature or request core Issues for the core functionality labels Aug 22, 2024
@pdarragh pdarragh self-assigned this Aug 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
core Issues for the core functionality enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant