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
Full-stack observability with actually useful AI | Grafana Cloud Icon
Full-stack observability with actually useful AI | Grafana Cloud

Our generous forever free tier includes the full platform, including the AI Assistant, for 3 users with 10k metrics, 50GB logs, and 50GB traces.

Built on open standards like Prometheus and OpenTelemetry, Grafana Cloud includes Kubernetes Monitoring, Application Observability, Incident Response, plus the AI-powered Grafana Assistant. Get started with our generous free tier today.
Create free account
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