c++ - 绑定(bind)到底是什么意思?

标签 c++ python binding

当我实际使用他们的 C++ 库时,我总是看到人们提到“Python 绑定(bind)”和“C Sharp 绑定(bind)”等。绑定(bind)是什么意思?如果库是用 C 编写的,Python 绑定(bind)是否意味着他们使用 SWIG 类工具来模拟 Python 接口(interface)?

这个领域的新手,欢迎任何建议。

最佳答案

当有人谈论诸如库的“C# 绑定(bind)”之类的内容时,他们表示您和 API 是在 C# 中为以不同语言编写的库提供的。这可能涉及也可能不涉及 SWIG 等自动生成工具。

关于c++ - 绑定(bind)到底是什么意思?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/2632466/

相关文章:

c++ - pthread_join 是一个瓶颈

c++ - 根据用户输入定义缓存大小

c# - 表示数字序列的算法

c# - 将控件属性绑定(bind)到 Window ViewModel 类的属性

c# - 在 C# 中将复杂对象绑定(bind)到 DataTable 的单元格

c++ - 错误 : void value not ignored as it ought to be

python - 在python中按元素对数据结构进行排序

python - 将 JSON 参数作为字符串传递给 python hadoop 流应用程序

Silverlight:将动态数据绑定(bind)到 DataGrid

c++ - 创建一个 wxActiveXContainer