# Compiler work priorities

**URL:** <https://discourse.julialang.org/t/compiler-work-priorities/17623>\
**Category:** Internals & Design\
**Created:** [November 16, 2018, 10:14pm UTC](https://discourse.julialang.org/t/compiler-work-priorities/17623 "2018-11-16T22:14:46Z")\
**Posts on this page:** 1\
**Showing post:** 10

<div class="post-metadata">

**Author:** ![TsurHerman](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/tsurherman/32/1234_2.png) [@TsurHerman](https://discourse.julialang.org/u/TsurHerman)\
**Post date:** [November 18, 2018, 8:05am UTC](https://discourse.julialang.org/t/compiler-work-priorities/17623/10 "2018-11-18T08:05:17Z")

</div>

> [@tim.holy](#):
>
> It may be part of the compiler-time latency “caching more things” and “PackageCompiler,” but I would agree that “getting Julia to the point where it generates great `.so` files that can be used by other languages” would likely have a positive impact on Julia adoption.

I agree wholeheartedly, and I think the main blocker is the way multiple dispatch is resolved on some base module (usually Base) instead of being resolved by the caller.

the general outline , along with some overly emotional correspondences (mainly on my side) can be found in  
this thread:

> [@MultiFunctions: Context dispatch and binary cache](https://discourse.julialang.org/t/multifunctions-context-dispatch-and-binary-cache/11565):
>
> I have been writing this draft for several days , and got a little mixed up verbalising these ideas , which are simpler to understand using code and examples… If you want to jump straight into code, there is a link at the end. @Jameson @mbauman tl;dr There is a way to make Julia completely binary cacheable(between sessions), so it can become an effective way of developing and distributing .so .dll Background Function = a module wide constant symbol ( e.g :sum) without any specifications re…

I also wrote a small POC using macro that generate a generated function … the added indirection gave me enough flexibility to prove that this is possible.  
If there is interest I will “patch” the POC to work on julia version 1.0

---

_[View the full topic](https://discourse.julialang.org/t/compiler-work-priorities/17623)._
