# Building a PC optimized for "time to first plot"

**URL:** <https://discourse.julialang.org/t/building-a-pc-optimized-for-time-to-first-plot/88801>\
**Category:** Performance\
**Created:** [October 16, 2022, 12:05pm UTC](https://discourse.julialang.org/t/building-a-pc-optimized-for-time-to-first-plot/88801 "2022-10-16T12:05:52Z")\
**Posts on this page:** 1\
**Showing post:** 59

<div class="post-metadata">

**Author:** ![Palli](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/palli/32/3380_2.png) [@Palli](https://discourse.julialang.org/u/Palli)\
**Post date:** [October 18, 2022, 11:13am UTC](https://discourse.julialang.org/t/building-a-pc-optimized-for-time-to-first-plot/88801/59 "2022-10-18T11:13:02Z")

</div>

It would be highly ironic if you consider to buy a superfast computer for the high-performance language Julia, because it’s slow at compiling!

With my trick for faster recompilation, I seem to have converted one Common Lip user to use Julia: [not-common-lisp-to-julia.org · GitHub](https://gist.github.com/digikar99/24decb414ddfa15a220b27f6748165d7?permalink_comment_id=4338941#gistcomment-4338941)

> [@oheil](#):
>
> depends on the dreams one has. Add reasonable small executable and I am with you, despite that I would still prefer the statically compiled small executable in general.

You can have 20 KB Julia executables, but those are limited (e.g. no GC), with Python most or all of the important limitations are lifted (StaticCompiler.jl doesn’t yet support Windows, so I’m not sure this works there, even if you use Python for the Windows compatibility):

> [@Successful Static Compilation of Julia Code for use in Production](https://discourse.julialang.org/t/successful-static-compilation-of-julia-code-for-use-in-production/79318):
>
> The [StaticCompiler](https://github.com/tshort/StaticCompiler.jl) package was recently registered. This post records a successful experiment to statically compile a piece of Julia code into a small .so library on Linux, which is then loaded from Python and used in training of a deep learning model. TLDR Static compilation to a stand-alone library does work on Linux but has rather significant restrictions on the functionality available. It is mostly useful for core computational routines. Roughly speaking, if it could be implemented in plain…

I hope my PlotlyLight.jl suggestion helped, any plotting library (and more code) is likely excluded with that approach though, but if you do the plotting from the Python side, then something similar is I guess available.

---

_[View the full topic](https://discourse.julialang.org/t/building-a-pc-optimized-for-time-to-first-plot/88801)._
