Todos os livros

Profissional

Apps Sobre Coach Entrar Começar a ler

Quantitative Finance · Glossário

O que é Native extension, language binding?

Também chamado de: native extension · language binding

Definition 9.1 Research, Data and Risk Platforms · Capítulo 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.

Ler no capítulo →