Why can't we have precompiled *.ji files for multiple versions of a package?

Under ~/.julia/packages/PkgName I can have multiple versions of the same package co-existing peacefully.

Is there any reason why the same thing cannot happen under ~/.julia/compiled/v1.0/PkgName? Currently each time I switch versions the compilation takes place again.

1 Like

Ref. How precompile files are loaded need to change if using multiple projects are going to be pleasant · Issue #27418 · JuliaLang/julia · GitHub

2 Likes