News for hackers. Stuff that matters.
Re:Outperforming LAPACK with C++ metaprogramming by mmlb on Monday January 29, 2018 @10:04AM (#16257835)
The way I read GP, the python script can very well do the equivalent of gcc -DPARAM=42 -o binary-param=42 && ./binary-param-42.

edit: oh nm, reread GP...

Re:Outperforming LAPACK with C++ metaprogramming by dpwm on Monday January 29, 2018 @10:41AM (#16258073)
Pretty much, except with more parameters taken from a file. The substituting in of parameters was done in Python just so that I could manually check the output for a few cases.

I think if I had to do something similar again today, any script would output a shell script that used command line macro definitions. That didn't really occur to me at the time.