# PackageCompiler bundled libraries

**URL:** <https://discourse.julialang.org/t/packagecompiler-bundled-libraries/119168>\
**Category:** General Usage\
**Created:** [September 7, 2024, 1:59pm UTC](https://discourse.julialang.org/t/packagecompiler-bundled-libraries/119168 "2024-09-07T13:59:14Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![jbytecode](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/jbytecode/32/17719_2.png) [@jbytecode](https://discourse.julialang.org/u/jbytecode)\
**Post date:** [September 29, 2024, 5:24pm UTC](https://discourse.julialang.org/t/packagecompiler-bundled-libraries/119168/6 "2024-09-29T17:24:52Z")

</div>

The legendary pull request of producing smaller binary executables has been merged to master today.

The classical hello world program is about 1.5 mbs and takes nearly 30 msecs to run, whereas a numerical integration of normal distribution (extensive loops) is 1.7mbs and takes nearly 40 msecs.

I prepared a thread about this on fosstodon, this thread is about my first tries.

> **[Mehmet Hakan Satman (@mhsatman@fosstodon.org)](https://fosstodon.org/@mhsatman/113219560367666702)**
>
> The legendary pull request of \`adding --trim option for generating small binaries\` has just been merged into master. 
> 
> \#Julia :julia: 
> 
> https://github.com/JuliaLang/julia/commit/97ecdb8595c4a1fbe68ba6f39b3244e8cdabc2c6

The generated output is currently depended on two Julia dynamic libraries. I think the next step will be producing statically linked executables.

edit: for those who don’t have fosstodon, the same thread in Twitter:

> <https://x.com/mhsatman/status/1840284440808833476>

---

_[View the full topic](https://discourse.julialang.org/t/packagecompiler-bundled-libraries/119168)._
