[erlang-questions] JavaScript compiler for Erlang

David Mercer <>
Fri Jul 13 20:21:30 CEST 2007

True, it is quite annoying to have to code AJAX with event handlers as
opposed to just writing code linearly as you would in Erlang.  That,
however, would justify compiling Erlang to Javascript, instead of vice
cersa, so you can write your code in Erlang but distribute it to browsers in
a language they understand.

So my question stands: other than for intellectual edification, why would
you compile Javascript to Erlang?  I'm not asking rhetorically; I'm hoping
the answer will cause me to think about it on my drive home this evening...


-----Original Message-----
[mailto:] On Behalf Of Charles Forsyth
Sent: Friday, July 13, 2007 12:40
Subject: Re: [erlang-questions] JavaScript compiler for Erlang

> being said, since most Javascript development is done for the browser,
> concurrent programming isn't as big an issue for most Javascript
> programmers, ...

that's changing: most interactive environments are concurrent environments,
although the support
for it in Javascript seems dismal.  (but then, it's dismal in most windowing
systems, too.)
that seems to force slightly unusual approaches
(but those might anyway be interesting in themselves), such as:

MapJAX: Data Structure Abstractions for Asynchronous Web Applications

erlang-questions mailing list


More information about the erlang-questions mailing list