r/ProgrammingLanguages • u/Athas Futhark • Feb 03 '26
Custom tuning parameters - a dubious feature
https://futhark-lang.org/blog/2026-02-03-tuning-params.html
20
Upvotes
r/ProgrammingLanguages • u/Athas Futhark • Feb 03 '26
View all comments
1
u/Inconstant_Moo 🧿 Pipefish Feb 04 '26
I have a bunch of global variables for each module beginning with
$_which can be defined like normal variables but which have default values if you don't. These can be used to set compiler options and also to pass in information about the environment the app's running in, how it was called, e.g. the arguments if it was run from the CLI, or whether we're running a test, etc.