23Skidoo (Mikhail Glushenkov)
User

Projects

User does not belong to any projects.

Today

  • Clear sailing ahead.

Tomorrow

  • Clear sailing ahead.

Saturday

  • Clear sailing ahead.

User Details

User Since
Jun 9 2014, 6:53 AM (193 w, 3 d)
Availability
Available

Recent Activity

Sep 19 2017

23Skidoo updated subscribers of D3898: [RFC] Introduce -ddump-mod-graph.

Hmm, I was under impression that it only took care of the "serialise" part, not the "load & reuse" part that would give us Shake-style fast recompilation checks.

That being said, my assumption would be that construction of the module graph should be relatively cheap. Do you have evidence otherwise?

Sep 19 2017, 12:09 PM
23Skidoo added a comment to D3898: [RFC] Introduce -ddump-mod-graph.

What would be cool is if ghc --make/-ddump-module-graph could serialise and reuse the compilation graph info between runs, like https://github.com/ezyang/ghc-shake does.

This is precisely what this patch implements.

Sep 19 2017, 11:35 AM

Sep 10 2017

23Skidoo added a comment to D3898: [RFC] Introduce -ddump-mod-graph.

So it will be sort of like -M, but faster and without support for addDependentFile? The reason we don't use -M in Cabal is that running both -M and --make in succession slows down the compilation too much for large projects. What would be cool is if ghc --make/-ddump-module-graph could serialise and reuse the compilation graph info between runs, like https://github.com/ezyang/ghc-shake does. I think that supporting addDependentFile would be less of a problem then, plus it'd give us faster rebuild checking.

Sep 10 2017, 9:02 AM

Sep 7 2017

23Skidoo added a comment to D3898: [RFC] Introduce -ddump-mod-graph.

Does this also include dependencies added via TH's addDependentFile?

Sep 7 2017, 6:12 AM

May 22 2017

23Skidoo added a comment to D3598: Handle file targets in missing home modules warning.

Can we add a test case that uses -main-is?

May 22 2017, 1:14 AM