Joseph Stewart | 5 Jul 19:07

Re: Small Erlang VM

Don't know if this helps, but there's a project leveraging the concurrency in the Occam-pi language by running a transputer interpreter on the Lego Mindstorm NXT and RCX(!!).

More details at:

http://www.transterpreter.org/

I'm a fairly new follower of this mailing list. Has the topic of transputers come up before? My understanding of the transputer architecture (and by consequence the transterpreter) is that it's stack-based rather than register-based... so performance may suffer compared to the Erlang VM.

-joe

If it ain't broke, break it. How else are you going to figure out how it works?

2008/7/3 Edwin Fine <erlang-questions_efine <at> usa.net>:
Good luck!! Who knows, maybe you will create a "picoErlang" :)


On Thu, Jul 3, 2008 at 6:22 PM, Alpár Jüttner <alpar <at> cs.elte.hu> wrote:
On Thu, 2008-07-03 at 12:52 -0400, Edwin Fine wrote:
> I understand why you would want to use Erlang, but instead of writing
> an entire interpreter with all the complexity that entails, would you
> consider using another language that is very good in extremely
> resource-restricted environments? FORTH comes to mind. If you just
> want to Get Things Done, that is;

I don't think so. For example I'm working on a controlling application
which could probably run on the weakest possible hardware, but would be
a great struggle to implement in any sequential programming language
(because I need the various timers and complex scheduling of action and
handing of events).

For these kinds of tasks, Erlang fits extremely well. I think a
lightweight version of the erlang emulator could find a lot of
applications in this area.

Best regards,
Alpar





--
The great enemy of the truth is very often not the lie -- deliberate, contrived and dishonest, but the myth, persistent, persuasive, and unrealistic. Belief in myths allows the comfort of opinion without the discomfort of thought.
John F. Kennedy 35th president of US 1961-1963 (1917 - 1963)

_______________________________________________
erlang-questions mailing list
erlang-questions <at> erlang.org
http://www.erlang.org/mailman/listinfo/erlang-questions

<div>
<p>Don't know if this helps, but there's a project leveraging the concurrency in the Occam-pi language by running a transputer interpreter on the Lego Mindstorm NXT and RCX(!!).<br><br>More details at:<br><br><a href="http://www.transterpreter.org/">http://www.transterpreter.org/</a><br><br>I'm a fairly new follower of this mailing list. Has the topic of transputers come up before? My understanding of the transputer architecture (and by consequence the transterpreter) is that it's stack-based rather than register-based... so performance may suffer compared to the Erlang VM.<br><br>-joe<br><br clear="all">If it ain't broke, break it. How else are you going to figure out how it works?
<br><br></p>
<div class="gmail_quote">2008/7/3 Edwin Fine &lt;<a href="mailto:erlang-questions_efine <at> usa.net">erlang-questions_efine <at> usa.net</a>&gt;:<br><blockquote class="gmail_quote">
Good luck!! Who knows, maybe you will create a "picoErlang" :)<div class="Ih2E3d">
<br><br><div class="gmail_quote">On Thu, Jul 3, 2008 at 6:22 PM, Alp&aacute;r J&uuml;ttner &lt;<a href="mailto:alpar <at> cs.elte.hu" target="_blank">alpar <at> cs.elte.hu</a>&gt; wrote:<br><blockquote class="gmail_quote">
<div>On Thu, 2008-07-03 at 12:52 -0400, Edwin Fine wrote:<br>
&gt; I understand why you would want to use Erlang, but instead of writing<br>
&gt; an entire interpreter with all the complexity that entails, would you<br>
&gt; consider using another language that is very good in extremely<br>
&gt; resource-restricted environments? FORTH comes to mind. If you just<br>
&gt; want to Get Things Done, that is;<br><br>
</div>I don't think so. For example I'm working on a controlling application<br>
which could probably run on the weakest possible hardware, but would be<br>
a great struggle to implement in any sequential programming language<br>
(because I need the various timers and complex scheduling of action and<br>
handing of events).<br><br>
For these kinds of tasks, Erlang fits extremely well. I think a<br>
lightweight version of the erlang emulator could find a lot of<br>
applications in this area.<br><br>
Best regards,<br>
Alpar<br><br><br>
</blockquote>
</div>
<br><br clear="all"><br>
</div>
<div>
<div></div>
<div class="Wj3C7c">-- <br>The great enemy of the truth is very often not the lie -- deliberate, contrived and dishonest, but the myth, persistent, persuasive, and unrealistic. Belief in myths allows the comfort of opinion without the discomfort of thought.<br>

John F. Kennedy 35th president of US 1961-1963 (1917 - 1963)
</div>
</div>
<br>_______________________________________________<br>
erlang-questions mailing list<br><a href="mailto:erlang-questions <at> erlang.org">erlang-questions <at> erlang.org</a><br><a href="http://www.erlang.org/mailman/listinfo/erlang-questions" target="_blank">http://www.erlang.org/mailman/listinfo/erlang-questions</a><br>
</blockquote>
</div>
<br>
</div>

Gmane