[erlang-questions] Erlang in the browser

Mike Oxford moxford@REDACTED
Tue Oct 25 22:36:31 CEST 2011

Forget javascript.  Forget Flash.  Forget java/Go/Dart/whatever.

Is anyone working on a stripped-down erlang VM to be run in a browser,
maybe as a plugin?

Download the .beam and run it instead of a script/jar.

httpc for ajax-style work, sockets already in place for websocket stuff.
Dupe the DOM and fire up V8 via port to handle LEGACY javascript sites.
Cross platform due to portability of beams, VM already compiles to all
of the significant platforms.
async actor model with lightweight processes and micro-heaps ... other
code looking to go here but Erlang already there

"fe" used for frontend, thinking that maybe it's a more extensible
name for anything "not web"

fe:update_item(TheDOM, button1, "new text") when is_dom(TheDOM). %% or
"button1" to save atoms
fe:ajax(MyCallback, URI).

It sounds like many of the building blocks are there...anyone already
moving on this?


More information about the erlang-questions mailing list