# Roadmap for small binaries

**URL:** <https://discourse.julialang.org/t/roadmap-for-small-binaries/99266>\
**Category:** Internals & Design\
**Tags:** question\
**Created:** [May 23, 2023, 8:41am UTC](https://discourse.julialang.org/t/roadmap-for-small-binaries/99266 "2023-05-23T08:41:09Z")\
**Posts on this page:** 1\
**Showing post:** 15

<div class="post-metadata">

**Author:** ![Benny](https://avatars.discourse-cdn.com/v4/letter/b/49beb7/32.png) [@Benny](https://discourse.julialang.org/u/Benny)\
**Post date:** [October 15, 2023, 11:35am UTC](https://discourse.julialang.org/t/roadmap-for-small-binaries/99266/15 "2023-10-15T11:35:53Z")

</div>

> [@mircode](#):
>
> Maybe if enough people chimed in with “I’d start using it right away if it could produce small binaries”, we can convince those up there (😉) to tackle this if they want to see the community explode.

I’ve seen similar sentiments crop up before, and it’s never been productive. Removing unneeded memory overhead is universally considered a plus, and I’ve never heard someone argue otherwise. At that point, more user complaints or demand affect neither the number of the relevant subset of developers nor the time they have to contribute. If developer-hours does not increase, we’ll just have to make do with the current pace. [Separating codegen from the runtime](https://github.com/JuliaLang/julia/pull/41936) can help a piece of it, but it’d be nice if more people can tackle the [large BLAS buffers](https://github.com/JuliaLang/julia/discussions/44070). For some applications, even resolving those won’t make binaries small enough because the runtime (GC, dynamic dispatch, tasks queue) takes up space too. If you can sacrifice a lot of features, you can try [StaticCompiler.jl](https://discourse.julialang.org/t/successful-static-compilation-of-julia-code-for-use-in-production/79318) to approach the smaller binaries, though at that point you might prefer to manage memory in another language (and another [cool example I remembered](https://discourse.julialang.org/t/julia-on-embedded-devices-validation-thereof/81518/22), you can see `Array`s being replaced by manually managed `MallocArray`s).

---

_[View the full topic](https://discourse.julialang.org/t/roadmap-for-small-binaries/99266)._
