全部书籍

专业

应用 关于 Coach 登录 开始阅读

书籍暂未推出简体中文版——当前显示英文版。

Quantitative Finance · 术语表

什么是 Native extension, language binding?

又称: native extension · language binding

Definition 9.1 Research, Data and Risk Platforms · 第 9 章 — Native Extensions

A native extension is compiled code (C, C++, Rust) loaded into the Python process and called like a Python function. A language binding is the layer that makes it callable: it converts arguments and results between the two languages’ representations, reports errors across the boundary, and states who owns each piece of memory.

在原文中阅读 →