Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build caching #26

Open
ollef opened this issue Oct 19, 2017 · 0 comments
Open

Build caching #26

ollef opened this issue Oct 19, 2017 · 0 comments

Comments

@ollef
Copy link
Owner

ollef commented Oct 19, 2017

We should cache the result of typechecking and compiling modules (or perhaps even be more granular) such that we don't have to redo that every time we compile something.

ollef added a commit that referenced this issue Dec 29, 2018
This refactors the compiler from a push-based, more traditional,
pipeline, to a pull- and query-based architecture built on a build
system library made for the purpose, inspired by Shake and the Build
systems a la carte paper: https://github.com/ollef/rock

This will enable parallel and incremental builds in the future and will
help solve #10, #13, and #26.

This also implements some improvements that were necessary along the way
to get the tests to pass, for example:

* Recover from all errors (barring bugs), fixing #10.
* Improve logging with logging prefixes for selective printing.
* Fix some tests that were wrong.

There's still some stuff to refactor and fix up, but since the tests now
pass I think it's a good time to get it merged.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant