Proposal: faster Bios protocol
pepeiborra opened this issue · 4 comments
pepeiborra commented
Currently the Bios protocol can involve two process calls: one asking for the flags/targets and another asking for the deps. This split means that the Bios program may need to implement some stateful caching in order to respond efficiently to the second request.
The proposal is to merge both calls into a single one using two env vars: HIE_BIOS_FLAGS
and HIE_BIOS_DEPS
. I would add a third output value, the path to ghc, in an env var HIE_BIOS_GHC_PATH
.
pepeiborra commented
Is anyone working on HIE_BIOS_GHC_PATH
? It's the only piece missing and I might find some time to work on it during the incoming days.
fendor commented
I am not working on it right now.