3 ms·
> building up the DAG of all the build steps and then scheduling things so that various parts can be built in parallel This is one of my hobbies as a programme
by pdimitar 3y ago
> building up the DAG of all the build steps and then scheduling things so that various parts can be built in parallel
This is one of my hobbies as a programmer and I'm extremely interested in this area. Can you share more or is it a trade secret?
Furthermore, do you have links to tools or papers that deal with this?
- adamgordonbell 3y agoJust saw this now. I don't have any great references to be honest. It's not that its a trade-secret, its just that its an area I don't work on. The AWK book describes how to build you own Make using AWK. You might like that. And an explanation of it and python implementation is found here: https://benhoyt.com/writings/awk-make/ https://benhoyt.com/writings/awk-make/ Hopefully that helps.
- pdimitar 3y agoShould be great, thank you. I am considering writing a small library / framework to optimize scheduled tasks by making a DAG and inferring which ones are safe to be parallel and which aren't. So this can be useful.