[erlang-questions] Erlang in the browser

Joe Armstrong <>
Tue Jan 31 10:24:04 CET 2012


Wow - ultra interesting.

Just out of curiosity - how do you represent lists and tuples in JS?
Are they represented
as  native JS objects or as objects on the beam stack and heap? And if
they are native JS objects what is the storage overhead of a
list-cell?

/Joe


On Mon, Jan 30, 2012 at 10:14 PM, Fredrik Svahn <> wrote:
> There is also http://svahne.github.com/browserl, a small script which
> I wrote just for fun.
>
> Short version: it is an Erlang emulator in javascript, which can load
> and run an Erlang/OTP system from a tar file with ordinary beam files.
> It can also load and execute individual beam files. It will run common
> test and successfully complete some OTP test suites (the test suites
> are not loaded in the example page, though). Files, binaries, ets and
> floats are work in progress, at the moment they are only supported to
> the extent needed to boot the system and run common test.
>
> BR /Fredrik
>
>
> On Tue, Nov 29, 2011 at 12:47 AM, Raoul Duke <> wrote:
>> wow.
>> _______________________________________________
>> erlang-questions mailing list
>> 
>> http://erlang.org/mailman/listinfo/erlang-questions
> _______________________________________________
> erlang-questions mailing list
> 
> http://erlang.org/mailman/listinfo/erlang-questions



More information about the erlang-questions mailing list