3 ms·
Lol, this seems pretty accurate. I implemented a simulation framework once, where the core simulation process took in all parameters as command line options. A
by sgtnoodle 6y ago
Lol, this seems pretty accurate.
I implemented a simulation framework once, where the core simulation process took in all parameters as command line options. A runner program would read a YAML file describing the parameters in arbitrarily complex ways, and invoke the sim process potentially thousands of times (doing parameter sweeps). The intent was for the underlying sim process to always be directly runnable for debugging just by copy/pasting the generated list of options, regardless of how complex the config file got. It was a year or so before somebody started passing in an intermediate config file to the sim process by command line argument...