-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
Building sys.ji takes very long #47
Comments
Realistically, only Jeff can do this. I'm also not sure if it's even possible. My understanding of the way this works is that incremental compilation is a non-starter, but Jeff is going to have to comment on that. |
The problem is inlining. Or when f calls g, even if g is not inlined, f's inferred type depends on information about g. It's very true that allowing separate compilation is a desirable feature of a type system, but we don't have it. Actually, there is a way to rebuild sys.ji faster. The idea is to "edit" the image by starting julia with your current system image, then loading your changed files, then saving the system image again. This will work for changes that not too many things depend on. Eventually I can implement something that traverses dependencies and makes sure everything that needs to gets re-compiled. This is the way to do it. |
That's a cool idea and would be really awesome. We need some sort of dependency tracking in order for methods to get recompiled when other methods that they depend on change anyway. Would implementing that have the desired effect? Currently, when you redefine a method, you then have to also redefine any methods that used that function. |
Yes, I think that is the real issue here. I need to do it at some point anyway. Once that is done, the way to build sys.ji will be to start julia with the current sys.ji, then call |
Yes, this solution is perfect. Perhaps github needs to provide a +1 button to give a thumbs up... |
With the base library stabilising, this is not as important. Closing as wontfix. |
hello-world: Update to fit the new canonical data
Added dlo and dhi arguments for kde.
Make it easier to create useful bug reports from Julia tests
It would be great if all the individual .j files are compiled separately, and then somehow combined into sys.ji. Even a one line modification triggers sys.ji to be built from scratch. Would be nice if it was faster.
The text was updated successfully, but these errors were encountered: