# Using/Distributing pre-compiled files

**URL:** https://discourse.julialang.org/t/using-distributing-pre-compiled-files/13894
**Category:** New to Julia
**Tags:** question
**Created:** [August 22, 2018, 5:21pm UTC](https://discourse.julialang.org/t/using-distributing-pre-compiled-files/13894 "2018-08-22T17:21:07Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![hasanOryx](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/hasanoryx/32/5373_2.png) [@hasanOryx](https://discourse.julialang.org/u/hasanOryx)
#### Post date: [August 22, 2018, 5:21pm UTC](https://discourse.julialang.org/t/using-distributing-pre-compiled-files/13894/1 "2018-08-22T17:21:07Z")

</div>

I created a simple function as below:

```julia
#MyFunction.jl

__precompile__ ()
function MyFunction(x)
    y = x * 5
    y * 5
end

```

And found the pre-compiled files saved as:

`/Users/hasan/.julia/compiled/v1.0/MyFunction.jl`

Can I use/distribute this pre-compiled file with my main function without using the original file source code itself?
