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

API: Random #91

Open
aatxe opened this issue Feb 26, 2025 · 1 comment
Open

API: Random #91

aatxe opened this issue Feb 26, 2025 · 1 comment
Labels
bikeshed Debating the best name or API for something. enhancement New feature or request runtime Work in the C++ runtime portion of the code std Work in the Luau standard library portion of the code

Comments

@aatxe
Copy link
Owner

aatxe commented Feb 26, 2025

Lute should consider including a random API that is more featureful than just math.random. Might be reasonable to just wrap math.random or might be reasonable to introduce a Lute-specific random primitive. Not entirely sure whether this belongs in batteries or std.

@aatxe aatxe added bikeshed Debating the best name or API for something. enhancement New feature or request labels Feb 26, 2025
@aatxe aatxe changed the title A more full-fledged random API. API: Random Feb 26, 2025
@aatxe aatxe added the std Work in the Luau standard library portion of the code label Mar 19, 2025
@aatxe
Copy link
Owner Author

aatxe commented Mar 19, 2025

I think I'm inclined to say std is a better home for this for now in that I expect it will likely want a bit more random stuff exposes from the runtime as well to support it.

@aatxe aatxe added the runtime Work in the C++ runtime portion of the code label Mar 19, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bikeshed Debating the best name or API for something. enhancement New feature or request runtime Work in the C++ runtime portion of the code std Work in the Luau standard library portion of the code
Projects
None yet
Development

No branches or pull requests

1 participant