JuliaDiff / JuliaDiff/Diffractor.jl

Equivilent of Zygote.refresh: force recompiling of everthing

Open
#253 0 comments 0 reactions 0 assignees View on GitHub

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

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.