Skip to content

A change list for the compiler#59938

Merged
ViralBShah merged 4 commits intoJuliaLang:masterfrom
mhauru:compiler-history.md
Jan 6, 2026
Merged

A change list for the compiler#59938
ViralBShah merged 4 commits intoJuliaLang:masterfrom
mhauru:compiler-history.md

Conversation

@mhauru
Copy link
Copy Markdown
Contributor

@mhauru mhauru commented Oct 23, 2025

Changes to the compiler in 1.12, while very welcome, caused work for some packages that interface with the compiler. I'm aware of chalk-lab/Mooncake.jl#714 and TuringLang/Libtask.jl#196, there are probably others. This is of course understandable and unavoidable when packages interface with internals that aren't public.

However, as discussed on Slack a few times, it would be very useful for package maintainers if there was even a rough list of changes, and advice on how to adapt to them. To kickstart this, I started a draft with changes I encountered in 1.12. It is very incomplete (reflecting my very superficial understanding of the compiler), and I would be grateful and happy if those who know this stuff better would be up for completing it, merging it, and adding to it as more things happen in 1.13.

@JeffBezanson
Copy link
Copy Markdown
Member

This is great, thank you. I think it should probably go in devdocs?

@yebai
Copy link
Copy Markdown

yebai commented Oct 24, 2025

Since this is meant to be like HISTORY.md, it would be good to keep it as is. More compiler docs in devdocs can be fixed separately.

@JeffBezanson
Copy link
Copy Markdown
Member

OK I guess this is fine.

@fingolfin
Copy link
Copy Markdown
Member

This is a great idea, thank you for getting it started.

Is the plan to fill in the TODOs next? Or are you looking for help with that? Or should we just merge this and gradually fill in the TODOs if someone has time to work on 'em?

@mhauru
Copy link
Copy Markdown
Contributor Author

mhauru commented Oct 28, 2025

Yep, I'm looking for help for someone to fill in the TODOs, and to add any bits that I'm not aware of. For how to do that, I'm happy with whatever the maintainers prefer: Merge this and open more PRs to improve it, merge PRs into my branch, move my branch to this repo and start a new PR from it, all fine by me.

@mhauru
Copy link
Copy Markdown
Contributor Author

mhauru commented Nov 18, 2025

@serenity4 kindly filled in the TODOs that I had left in my draft. If anyone wants to expand the change list please feel very free, but if no other changes are imminent I would favour merging this now, and adding things gradually as changes are made.

@KristofferC
Copy link
Copy Markdown
Member

Are you committed in updating this file over releases? Also, somewhere it should probably be stated that this is a non-exhaustive / best effort list.

@mhauru
Copy link
Copy Markdown
Contributor Author

mhauru commented Nov 18, 2025

I can not commit to that because I don't work on the compiler or even understand most of the changes to it. The point of this PR is to be a starting point and a nudge, hoping the compiler devs would commit to it, on, as you said, a best-effort basis.

I added the sentence

[This file] is maintained on a best-effort basis and may be incomplete.

@KristofferC
Copy link
Copy Markdown
Member

The point of this PR is to be a starting point and a nudge, hoping the compiler devs would commit to it

I envy your optimism...

I also think for this to be useful, it has to go into the manual somehow (like the NEWS file does for the language itself).

@mhauru
Copy link
Copy Markdown
Contributor Author

mhauru commented Nov 24, 2025

I also think for this to be useful, it has to go into the manual somehow (like the NEWS file does for the language itself).

I'm very happy for this to be in the manual if the maintainers prefer that. I do think having this document exist anywhere is preferable to not having it at all though, especially given the quite specialised audience of this information.

@ViralBShah
Copy link
Copy Markdown
Member

@mhauru Can you make a PR to add it to the devdocs section of the manual so that we can get it merged?

@mhauru mhauru force-pushed the compiler-history.md branch from ad21174 to 1d285fc Compare December 5, 2025 15:18
@mhauru
Copy link
Copy Markdown
Contributor Author

mhauru commented Dec 5, 2025

I updated this PR to have the same content as before but in doc/src/devdocs/compiler_changes.md. Looks something like this
image

@ViralBShah
Copy link
Copy Markdown
Member

Can we merge this now?

@mhauru
Copy link
Copy Markdown
Contributor Author

mhauru commented Dec 16, 2025

Good to go from my side.

@mhauru
Copy link
Copy Markdown
Contributor Author

mhauru commented Jan 5, 2026

Anything else holding this up?

@ViralBShah ViralBShah merged commit 3805b82 into JuliaLang:master Jan 6, 2026
6 of 8 checks passed
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

Successfully merging this pull request may close these issues.

7 participants