Re:Memoize – a replacement for make relying on strace
by ianbicking on Friday April 10, 2015 @06:29PM
(#9357449)
If you think of a build step as a function, taking some files as input (the source) and returning a result (the compiled artifact), then this tool is memoizing the that function.
Re:Memoize – a replacement for make relying on strace
by scott_s on Friday April 10, 2015 @10:04PM
(#9358112)
Agreed - from the name and the mention of strace, I immediately got how it worked.
Re:Memoize – a replacement for make relying on strace
by kshitijl on Saturday April 11, 2015 @01:51AM
(#9358666)
Did you read the Wikipedia article you link to? This has everything to do with memoizing the result of running compilation programs (function) on input files (arguments).
The "trick" here is using strace to figure out the complete set of inputs to the (assumed to be) idempotent compilation steps.
This is just a very bad naming choice for this library that seems to be an OK alternative to Make.
[1] https://en.wikipedia.org/wiki/Memoization
[2] https://docs.python.org/3/library/functools.html#functools.l...