Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is there an Erlang implementation for Android?

Tags:

android

erlang

I know of many languages that can be used on Android to build apps, most of them JVM-related, but I have not been able to find an Erlang implementation for it.

Is there a port of Erlang for Android?

If there is not a good port available, how would one go about making such a port?

like image 773
Philip Conrad Avatar asked Aug 30 '13 22:08

Philip Conrad


People also ask

How do I install Erlang on SL4A?

You need to install the new APK, which can be used to download the actual Erlang binaries. This app installs a small version of Erlang (i.e. erlang_R16.zip) for use with SL4A. First install SL4A, then this app, then run this app to install Erlang/OTP and use SL4A to run your Erlang code. Using the app you can add OTP applications from a repository.

What is HIPE Erlang?

High Performance Erlang (HiPE) is part of ordinary Open Source Erlang. It allows compiling Erlang modules to native code. Erjang is an experimental Erlang VM implemented in Java. Erlang to Scheme Compiler (ETOS).

How do I set up OTP in Erlang?

Using the app you can add OTP applications from a repository. From the main screen you can select the menu option "Settings" to specify extra command line arguments that will be used when Erlang is started.

What is Erlang Jam?

This was the original Erlang virtual machine, inspired by the (Prolog) WAM. JAM stands for "Joe's Abstract Machine". This was an attempt to compile Erlang to C, and then compile the C to native code. It was abandoned after benchmarking showed that the resulting code was only faster than VM-based Erlang for small programs.


1 Answers

Try this: http://code.google.com/p/erlang4android/

You need to install the new APK, which can be used to download the actual Erlang binaries.

This app installs a small version of Erlang (i.e. erlang_R16.zip) for use with SL4A.

First install SL4A, then this app, then run this app to install Erlang/OTP and use SL4A to run your Erlang code.

Using the app you can add OTP applications from a repository.

From the main screen you can select the menu option "Settings" to specify extra command line arguments that will be used when Erlang is started. For example, to start distribution, specify "-name [email protected] -setcookie mysecretcookie" (without the quotes and with relevant values).

updated

Here is a good instruction regarding building Erlang for Android

like image 149
fycth Avatar answered Oct 22 '22 19:10

fycth