将Erlang与C ++集成 [英] Integrating Erlang with C++
本文介绍了将Erlang与C ++集成的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
有什么界面可以将Erlang与C ++绑定?
What interfaces exist to tie Erlang with C++?
推荐答案
-
本地实现的函数:在最新的Erlang / OTP版本中可用,允许您在C中实现任何函数
Native implemented functions: available in the latest Erlang/OTP version, allows you to implement any of your functions in C.
端口驱动程序:您可以将C代码链接到Erlang VM,然后使用port_command访问它。
Port drivers: you can link a C code to the Erlang VM, and access it using port_command.
C节点:使用 ei 库,您可以模仿VM,并使用Erlang分发格式与您的Erlang VM交谈。
C Nodes: With the ei library you can mimic a VM and talk to your Erlang VMs using the Erlang distribution format.
这篇关于将Erlang与C ++集成的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文