<turbo-stream action="append" target="posts_list"><template>    <div class="postbit" id="159516" data-post-id="159516">
  <section>
    <div class="post-wrap">


					<div class="post-header">
		        <div class="user-avatar">
		          <img alt="jeroenvisser101" src="https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/jeroenvisser101/120/25917_2.png" width="120" height="120" />
		        </div>
					
						<div class="user-details">
		          <div class="user-name">
		            <h3>
                  jeroenvisser101
                    <span class="op-star" title="Thread Starter">
                      <img alt="OP" class="op-star-icon" src="/assets/thread-icons/thread-icon-thread-starter-df91e872.png" />
                    </span>
                  </h3>
		          </div>
						
						</div>
					
					</div>

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<aside class="quote no-group" data-username="hauleth" data-post="7" data-topic="28400">
<div class="title">
<div class="quote-controls"></div>
<img alt="" width="24" height="24" src="https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/hauleth/48/18942_2.png" class="avatar"> hauleth:</div>
<blockquote>
<p>Due to expressiveness of Elixir the parallel compilation of different projects at once can go south enormously fast.</p>
</blockquote>
</aside>
<p>It could even be an opt-in feature, allowing you to execute <code>mix deps.compile --parallel</code>, and as we find cases that cause problems, we can tackle them. After some time, it could become the default with a flag to disable.</p>
<aside class="quote group-Rebar3" data-username="tristan" data-post="10" data-topic="28400">
<div class="title">
<div class="quote-controls"></div>
<img alt="" width="24" height="24" src="https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/tristan/48/12307_2.png" class="avatar"> tristan:</div>
<blockquote>
<p>I’ve wanted to introduce this in rebar3 from the beginning but never got around to it. We have a big rework of the compiler in the works and hope it can be introduced then</p>
</blockquote>
</aside>
<p>Looks very promising!</p>
<aside class="quote no-group" data-username="dimitarvp" data-post="11" data-topic="28400">
<div class="title">
<div class="quote-controls"></div>
<img alt="" width="24" height="24" src="https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/dimitarvp/48/38664_2.png" class="avatar"> dimitarvp:</div>
<blockquote>
<p>True true. I didn’t account for all possibilities. A manual switch in the package itself ( <code>has_nif: true</code> for example?) could also help. Can’t imagine it being that hard to introduce and default to <code>false</code> if not present. As mentioned above, might make several NIF packages fight for your CPU cores but eh, is that a doomsday scenario?</p>
</blockquote>
</aside>
<p>Or <code>compile_parallel: false</code> to disable, or as I mentioned, allow package authors to specify if it supports being compiled in parallel with others. Additionally, like <code>extra_applications</code>, you could specify a allow/block-list to override parallel compiler compatibility.</p> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="159516" data-batch-url="/posts/batch_likers">
                        2
                      </span>
                      <!-- <span class="thread-count js-solved-indicator" title="Marked as solution"></span> -->
	                </div>
	                <div class="go-to-post">
	                  <a title="Go to post" alt="Go to post" href="https://forum.elixirforum.com/t/parallel-compiler-and-mix-dependencies/28400/12">Post #11</a>
	                </div>
	            </div>
              <div id="likers-container-159516" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="159516"
                     data-batch-url="/posts/batch_likers">
                  <div class="post-likers"></div>
                </div>
              </div>
	        </div>
			

    </div>

    <div class="triangle-top-right type-last-post cat-last-post" title="Last post!"></div>
  </section>
</div>
</template></turbo-stream><turbo-stream action="replace" target="load-more-container"><template><div id="load-more-container" class="load-more-container">
    <span class="all-loaded">— All posts loaded —</span>
</div></template></turbo-stream>