在Python中使用C++以提高运算性能

  1. Python C API:提供了一种利用C++编写Python模块的方式
  2. Python pybind11库:提供了一种将现有C++函数封装为接口以供Python调用的方式

https://zhuanlan.zhihu.com/p/345158763

posted @ 2022-08-24 15:15  neumy  阅读(64)  评论(0)    收藏  举报