Hacker News new | ask | show | jobs
by peatmoss 1196 days ago
Ah, thank you for that context. Assuming this mechanism doesn’t have any major tradeoffs, I think it seems likely that popular packages will make use of it?
3 comments

Two tradeoffs to be aware of:

1. Slightly longer compile times at package install time, but that is ok since it is a one time cost.

2. During package development, building a pkgimage every time will lead to longer compile times because of native code generation. That is easily disabled during development with `julia --pkgimages=no`.

The popular packages are already preparing for this.

It's very likely. I've only occasionally used in julia for a couple of years and I've been doing various hacks to improve load/compile times for my private packages pretty much since the beginning, so I imagine more experienced programmers would jump at it.
Yes, I think so (and many already have)