# Is it possible to create compiled executable?

**URL:** <https://discourse.julialang.org/t/is-it-possible-to-create-compiled-executable/3617>\
**Category:** General Usage\
**Tags:** question\
**Created:** [May 9, 2017, 3:57pm UTC](https://discourse.julialang.org/t/is-it-possible-to-create-compiled-executable/3617 "2017-05-09T15:57:27Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![vejitatoja](https://avatars.discourse-cdn.com/v4/letter/v/8edcca/32.png) [@vejitatoja](https://discourse.julialang.org/u/vejitatoja)\
**Post date:** [May 9, 2017, 3:57pm UTC](https://discourse.julialang.org/t/is-it-possible-to-create-compiled-executable/3617/1 "2017-05-09T15:57:27Z")

</div>

Is it possible to create compiled executable with my program written in julia, that i could take and run on another machine that doesn’t have julia installed?

---

<div class="post-metadata">

**Author:** ![oatlzzvztd](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/oatlzzvztd/32/3285_2.png) [@oatlzzvztd](https://discourse.julialang.org/u/oatlzzvztd)\
**Post date:** [May 9, 2017, 4:11pm UTC](https://discourse.julialang.org/t/is-it-possible-to-create-compiled-executable/3617/2 "2017-05-09T16:11:10Z")

</div>

[https://juliacomputing.com/blog/2016/02/09/static-julia.html](https://juliacomputing.com/blog/2016/02/09/static-julia.html)

This was the last I’d heard of progress being made on the subject. I assume Julia Computing is going to hide static compilation behind a paywall, if it’s ever finished.

---

<div class="post-metadata">

**Author:** ![lobingera](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/lobingera/32/211_2.png) [@lobingera](https://discourse.julialang.org/u/lobingera)\
**Post date:** [May 9, 2017, 4:43pm UTC](https://discourse.julialang.org/t/is-it-possible-to-create-compiled-executable/3617/3 "2017-05-09T16:43:36Z")

</div>

> [@oatlzzvztd](#):
>
> I assume Julia Computing is going to hide static compilation behind a paywall, if it’s ever finishe

Why? (apart from, yes that’s a feature you can sell to customers)

As the article explains, it’s not straightforward to compile a dynamic language program.

---

<div class="post-metadata">

**Author:** ![JaredCrean2](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/jaredcrean2/32/3574_2.png) [@JaredCrean2](https://discourse.julialang.org/u/JaredCrean2)\
**Post date:** [May 9, 2017, 4:58pm UTC](https://discourse.julialang.org/t/is-it-possible-to-create-compiled-executable/3617/4 "2017-05-09T16:58:08Z")

</div>

See discussion [here](https://discourse.julialang.org/t/julia-static-compilation/296/3). I suspect that not much development effort will be put towards the feature unless someone pays them to do it.

---

<div class="post-metadata">

**Author:** ![lobingera](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/lobingera/32/211_2.png) [@lobingera](https://discourse.julialang.org/u/lobingera)\
**Post date:** [May 9, 2017, 5:06pm UTC](https://discourse.julialang.org/t/is-it-possible-to-create-compiled-executable/3617/5 "2017-05-09T17:06:05Z")

</div>

i wasn’t closely following this. But then - although it sometimes looks like this - people in juliacomputing don’t have magical programming powers. This is open source, so anyone can work on it.

---

<div class="post-metadata">

**Author:** ![oatlzzvztd](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/oatlzzvztd/32/3285_2.png) [@oatlzzvztd](https://discourse.julialang.org/u/oatlzzvztd)\
**Post date:** [May 9, 2017, 5:13pm UTC](https://discourse.julialang.org/t/is-it-possible-to-create-compiled-executable/3617/6 "2017-05-09T17:13:33Z")

</div>

> [@lobingera](#):
>
> This is open source, so anyone can work on it.

How many non-JC related programmers understand Julia’s internals well enough to do such a thing? (I, for one, don’t.)

Expecting an open source solution entails the existence of a sufficiently large community willing to produce it.

---

<div class="post-metadata">

**Author:** ![datnamer](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/datnamer/32/3471_2.png) [@datnamer](https://discourse.julialang.org/u/datnamer)\
**Post date:** [May 9, 2017, 5:38pm UTC](https://discourse.julialang.org/t/is-it-possible-to-create-compiled-executable/3617/7 "2017-05-09T17:38:07Z")

</div>

@viralbshah are the business assumptions in this thread accurate?

@jeff.bezanson I thought julia can already precompile an LLVM image? and i also saw discussion of a more minimal post compile runtime. is this going to happen open source st some point?

thanks

---

<div class="post-metadata">

**Author:** ![Keno](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/keno/32/285_2.png) [@Keno](https://discourse.julialang.org/u/Keno)\
**Post date:** [May 9, 2017, 5:52pm UTC](https://discourse.julialang.org/t/is-it-possible-to-create-compiled-executable/3617/8 "2017-05-09T17:52:06Z")

</div>

Yes, you can statically compile Julia. No, it’s not particularly easy at the moment. Yes, we’re planning to make it easier, but it’s not a simple task. There’s incremental improvements to make this easier going in all the time. Yes, the compiler improvements will be open source like always. You’re of course still welcome to pay us for it so we can hire some additional compiler people ;).

---

<div class="post-metadata">

**Author:** ![lobingera](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/lobingera/32/211_2.png) [@lobingera](https://discourse.julialang.org/u/lobingera)\
**Post date:** [May 9, 2017, 6:41pm UTC](https://discourse.julialang.org/t/is-it-possible-to-create-compiled-executable/3617/9 "2017-05-09T18:41:42Z")

</div>

and the documenation of this?

---

<div class="post-metadata">

**Author:** ![Keno](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/keno/32/285_2.png) [@Keno](https://discourse.julialang.org/u/Keno)\
**Post date:** [May 9, 2017, 6:42pm UTC](https://discourse.julialang.org/t/is-it-possible-to-create-compiled-executable/3617/10 "2017-05-09T18:42:52Z")

</div>

That blog post is the best documentation currently available.
