You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It would be cool to have compile-time variant of the current macros and functions providing random values at runtime. This should not be a complicated or particularly high entropy random generator, but could f.e. read out the needed bytes from /dev/random (on Unix) and insert them with the requested type in the code.
It would be cool to have compile-time variant of the current macros and functions providing random values at runtime. This should not be a complicated or particularly high entropy random generator, but could f.e. read out the needed bytes from
/dev/random
(on Unix) and insert them with the requested type in the code.Example syntax:
It could also be a function/macro (https://c3-lang.org/misc-advanced/builtins/), accepting ranges, types and/or length (amount bytes - usefull for array maybe?).
An alternative is using
$exec()
of course.The text was updated successfully, but these errors were encountered: