Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Does Erlang work on any non-x86 processors?

Tags:

erlang

Does Erlang work on any non-x86 platforms?

Microcontrollers for instance? I think it'd be neat to get a bunch of these and put Erlang code on them.

Or does it work on GPUs? With Erlangs concurrent nature, it should be able to properly use a GPU. Or is CUDA pretty much it (at least for NVidia cards)?

like image 621
samoz Avatar asked Jul 16 '09 17:07

samoz


2 Answers

erlang runs on anything that has gcc built for it just about. I have run it on mips, x86, ppc, and arm. It also runs on several vxworks platforms.

like image 55
mog Avatar answered Sep 29 '22 18:09

mog


Erlang is not a great fit for GPUs.

Erlang has multiple processes all doing different things. Each process is doing conditional branching and sequential ordered things that ordinary CPUs do well.

GPUs are good at having many things doing the same (but independent) operation on the the same bulk of data. Many GPUs have not even had support for branching. They were just performing a mathematical operation on input data points to get an output point.

like image 41
Christian Avatar answered Sep 29 '22 18:09

Christian