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


					<div class="post-header">
		        <div class="user-avatar">
		          <img alt="LostKobrakai" src="https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/LostKobrakai/120/3072_2.png" width="120" height="120" />
		        </div>
					
						<div class="user-details">
		          <div class="user-name">
		            <h3>
                  LostKobrakai
                  </h3>
		          </div>
						
						</div>
					
					</div>

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<p>Just a few links in regards to type systems in elixir and on the beam in general:</p>
<div class="youtube-onebox lazy-video-container" data-video-id="suOzNeMJXl0" data-video-title="ElixirConf 2018 - Opening Keynote - The Next Five Years - Jose Valim" data-video-start-time="2590" data-provider-name="youtube">
  <a href="https://www.youtube.com/watch?v=suOzNeMJXl0&amp;t=2590" target="_blank" class="video-thumbnail" rel="noopener nofollow">
    <img class="youtube-thumbnail" src="https://img.youtube.com/vi/suOzNeMJXl0/maxresdefault.jpg" title="ElixirConf 2018 - Opening Keynote - The Next Five Years - Jose Valim" width="690" height="388">
  </a>
</div>

<p><a href="https://github.com/josefs/Gradualizer" class="onebox" target="_blank" rel="noopener nofollow">https://github.com/josefs/Gradualizer</a></p>
<aside class="quote" data-post="222" data-topic="20349">
  <div class="title">
    <div class="quote-controls"></div>
    <img alt="" width="24" height="24" src="https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/mchean/48/6820_2.png" class="avatar">
    <div class="quote-title__text-content">
      <a href="https://forum.elixirforum.com/t/gleam-a-statically-typed-language-for-the-erlang-vm/20349/222" rel="nofollow">Gleam, a statically typed language for the Erlang VM</a> <a class="badge-category__wrapper " href="/c/erlang-beam-forum-archived/erlang-chat/86" rel="nofollow"><span data-category-id="86" style="--category-badge-color: #C58994; --category-badge-text-color: #FFFFFF; --parent-category-badge-color: #7F0427;" data-parent-category-id="84" data-drop-close="true" class="badge-category --style-square --has-parent" title="Erlang &amp; Beam Chat"><span class="badge-category__name">Chat / Discussions (archived)</span></span></a>
    </div>
  </div>
  <blockquote>
    Where is the Windows binary?
  </blockquote>
</aside>

<p><a href="https://github.com/alpaca-lang/alpaca" class="onebox" target="_blank" rel="noopener nofollow">https://github.com/alpaca-lang/alpaca</a></p> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="170192" data-batch-url="/posts/batch_likers">
                        3
                      </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/is-it-possible-to-declare-a-generic-type/19209/32">Post #31</a>
	                </div>
	            </div>
              <div id="likers-container-170192" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="170192"
                     data-batch-url="/posts/batch_likers">
                  <div class="post-likers"></div>
                </div>
              </div>
	        </div>
			

    </div>

    <div class="triangle-top-right type-standard-post cat-standard-post" title="Post #31"></div>
  </section>
</div>
    <div class="postbit" id="170291" data-post-id="170291">
  <section>
    <div class="post-wrap">


					<div class="post-header">
		        <div class="user-avatar">
		          <img alt="bottlenecked" src="https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/bottlenecked/120/11338_2.png" width="120" height="120" />
		        </div>
					
						<div class="user-details">
		          <div class="user-name">
		            <h3>
                  bottlenecked
                  </h3>
		          </div>
						
						</div>
					
					</div>

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<p>Not to mention the latest efforts of the facebook team towards a typed Erlang <a href="https://www.facebook.com/careers/jobs/229713254864749?_rdc=1&amp;_rdr" rel="noopener nofollow ugc">https://www.facebook.com/careers/jobs/229713254864749?_rdc=1&amp;_rdr</a> (or something like that anyway, not sure about the exact direction of this work)</p> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="170291" data-batch-url="/posts/batch_likers">
                        1
                      </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/is-it-possible-to-declare-a-generic-type/19209/33">Post #32</a>
	                </div>
	            </div>
              <div id="likers-container-170291" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="170291"
                     data-batch-url="/posts/batch_likers">
                  <div class="post-likers"></div>
                </div>
              </div>
	        </div>
			

    </div>

    <div class="triangle-top-right type-standard-post cat-standard-post" title="Post #32"></div>
  </section>
