Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

Could the Java Virtual Machine be used to run Erlang?

Erlang Java Machine run Used virtual
0
10 Posted

Could the Java Virtual Machine be used to run Erlang?

0

Yes, and it would be rather nice to be able to benefit from the considerable effort being put into making the JVM go faster. There are a couple of obstacles: the JVM does not provide support for tail recursion or tagged data types. Both of these deficiencies can be worked around at a cost. The result will probably be slower and use more memory than a VM written for Erlang. Other languages with roughly similar characteristics to Erlang have been written to run on the JVM. Benchmarks from such systems (e.g. KAWA) show a significant performance penalty from running on the JVM.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.