JuliaDiff / JuliaDiff/Diffractor.jl
Equivilent of Zygote.refresh: force recompiling of everthing
Nobody has claimed this yet.
- Dominant language
- Julia
- Stars
- 453
- Forks
- 33
- PR merge metrics
- No merged PRs in 30d
Description
Zygote.refresh is needed to get Zygote to pickup new rrules, we don't need that.
but it would still be nice to have a way to force recompilation after we change something in the internals.
This would save needing to restart julia each time the internals are modified.
Since we don't want to hook back-edges from Diffractor's internals to every method it generates.
Though we could, I think it would be too error prone and annoying.
Came up in discussion with @nmheim
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No files, tests, or entry points are named. Start by mapping how Diffractor-generated methods and internal changes are compiled, then compare the requested behavior with Zygote.refresh; done would be a reliable way to force recompilation after internal changes without restarting Julia or adding fragile back-edges.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- julia
- Domain
- compilers, developer-experience
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100