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


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

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<p>We use BERT (which is maybe outdated), but it works very well to talk between Ruby and Elixir.<br>
It’s fast, simple to implement and there are packages for Ruby, Python, Java and other languages.</p>
<p>It’s a pity that it’s quite neglected now. <img src="https://forum.elixirforum.com/images/emoji/apple/slight_frown.png?v=15" title=":slight_frown:" class="emoji" alt=":slight_frown:" 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="24916" 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/websockets-and-communicating-to-systems-built-with-other-languages/3775/12">Post #11</a>
	                </div>
	            </div>
              <div id="likers-container-24916" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="24916"
                     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 #11"></div>
  </section>
</div>
    <div class="postbit" id="24929" data-post-id="24929">
  <section>
    <div class="post-wrap">


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

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<p>No one seems to have mentioned Erlang Ports or the Interfaces.</p>
<p>I’ve used Erlang Ports to interface with Ruby in the past and it was quite easy and successful. <a href="http://erlang.org/doc/reference_manual/ports.html" rel="nofollow">Erlang Ports and Port Drivers</a>. There are also a couple of libs which making using Ports easier, like <code>erlport</code>.</p>
<p>For C you may use <a href="http://erlang.org/doc/tutorial/erl_interface.html" rel="nofollow">Erl_interface</a> and for Java there’s <a href="http://erlang.org/doc/apps/jinterface/jinterface_users_guide.html" rel="nofollow">JInterface</a>. I’ve used the Java one before and I thought it was pretty good. There’s a complete Erlang ↔ Java mapping of types, and Java nodes will be seen by the BEAM like if they were Erlang nodes.</p> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="24929" 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/websockets-and-communicating-to-systems-built-with-other-languages/3775/13">Post #12</a>
	                </div>
	            </div>
              <div id="likers-container-24929" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="24929"
                     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 #12"></div>
  </section>
</div>
    <div class="postbit" id="24930" data-post-id="24930">
  <section>
    <div class="post-wrap">


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

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<p>We have a N individual web applications which do not need to be on the same host and want to do communication between them. I do not think that ports are suitable for this-</p> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="24930" 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/websockets-and-communicating-to-systems-built-with-other-languages/3775/14">Post #13</a>
	                </div>
	            </div>
              <div id="likers-container-24930" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="24930"
                     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 #13"></div>
  </section>
</div>
    <div class="postbit" id="24933" data-post-id="24933">
  <section>
    <div class="post-wrap">


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

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<p>My thinking too, unless I don’t understand something about Ports.</p> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="24933" 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/websockets-and-communicating-to-systems-built-with-other-languages/3775/15">Post #14</a>
	                </div>
	            </div>
              <div id="likers-container-24933" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="24933"
                     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 #14"></div>
  </section>
</div>
    <div class="postbit" id="24944" data-post-id="24944">
  <section>
    <div class="post-wrap">


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

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<aside class="quote no-group quote-modified" data-username="sashaafm" data-post="13" data-topic="3775" data-full="true">
<div class="title">
<div class="quote-controls"></div>
<img alt="" width="24" height="24" src="https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/sashaafm/48/2636_2.png" class="avatar"> sashaafm:</div>
<blockquote>
<p>No one seems to have mentioned Erlang Ports or the Interfaces.</p>
<p>I’ve used Erlang Ports to interface with Ruby in the past and it was quite easy and successful. Erlang Ports and Port Drivers. There are also a couple of libs which making using Ports easier, like erlport.</p>
<p>For C you may use Erl_interface and for Java there’s JInterface. I’ve used the Java one before and I thought it was pretty good. There’s a complete Erlang &lt;-&gt; Java mapping of types, and Java nodes will be seen by the BEAM like if they were Erlang nodes.</p>
</blockquote>
</aside>
<p>Yeah 90% of the time I do a Port using the normal Erlang Term Format (there are libraries for it in about every language, and it is almost trivial to write your own as I’ve done a few times), 5% of the time I make another language into a Node, and the other 5% I’ve made a NIF.</p>
<p>But really, just using a Port with the normal erlang term format is so wonderful and easy to use while being nicely compact.</p>
<aside class="quote no-group" data-username="NobbZ" data-post="14" data-topic="3775" data-full="true">
<div class="title">
<div class="quote-controls"></div>
<img alt="" width="24" height="24" src="https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/nobbz/48/27235_2.png" class="avatar"> NobbZ:</div>
<blockquote>
<p>We have a N individual web applications which do not need to be on the same host and want to do communication between them. I do not think that ports are suitable for this-</p>
</blockquote>
</aside>
<p>If however they are web applications and already have, say, JSON communication points, just use the existing ones, if you need to make something new I’d use either JSON or the erlang term format (if a library exists there for it, which it does for Ruby as I recall).</p> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="24944" 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/websockets-and-communicating-to-systems-built-with-other-languages/3775/16">Post #15</a>
	                </div>
	            </div>
              <div id="likers-container-24944" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="24944"
                     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 #15"></div>
  </section>
</div>
    <div class="postbit" id="26327" data-post-id="26327">
  <section>
    <div class="post-wrap">


					<div class="post-header">
		        <div class="user-avatar">
		          <img alt="Ciboulette" src="https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/Ciboulette/120/12353_2.png" width="120" height="120" />
		        </div>
					
						<div class="user-details">
		          <div class="user-name">
		            <h3>
                  Ciboulette
                    <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>We finally choose RabbitMQ <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"> thx</p> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="26327" 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/websockets-and-communicating-to-systems-built-with-other-languages/3775/17">Post #16</a>
	                </div>
	            </div>
              <div id="likers-container-26327" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="26327"
                     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>