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

Incremental Compilation? #190

Open
Kesanov opened this issue Jun 28, 2020 · 4 comments
Open

Incremental Compilation? #190

Kesanov opened this issue Jun 28, 2020 · 4 comments

Comments

@Kesanov
Copy link

Kesanov commented Jun 28, 2020

In docs/blog/2017-11-30-parallelism.md you stated that skip is going to have incremental compiler based on memoization:

Although this was a fun hack, the next big exciting change won't involve parallelism, and will take a lot longer than a weekend — it's making the compiler incremental, using Skip's own reactive memoizer to only recompile code affected by modified files. Stay tuned!

But there was no follow up post on this topic, even though it's almost 3 years already. Therefore, I have few questions:

  1. Does skip have incremental compiler?
  2. How many parts of the compiler are actually incremental?
  3. Was builtin meoization useful?
  4. If yes, are there also some examples where memoization (perhaps surprisingly) wasn't that useful?
@Kesanov
Copy link
Author

Kesanov commented May 5, 2021

Any update @josephsavona.

@josephsavona
Copy link
Contributor

I stopped working on this project in late 2018. IIRC we did have incremental compilation working at that time - cc @pikatchu re the current status.

@Kesanov
Copy link
Author

Kesanov commented May 5, 2021

Thank you for your reply. Btw, since the project looks quite dead, are there any lessons-learned worth sharing?

  • How well did the ref-counting work in practice. Wasn't it too slow, compared to traditional GC?
  • Would you like to see built-in memoization in other languages? Why? What does it give you over a library?

@dumblob
Copy link

dumblob commented May 5, 2021

Raising my hand for lessons learned write-up (preferably an exhaustive one 😉).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants