# \#trimming

**URL:** https://discourse.julialang.org/tag/trimming/1855.md

[Latest](https://discourse.julialang.org/latest.md) · [Categories](https://discourse.julialang.org/categories.md) · [Tags](https://discourse.julialang.org/tags.md)

---

## [Precompilation and trimming a discrete event simulator for communication networks](https://discourse.julialang.org/t/precompilation-and-trimming-a-discrete-event-simulator-for-communication-networks/139010)

<div class="topic-metadata">

**Author:** [@melevy](https://discourse.julialang.org/u/melevy)\
**Replies:** 7\
**Last updated:** [August 24, 2026, 9:46pm UTC](https://discourse.julialang.org/t/precompilation-and-trimming-a-discrete-event-simulator-for-communication-networks/139010 "2026-08-24T21:46:47Z")

</div>

Hi! I’m new here and maybe I’m not doing it the right way, if so I’m sorry for my ignorance. So I’m interested in precompiling and trimming a Julia program to decrease the startup time and avoid compilation during exec…

---

## [Using \`...\` syntax and \`--trim\`](https://discourse.julialang.org/t/using-syntax-and-trim/133201)

<div class="topic-metadata">

**Author:** [@apozharski](https://discourse.julialang.org/u/apozharski)\
**Replies:** 4\
**Last updated:** [October 20, 2025, 10:20am UTC](https://discourse.julialang.org/t/using-syntax-and-trim/133201 "2025-10-20T10:20:04Z")

</div>

Hello, I am working on a package for building c interfaces for an NLP solver packages and have run into something of an impasse regarding the --trim functionality and calling functions with keyword arguments which need …

---

## [Is it normal for juliac to still produce 280 MB of libraries for a "println" example?](https://discourse.julialang.org/t/is-it-normal-for-juliac-to-still-produce-280-mb-of-libraries-for-a-println-example/133140)

<div class="topic-metadata">

**Author:** [@sylvaticus](https://discourse.julialang.org/u/sylvaticus)\
**Replies:** 6\
**Last updated:** [October 15, 2025, 7:26pm UTC](https://discourse.julialang.org/t/is-it-normal-for-juliac-to-still-produce-280-mb-of-libraries-for-a-println-example/133140 "2025-10-15T19:26:36Z")

</div>

Sorry, possibly coming from an “over-expectations” mind setting… I had a quick try on juliac, but compiling the trivial example, even with --trim=safe, produces yes an executable of ~1.7 MB, but also a set of libraries ~…

---

## [\[Guide\] Using sum types to define dynamic C APIs for Julia 1.12 \`--trim\`](https://discourse.julialang.org/t/guide-using-sum-types-to-define-dynamic-c-apis-for-julia-1-12-trim/132111)

<div class="topic-metadata">

**Author:** [@RomeoV](https://discourse.julialang.org/u/RomeoV)\
**Replies:** 29\
**Last updated:** [October 11, 2025, 12:07pm UTC](https://discourse.julialang.org/t/guide-using-sum-types-to-define-dynamic-c-apis-for-julia-1-12-trim/132111 "2025-10-11T12:07:14Z")

</div>

I have recently spent a lot of time trying to get one of my libraries ready for the Julia 1.12 --trim feature such that I can ship it as a C library and wrap it into a python module. During this work I learned a lot and …
