# State of creating Executables for Julia code

**URL:** <https://discourse.julialang.org/t/state-of-creating-executables-for-julia-code/117045>\
**Category:** General Usage\
**Tags:** app\
**Created:** [July 15, 2024, 6:26am UTC](https://discourse.julialang.org/t/state-of-creating-executables-for-julia-code/117045 "2024-07-15T06:26:26Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Maddy](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/maddy/32/210658_2.png) [@Maddy](https://discourse.julialang.org/u/Maddy)\
**Post date:** [July 15, 2024, 6:26am UTC](https://discourse.julialang.org/t/state-of-creating-executables-for-julia-code/117045/1 "2024-07-15T06:26:26Z")

</div>

How do we create an executable app for whatever code we’ve written in Julia?

I am relatively new to the language. Creating my little project I felt like checking out how executables work in Julia.

To my surprise, there seems to be no clear way to do it.  
PackageCompiler.jl, as portrayed in online Discussions, is not ideal and creates large exe files even for very basic code blocks.  
StaticCompiler.jl is still an experimental project.

All the posts on the topic however are from 2 years ago are more. Is there a convenient way to distribute your work to other machines where they don’t have to install Julia per se now? How lightweight is it?

I just want to know the present state of the matter. Thank you!

---

<div class="post-metadata">

**Author:** ![Sukera](https://avatars.discourse-cdn.com/v4/letter/s/ce7236/32.png) [@Sukera](https://discourse.julialang.org/u/Sukera)\
**Post date:** [July 15, 2024, 6:32am UTC](https://discourse.julialang.org/t/state-of-creating-executables-for-julia-code/117045/2 "2024-07-15T06:32:40Z")

</div>

You are in luck - the present state has been presented a few days ago at JuliaCon:

> **[New Ways to Compile Julia Juliacon 2024](https://pretalx.com/juliacon2024/talk/FUTLND/)**
>
> We will explain new options for ahead-of-time compilation of julia programs that we have been developing. First, there is a new compiler driver \`juliac\` that provides a more traditional gcc-like command-line interface. Next, we are adding new...

An individual recording of that talk should be available in the somewhat near future, but in the meantime, but here’s the timestamped livestream:

[![](https://global.discourse-cdn.com/julialang/original/3X/5/3/534fe8cbb9c77915a007a5745e215495ec468d97.jpeg "JuliaCon 2024 | REPL Main Stage | Day 2") ](https://www.youtube.com/watch?v=Bo3k4oD1Avg&t=27689)

(In case the timestamp doesn’t work, you can find it at ~7:41:30)

There’s still a bunch of stuff that needs to be done there, but this is pretty much the way forward.
