Julia is, in general, a "just-barely-ahead-of-time" compiled language. When you call a function for the first time, Julia compiles it for precisely the types of arguments given. This can take some time. All subsequent calls within that same session use this fast compiled function, but if you restart Julia you lose all the compiled work. PackageCompiler allows you to do this work upfront — further ahead of time — and store the results for a lower latency startup. You can save loaded packages and compiled functions into a file (called a sysimage) that you pass to Julia upon startup. Typically the goal is to reduce latency on your machine; for example, you could load the packages and compile the functions used in common plotting workflows using that saved image by default. In general, sysimages are not relocatable to other machines; they'll only work on the machine they were created on.

Features

  • You can further compile an entire project into a relocatable "app"
  • Alternatively, you can create a C library
  • You can save loaded packages and compiled functions into a file (called a sysimage) that you pass to julia upon startup
  • Typically the goal is to reduce latency on your machine
  • Examples available
  • The most challenging part in all cases is in determining which methods need to be compiled ahead of time

Project Samples

Project Activity

See All Activity >

Categories

Compilers

License

MIT License

Follow PackageCompiler

PackageCompiler Web Site

Other Useful Business Software
Gen AI apps are built with MongoDB Atlas Icon
Gen AI apps are built with MongoDB Atlas

The database for AI-powered applications.

MongoDB Atlas is the developer-friendly database used to build, scale, and run gen AI and LLM-powered apps—without needing a separate vector database. Atlas offers built-in vector search, global availability across 115+ regions, and flexible document modeling. Start building AI apps faster, all in one place.
Start Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of PackageCompiler!

Additional Project Details

Programming Language

Julia

Related Categories

Julia Compilers

Registered

2023-11-02