<div dir="ltr"><div><div>Hi,<br><br><div></div>If you know a bit about Yocto Project you could try this <a href="https://github.com/joaohf/meta-erlang">https://github.com/joaohf/meta-erlang</a><br><br></div>I am planning to do a tutorial about it soon.<br><br></div>Thanks<br> </div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Sep 18, 2017 at 1:28 AM, Lloyd R. Prentice <span dir="ltr"><<a href="mailto:lloyd@writersglen.com" target="_blank">lloyd@writersglen.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="auto"><div>Hi Richard,</div><div><br></div><div>So, on a server, it sounds like we're talking about:</div><div><br></div><div>11 MB for the OS</div><div>5 MB for stripped down Erlang based on Joe's work,</div><div>plus our application code.</div><div><br></div><div>Thanks to all for these numbers. </div><div><br></div><div>My question came out of a conversation with a friend re: how far we could push Erlang on a Raspberry Pi or Odroid C2 SBC.</div><div><br></div><div>It's interesting to look at the numbers for TinyCore on ARM:</div><div><br></div><div><a href="http://mirror.epn.edu.ec/tinycorelinux/arm.html" target="_blank">http://mirror.epn.edu.ec/<wbr>tinycorelinux/arm.html</a></div><div><br></div><div>Compressed, they seem to run in the 25MB range. Raspian zipped is some 4GB. So, on an RP server TinyCore seems to offer much.</div><div><br></div><div>This makes me think that a cluster of $5.00 RP Zeros would be viable and a great platform for exploring and teaching distributed Erlang.</div><div><br></div><div>All the best,</div><div><br></div><div>Lloyd</div><div><br></div><div><br><div>Sent from my iPad</div></div><div><div class="h5"><div><br>On Sep 17, 2017, at 9:55 PM, Richard A. O'Keefe <<a href="mailto:ok@cs.otago.ac.nz" target="_blank">ok@cs.otago.ac.nz</a>> wrote:<br><br></div><blockquote type="cite"><div><span></span><br><span>On 16/09/17 9:29 PM, Joe Armstrong wrote:</span><br><blockquote type="cite"><span>Old timer here :-)</span><br></blockquote><blockquote type="cite"><span></span><br></blockquote><blockquote type="cite"><span>Just out of interest how large is Apline? (in MB?)</span><br></blockquote><span></span><br><span>For what it's worth, TinyCore-8.0.iso is just under 17 MB.</span><br><span>Installed in VirtualBox and running, complete with GUI,</span><br><span>it's 21.7MB. That doesn't include development tools.</span><br><span>I note that just the</span><br><span>"OTP 20.0 HTML Documentation File (33,948,386)"</span><br><span>is bigger than this and</span><br><span>"OTP 20.0 Windows 32-bit Binary File (96,337,114)"</span><br><span>is a lot bigger.</span><br><span></span><br><span><a href="http://distro.ibiblio.org/tinycorelinux/intro.html" target="_blank">http://distro.ibiblio.org/<wbr>tinycorelinux/intro.html</a></span><br><span><a href="http://distro.ibiblio.org/tinycorelinux/downloads.html" target="_blank">http://distro.ibiblio.org/<wbr>tinycorelinux/downloads.html</a></span><br><span>The current Core (TinyCore minus GUI &c) is 11 MB.</span><br><span></span><br><span>Bringing in clang and its dependencies blows the system</span><br><span>out from 21.7 to 145.8 MB (+ 124.1 MB).</span><br><span>Adding gettext brought it to 148.0 MB (+ 2.2 MB).</span><br><span>Adding the manual pages and related tools brought</span><br><span>it up to 152.4 MB (+ 4.4 MB). Add a couple of text</span><br><span>editors (NOT including emacs, which I actually like)</span><br><span>and it's 161.4 MB (+ 9.0 MB).</span><br><span></span><br><span>So the actual TinyCore distribution is about 1/8th of</span><br><span>a fairly minimal development environment. I used to</span><br><span>run a full SunOS 3 environment on a 100 MB disc, and</span><br><span>40 MB of that was left over for my files. How times change.</span><br><span></span><br><span>I suspect that TinyCore plus enough to *run* Erlang could</span><br><span>be quite small by today's standards. Certainly you could</span><br><span>carry around TinyCore Linux + C development environment +</span><br><span>full Erlang distribution and run it comfortably from an</span><br><span>elderly memory stick.</span><br><span>______________________________<wbr>_________________</span><br><span>erlang-questions mailing list</span><br><span><a href="mailto:erlang-questions@erlang.org" target="_blank">erlang-questions@erlang.org</a></span><br><span><a href="http://erlang.org/mailman/listinfo/erlang-questions" target="_blank">http://erlang.org/mailman/<wbr>listinfo/erlang-questions</a></span><br></div></blockquote></div></div></div><br>______________________________<wbr>_________________<br>
erlang-questions mailing list<br>
<a href="mailto:erlang-questions@erlang.org">erlang-questions@erlang.org</a><br>
<a href="http://erlang.org/mailman/listinfo/erlang-questions" rel="noreferrer" target="_blank">http://erlang.org/mailman/<wbr>listinfo/erlang-questions</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr">João Henrique Ferreira de Freitas - <a href="http://joaohf_at_gmail.com" target="_blank">joaohf_at_gmail.com</a><br>Campinas-SP-Brasil</div></div>
</div>