2 Repos
Systems that translate managed objects into native C-style memory layouts like structs and unions.
Distinct from Virtual Memory Mappers: Focuses on the mapping of data structures for interoperability, not virtual memory page management or lifecycle tracking.
Explore 2 awesome GitHub repositories matching operating systems & systems programming · Native Memory Mappers. Refine with filters or upvote what's useful.
JNA is a foreign function interface and native memory mapper that allows Java applications to call functions in shared native libraries without writing custom JNI wrapper code. It serves as a JNI alternative framework for invoking C functions and mapping native data structures using high-level interfaces. The library distinguishes itself through its ability to translate Java objects and primitives into C-style structs, unions, and pointers for cross-platform memory exchange. On Windows, it provides a dedicated toolkit for interacting with Component Object Model objects using both early and la
Translates Java objects and primitives into C-style structs, unions, and pointers for cross-platform memory exchange.
JavaCPP ist eine JNI-C++-Brücke und ein Foreign Function Interface, das einen Binding-Generator, einen Native-Library-Loader und einen Native-Memory-Manager bereitstellt. Es automatisiert die Erstellung von Java-Wrappern um native C++-Header und Shared-Libraries, um Interoperabilität zwischen beiden Sprachen zu ermöglichen. Das Projekt bietet einen C++-Binding-Generator, der Header-Dateien parst, um automatisch den notwendigen Glue-Code und die Interfaces für den Aufruf nativer Funktionen zu produzieren. Es enthält einen Native-Library-Loader, der plattformspezifische Binärdateien vom Classpath in einen lokalen Cache für die Laufzeitausführung lokalisiert und extrahiert. Das System verwaltet hochperformanten nativen Speicherzugriff durch direktes Pointer-Mapping und Ressourcen-Tracking, um Memory-Leaks zu verhindern. Es handhabt komplexes Type-Mapping für C++-Datenstrukturen und unterstützt natives Callback-Mapping, um Funktionszeiger mit Java-Methoden zu verknüpfen. Das Toolset ermöglicht den Ersatz verwalteter Methoden durch C++- oder Assembly-Implementierungen, um die Ausführungszeit zu optimieren und den Ressourcen-Overhead zu reduzieren.
Provides high-performance memory access by mapping managed objects to native C-style memory layouts using direct pointers.