# Julia for real time, worried about the garbage collector

**URL:** <https://discourse.julialang.org/t/julia-for-real-time-worried-about-the-garbage-collector/34654>\
**Category:** Performance\
**Created:** [February 14, 2020, 9:44pm UTC](https://discourse.julialang.org/t/julia-for-real-time-worried-about-the-garbage-collector/34654 "2020-02-14T21:44:32Z")\
**Posts on this page:** 1\
**Showing post:** 25

<div class="post-metadata">

**Author:** ![Tamas\_Papp](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/tamas_papp/32/25949_2.png) [@Tamas\_Papp](https://discourse.julialang.org/u/Tamas_Papp)\
**Post date:** [February 16, 2020, 7:26am UTC](https://discourse.julialang.org/t/julia-for-real-time-worried-about-the-garbage-collector/34654/25 "2020-02-16T07:26:30Z")

</div>

> [@Mason](#):
>
> I assure you that the julia devs have thought more about julia’s use-cases and potential applications than anyone else.

That may be, but I don’t think that Julia was designed for hard real time. Well-optimized Julia code may be suitable for what is called “soft” or “near” real-time, but hard RTC is currently beyond the scope of the language, and I don’t think it is achievable without breaking or restricting Julia so much that it will be a different language.

> [@gosim](#):
>
> Julia devs should have thought about real time performance, it would make it so much more industrially viable.  
> Every car has several computers in them…

Julia was not designed for this market at all. In a sense, it targets the opposite end of the spectrum: interactive or batch scientific computing, where expressiveness, code reusability, quick prototyping and optimizing on demand are valued, and GC considered a very convenient feature.

Languages for RTC come with specific guarantees, but are much less fun to program in. If you really need hard RTC, Julia may not be the best choice for the final application, but perhaps it can be useful for prototyping algorithms.

---

_[View the full topic](https://discourse.julialang.org/t/julia-for-real-time-worried-about-the-garbage-collector/34654)._
