2 repositorios
The process of building high-performance extensions in compiled languages for use within a scripting environment.
Distinct from Extension Module Compilers: Broader than C++ specifically; covers building native modules in any compiled language for the runtime.
Explore 2 awesome GitHub repositories matching development tools & productivity · Native Module Development. Refine with filters or upvote what's useful.
node-ffi es una biblioteca de interfaz de funciones externas (FFI) para Node.js que permite llamar a funciones desde bibliotecas dinámicas nativas en C sin escribir bindings manuales en C++. Funciona como un sistema para cargar objetos compartidos y DLLs en la memoria del proceso, traduciendo valores de JavaScript a representaciones binarias y ejecutando binarios externos en tiempo de ejecución. El proyecto utiliza un wrapper alrededor de la biblioteca libffi para construir marcos de llamada y ejecutar funciones nativas con argumentos dinámicos. Se distingue por proporcionar un gestor de memoria nativo para asignar punteros crudos y un sistema de mapeo que conecta estructuras complejas de C con objetos de JavaScript. El kit de herramientas cubre una amplia gama de capacidades de interoperabilidad nativa, incluyendo la traducción automática de tipos de datos y la creación de stubs de memoria ejecutables que permiten a las bibliotecas nativas activar callbacks de JavaScript. Para mantener la capacidad de respuesta del hilo principal, admite un modelo de ejecución asíncrono que descarga las llamadas a funciones nativas a un pool de hilos separado.
Enables the execution of high-performance native code to expand the capabilities of the JavaScript runtime.
Cinder is a high-performance Python runtime implementation based on CPython. It is designed as an execution environment optimized for large-scale distributed systems and cloud environments. The project integrates a distributed memory cache and an asynchronous memory layer to manage data across multiple network nodes. It also provides a native C extension framework for developing high-performance compiled modules that link directly into the interpreter memory space. The system covers capabilities for asynchronous data retrieval, large-scale execution, and the integration of embedded scripting
Provides the framework to build high-performance native extensions in compiled languages for import into the runtime.