[ocaml-platform] An alternative proposal for namespaces

Alain Frisch alain.frisch at lexifi.com
Wed Mar 20 19:01:47 GMT 2013


On 03/20/2013 07:33 PM, Alain Frisch wrote:
> And I maintain that a build system based on
> capturing file system accesses could be a viable strategy

Even if you are not convinced, the same approach could be used to check 
dynamically that the build system knew about all the dependencies, and 
thus help in debugging broken build system configurations.  I would love 
for instance omake to perform such dynamic tests to detect poorly 
written OMakefiles, and this does not seem very difficult (provided the 
compiler does not try to load whole directories or open files which are 
not reported as dependencies by ocamldep).  It could even probably be 
implemented in user-land, using strace.

-- Alain


More information about the Platform mailing list