# \#static-compilation

**URL:** https://discourse.julialang.org/tag/static-compilation/1856.md

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

---

## [\[ANN\] JuliaLibWrapping.jl: bringing Julia libraries to C and Python users](https://discourse.julialang.org/t/ann-julialibwrapping-jl-bringing-julia-libraries-to-c-and-python-users/139150)

<div class="topic-metadata">

**Author:** [@tim.holy](https://discourse.julialang.org/u/tim.holy)\
**Replies:** 15\
**Last updated:** [September 3, 2026, 12:36pm UTC](https://discourse.julialang.org/t/ann-julialibwrapping-jl-bringing-julia-libraries-to-c-and-python-users/139150 "2026-09-03T12:36:21Z")

</div>

I’m pleased to formally announce JuliaLibWrapping.jl (JLW), a tool for turning Julia packages into shared libraries with C and Python interfaces. This project has been a close collaboration with @Jorge\_Vieyra, with impor…

---

## [JuliaC - Modifying flags passed to julia and cc compiler](https://discourse.julialang.org/t/juliac-modifying-flags-passed-to-julia-and-cc-compiler/133601)

<div class="topic-metadata">

**Author:** [@xlxs4](https://discourse.julialang.org/u/xlxs4)\
**Replies:** 0\
**Last updated:** [November 2, 2025, 9:42am UTC](https://discourse.julialang.org/t/juliac-modifying-flags-passed-to-julia-and-cc-compiler/133601 "2025-11-02T09:42:24Z")

</div>

To modify the flags passed to the julia and cc compiler invocations by JuliaC, I’m using it programmatically. To modify the arguments passed to julia I can use julia\_args. If I use the JuliaC binary (juliac) I can pass a…

---

## [Experiences with small binary compilation? Python wrapper, interface with NumPy?](https://discourse.julialang.org/t/experiences-with-small-binary-compilation-python-wrapper-interface-with-numpy/133578)

<div class="topic-metadata">

**Author:** [@croberts](https://discourse.julialang.org/u/croberts)\
**Replies:** 5\
**Last updated:** [November 1, 2025, 3:28pm UTC](https://discourse.julialang.org/t/experiences-with-small-binary-compilation-python-wrapper-interface-with-numpy/133578 "2025-11-01T15:28:12Z")

</div>

This post is asking about the practical status of Julia small binary compilation, particularly for interfacing with Numpy Arrays in Python. Suppose: (1) There is a large model written in python, where data is passed ar…

---

## [\[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 …
