Erlang 可以在任何非 x86 处理器上运行吗?
Erlang 可以在任何非 x86 平台上运行吗?
例如微控制器? 我认为如果能得到一堆这样的东西并把 Erlang 代码放在上面就太好了。
或者它可以在 GPU 上运行吗? 凭借 Erlang 的并发特性,它应该能够正确使用 GPU。 或者 CUDA 就足够了(至少对于 NVidia 卡来说)?
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)?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(8)
erlang 可以运行在任何有 gcc 为其构建的东西上。 我已经在 mips、x86、ppc 和 arm 上运行过它。 它还可以在多个 vxworks 平台上运行。
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.
Erlang 不太适合 GPU。
Erlang 有多个进程,每个进程都做不同的事情。 每个进程都在执行普通 CPU 擅长的条件分支和顺序排序的操作。
GPU 擅长让许多事物对相同的数据量执行相同(但独立)的操作。 许多 GPU 甚至不支持分支。 他们只是对输入数据点执行数学运算以获得输出点。
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.
来自 R13B01 的源代码分发,“README”文件:
可移植性
Erlang/OTP 应该可以在任何 Unix 上从源代码构建
系统,包括 Mac OS X。
在 Windows 上从源代码构建的说明位于文件 README.win32 中。
Windows 的二进制版本可以在 http://www.erlang.org/ 找到。
在爱立信,我们有一个“每日构建和测试”运行于:
From the source distribution for R13B01, "README" file:
Portability
Erlang/OTP should be possible to build from source on any Unix
system, including Mac OS X.
Instructions for building from source on Windows are in the file README.win32.
Binary releases for Windows can be found at http://www.erlang.org/
At Ericsson we have a "Daily Build and Test" that runs on:
如果您查看 http://www.erlang.org/doc.html 您会看到erlang 运行在大多数使用非 x86 处理器的电信交换机上。
这能回答问题吗? 该网站上的常见问题解答下还提供了邮件列表的说明,您可以从其中获得更具体的答案。
希望这可以帮助。
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.
是的,Erlang 是可移植的 C 语言,并且有着在各种硬件上运行的历史。 我一直认为,为 FPGA 开发一些可以运行 BEAM 指令的硬件将是一个有趣的项目。
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.
Erlang 是开源的,因此它几乎可以移植到您想要的任何地方。
http://en.wikipedia.org/wiki/Erlang_(programming_language)
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)
我知道它在 PowerPC 上运行,因为我在我的旧 iBook G4 上使用过 Erlang。
I know for a fact that it runs on PowerPC, since I've used Erlang on my old iBook G4.
另请参阅:如何使已编写的并发程序在 GPU 阵列上运行? 和 GPGPU VM:是否有任何开源项目可以将虚拟机移植到图形处理单元上?
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?