# What's the difference between \`PackageCompiler.create\_sysimage()\` and \`Pkg.precompile()\`?

**URL:** <https://discourse.julialang.org/t/whats-the-difference-between-packagecompiler-create-sysimage-and-pkg-precompile/87589>\
**Category:** New to Julia\
**Tags:** precompilation, package-compiler\
**Created:** [September 21, 2022, 4:43pm UTC](https://discourse.julialang.org/t/whats-the-difference-between-packagecompiler-create-sysimage-and-pkg-precompile/87589 "2022-09-21T16:43:56Z")\
**Posts on this page:** 1\
**Showing post:** 8

<div class="post-metadata">

**Author:** ![tfiers](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/tfiers/32/32427_2.png) [@tfiers](https://discourse.julialang.org/u/tfiers)\
**Post date:** [October 9, 2022, 6:12am UTC](https://discourse.julialang.org/t/whats-the-difference-between-packagecompiler-create-sysimage-and-pkg-precompile/87589/8 "2022-10-09T06:12:48Z")

</div>

[edit: posted as [standalone question](https://discourse.julialang.org/t/packagecompiler-does-precompile-store-machine-code/88480)]

---

_[View the full topic](https://discourse.julialang.org/t/whats-the-difference-between-packagecompiler-create-sysimage-and-pkg-precompile/87589)._
