std.random suggestions

Denis Feklushkin feklushkin.denis at gmail.com
Tue Sep 16 19:12:43 UTC 2025


On Tuesday, 16 September 2025 at 19:06:27 UTC, H. S. Teoh wrote:

> If you want an API for getting random numbers from the OS, you 
> probably need to propose a new module, or at the very least a 
> new function in std.random.

Technically, proposed new template will be a new function

It just doesn't make sense to duplicate (for the third time, 
probably) code that calls getrandom


More information about the Digitalmars-d mailing list