</div>
    <div class="postbit" id="170423" data-post-id="170423">
  <section>
    <div class="post-wrap">


					<div class="post-header">
		        <div class="user-avatar">
		          <img alt="dimitarvp" src="https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/dimitarvp/120/38664_2.png" width="120" height="120" />
		        </div>
					
						<div class="user-details">
		          <div class="user-name">
		            <h3>
                  dimitarvp
                  </h3>
		          </div>
						
						</div>
					
					</div>

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<aside class="quote no-group" data-username="jmnsf" data-post="29" data-topic="19209">
<div class="title">
<div class="quote-controls"></div>
<img alt="" width="24" height="24" src="https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/jmnsf/48/16984_2.png" class="avatar"> jmnsf:</div>
<blockquote>
<p>Well alright, lets just not implement any improvements and consider any feedback unless they’re accompanied with a full PR by someone external to the project <img src="https://forum.elixirforum.com/images/emoji/apple/wink.png?v=15" title=":wink:" class="emoji" alt=":wink:" loading="lazy" width="20" height="20"></p>
</blockquote>
</aside>
<p>It’s not that. It’s just that people often come here and ask that question as if nobody ever thought of that. <img src="https://forum.elixirforum.com/images/emoji/apple/smiley.png?v=15" title=":smiley:" class="emoji" alt=":smiley:" loading="lazy" width="20" height="20"></p>
<p>I have been met with similar reactions when speaking with OCaml people – the gist was: “yeah yeah we know, we don’t have multicore support and are still working on it, it will be ready when it’s ready”.</p>
<p>Elixir is my favourite language amongst at least 10 I worked with plus tried as a hobby. But yep, the lack of static typing becomes a noticeable minus the longer you work with it.</p>
<p>There are initiatives under way already but it might be years. I’d say realistically whoever loves and likes to work with Elixir should prepare mentally for the extra effort that’s required to alleviate the lack of static typing.</p> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="170423" data-batch-url="/posts/batch_likers">
                        1
                      </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/is-it-possible-to-declare-a-generic-type/19209/34">Post #33</a>
	                </div>
	            </div>
              <div id="likers-container-170423" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="170423"
                     data-batch-url="/posts/batch_likers">
                  <div class="post-likers"></div>
                </div>
              </div>
	        </div>
			

    </div>

    <div class="triangle-top-right type-standard-post cat-standard-post" title="Post #33"></div>
  </section>
</div>
    <div class="postbit" id="170719" data-post-id="170719">
  <section>
    <div class="post-wrap">


					<div class="post-header">
		        <div class="user-avatar">
		          <img alt="lessless" src="https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/lessless/120/6719_2.png" width="120" height="120" />
		        </div>
					
						<div class="user-details">
		          <div class="user-name">
		            <h3>
                  lessless
                    <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">
								<p>Nope, things like this are pretty much still impossible according to my understanding  <a href="https://play.rust-lang.org/?version=stable&amp;mode=debug&amp;edition=2018&amp;gist=4c98b36021183b540f55bf4e8c24a55f" class="inline-onebox" rel="noopener nofollow ugc">Rust Playground</a></p>
<p>I’m talking about line 14 - <code>fn print_quantity(order: OrderQuantity)</code>. It’s possible to give design a different spin, but sometimes it can mean twisting abstractions to match tool’s abilities.</p>
<p>The closest answer was provided by blatyi <a href="https://forum.elixirforum.com/t/is-it-possible-to-declare-a-generic-type/19209/10" class="inline-onebox" rel="nofollow">Is it possible to declare a generic type? - #10 by blatyo</a></p>
<p>I’ve read on Twitter that folks at WhatsApp might be working on something up that avenue. Maybe <a class="mention" href="/u/michalmuskala" rel="nofollow">@michalmuskala</a> can enlight us or shed the gossip hehe <img src="https://forum.elixirforum.com/images/emoji/apple/slight_smile.png?v=15" title=":slight_smile:" class="emoji" alt=":slight_smile:" loading="lazy" width="20" height="20"></p> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="170719" data-batch-url="/posts/batch_likers">
                        1
                      </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/is-it-possible-to-declare-a-generic-type/19209/35">Post #34</a>
	                </div>
	            </div>
              <div id="likers-container-170719" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="170719"
                     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>