Erlang port to the Java Virtual Machine

Robert Virding <>
Tue May 30 22:58:20 CEST 2006


Not having tail recursion is a serious problem, Erlang is not usable 
without it! If the underlying machine does not directly support it then 
you have to implement it yourself which means you have to go in at a 
lower level and do more work yourself.

Many years ago there were attempts to implement other high-level 
languages on the JVM, there may be recent ones but I don't know about 
them, check the literature to see how they managed. Erlang has similar 
problems.

Another major difficulty is that JVM tasking is too heavy for Erlang.

Robert

Andrew Lentvorski wrote:
> Has anyone done any work on porting Erlang to the JVM?
> 
> I know that the JVM is less than ideal (lack of tagged data types, lack 
> of tail recursion, problems with dispatch).  However, the JVM has some 
> advantages in terms of deployment, external OS control, and GUI 
> integration that would be useful even in a fully interpreted mode.
> 
> Thanks,
> -a
> 



More information about the erlang-questions mailing list