Does Erlang work on any non-x86 processors?

前端 未结 8 1474
醉酒成梦
醉酒成梦 2021-01-17 18:25

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

相关标签:
8条回答
  • 2021-01-17 18:48

    Erlang is open source, so it could be pretty much ported to anything you'd care to.

    http://en.wikipedia.org/wiki/Erlang_(programming_language)

    0 讨论(0)
  • 2021-01-17 18:49

    Yeah, Erlang is portable C, and has a history of running on all sorts of hardware. I keep thinking it would be a fun pet project to develop some hardware for a FPGA that could run BEAM instructions.

    0 讨论(0)
  • 2021-01-17 18:50

    Also, see: How do I make an already written concurrent program run on a GPU array? and GPGPU VM's: Any open source projects to port virtual machines onto graphics processing units?

    0 讨论(0)
  • 2021-01-17 18:51

    If you look at http://www.erlang.org/doc.html you see that erlang runs on telecom switches which mostly use non-x86 processors.

    Does this answer the question? On that site under faq are also instructions for a mailing list from where you probably get more specific answers.

    Hope this helps.

    0 讨论(0)
  • 2021-01-17 18:55

    I know for a fact that it runs on PowerPC, since I've used Erlang on my old iBook G4.

    0 讨论(0)
  • 2021-01-17 19:02

    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.

    0 讨论(0)
提交回复
热议问题