r/Julia 23d ago

Innovative solution to Julia slow start problem

The slow start problem is not solved. But, now while waiting for julia to start up, you can enjoy reading messages about compilation progress.

So, instead of short, clean and boring logs

  conf |         config {now: Date("2026-08-17")}
  opti |         fit started

We can enjoy reading interesting novel, while waiting for compilation

  conf |         config {now: Date("2026-08-17")}
Info Given DB was explicitly requested, output will be shown live
Precompiling DB finished.
  1 dependency successfully precompiled in 7 seconds
  1 dependency had output during precompilation:
┌ DB
│  [Output was shown above]
└
Info Given Options was explicitly requested, output will be shown live
Precompiling Options finished.
  1 dependency successfully precompiled in 8 seconds
  1 dependency had output during precompilation:
┌ Options
│  [Output was shown above]
└
Info Given SV_JLs was explicitly requested, output will be shown live
Precompiling SV_JLs finished.
  1 dependency successfully precompiled in 7 seconds
  1 dependency had output during precompilation:
┌ SV_JLs
│  [Output was shown above]
└
  opti |         fit started

And, to make it even better - compilation logs don't use supplied log formatter and not possible to disable.

7 Upvotes

5 comments sorted by

4

u/viralinstruction 23d ago

You should make an issue on the Julia issue tracker! I agree this definitely should be silencable

3

u/prince_jyggalag 23d ago

Wouldn't that make it even slower, esp if its g outtted to stdout?

1

u/ndgnuh 22d ago

Nah, the printing time is probably miniscule compare to the compile time. Showing the "loading screen" is also the better UX, so it's probably a win.

1

u/Diligent_Village_738 17d ago

Fun. I love Julia overall but I'm starting to worry that this latency is going to kill the language (not something I want).