28 Repos
Mechanisms for exchanging large data arrays between managed and native memory using direct buffers.
Distinct from Shared Memory Data Exchange: Distinct from general shared memory exchange: focuses on Java-to-native array transfer.
Explore 28 awesome GitHub repositories matching data & databases · Direct Memory Data Transfer. Refine with filters or upvote what's useful.
Sharp is a high-performance image processing library for Node.js. It serves as a native extension and wrapper for the libvips framework, providing tools for image resizing, format conversion, and programmatic data manipulation. The project enables the transformation of images into web-friendly formats such as WebP and AVIF while preserving color profiles and alpha channels. It also provides capabilities for generating blank image buffers with specified dimensions and background colors. The library covers a broad range of image manipulation utilities, including rotation, extraction, compositi
Implements direct memory data transfer between the Node.js heap and native memory for high-performance image data handling.
This project is a comprehensive JavaScript programming tutorial and language reference. It serves as a web development education resource providing instruction on modern language fundamentals, object-oriented design, and advanced asynchronous programming patterns. The resource functions as both a frontend development guide and a technical reference. It covers core language features such as closures, prototypes, promises, and typed arrays, while providing practical lessons on managing browser data and handling network requests. The content spans several key capability areas, including browser
Teaches the use of fixed-type views over raw binary buffers to handle numeric data.
LibGDX is a Java-based framework designed for cross-platform game development, enabling the creation and deployment of 2D and 3D games across desktop, mobile, and web environments from a single codebase. It functions as a comprehensive library that abstracts hardware-accelerated graphics, audio, input, and file system access, providing a unified interface for developers to manage game logic and application lifecycles. The framework distinguishes itself through a high-performance architecture that prioritizes efficiency and native interoperability. It utilizes a batch-oriented graphics pipelin
Exchanges large data arrays between Java and native code using direct memory buffers to minimize overhead.
This library is a JavaScript framework for general-purpose computing on graphics processing units. It enables the execution of parallel mathematical operations directly within the browser by offloading data-heavy calculations to graphics hardware. The project functions as a web-based math accelerator that converts standard JavaScript functions into shader code for execution on the graphics processor. It provides a unified interface that detects available graphics APIs and manages data transfer between system and graphics memory. To ensure compatibility across diverse environments, the library
Manages data transfer between system and graphics memory using structured buffers to minimize latency.
sql.js is a serverless, in-memory SQL database engine that ports SQLite to WebAssembly for use within a web browser. It provides a JavaScript interface to initialize relational databases, execute SQL queries, and manage structured data without requiring a backend server. The project enables the import and export of database states using typed arrays, allowing in-memory data to be persisted as files. It supports high-precision integer retrieval via BigInt and utilizes prepared statements to increase execution speed and security. The engine includes capabilities for client-side data management
Uses JavaScript typed arrays to map the database's linear memory and internal state for efficient access.
LearningNotes ist eine technische Wissensdatenbank und ein Engineering-Studienleitfaden, der sich auf Android-Framework-Interna, Systemarchitektur und mobile Leistungsoptimierung konzentriert. Er dient als Referenz für die Analyse der Android-Boot-Sequenz, des Prozess-Bootstrappings und der Initialisierung von Systemdiensten. Das Projekt bietet detaillierte Anleitungen zur mobilen Leistung, einschließlich Strategien zur Reduzierung von Speicher-Footprints, zur Identifizierung von Speicherlecks und zur Optimierung der Bilddekodierung. Es deckt zudem die Android-Inter-Prozess-Kommunikation mittels AIDL und dem Binder-Kernel-Treiber ab sowie Softwarearchitektur-Handbücher zur Entkopplung von Geschäftslogik von Benutzeroberflächen durch Muster wie MVVM und MVP. Über die mobile Entwicklung hinaus enthält das Repository eine Informatik-Wissensdatenbank zur Vorbereitung auf technische Vorstellungsgespräche, die Datenstrukturen, Algorithmen und Betriebssystemkonzepte abdeckt. Es bietet zudem eine praktische Referenz für die Git-Versionskontrolle, die Repository-Management, Synchronisierung und Branching-Workflows detailliert beschreibt.
Reduces data copying overhead during cross-process communication by mapping memory between kernel and user spaces.
xLua is a scripting bridge and C++ wrapper used to embed the Lua language into host applications. It facilitates bidirectional data exchange and function calls between scripts and the host environment. The project includes a runtime patching tool for replacing application logic and fixing bugs without requiring a system restart. It features a coroutine orchestrator that wraps asynchronous operations into linear code and a script validator that verifies digital signatures to ensure code authenticity and integrity before execution. To minimize memory overhead and garbage collection, the system
Passes complex data structures via raw memory pointers to avoid expensive object allocation and garbage collection overhead.
This project is a collection of PyTorch learning resources and educational guides designed to teach the construction and training of neural networks. It serves as a comprehensive deep learning tutorial covering various model architectures and practical implementation strategies. The resources provide specific guidance on implementing computer vision tasks, such as image classification and synthetic imagery generation, as well as reinforcement learning agents using value networks and experience replay. It also covers sequential data modeling through recurrent networks and generative modeling u
Provides utilities for transferring tensors between GPU and CPU memory to enable operations not supported on graphics hardware.
JerryScript is a lightweight, ECMAScript-compliant JavaScript engine and bytecode compiler designed for resource-constrained devices. It serves as an embedded interpreter and IoT scripting runtime, enabling the execution of JavaScript code within native C applications on hardware with limited memory. The project differentiates itself through a focus on low-memory runtime management, utilizing bytecode precompilation and pre-compiled state snapshots to reduce startup time and memory overhead. It features a C-binding native bridge for bidirectional communication between native code and scripts,
Constructs JavaScript typed arrays directly from raw memory buffers using specific offsets and lengths.
sjcl is a JavaScript cryptography library providing a collection of primitives for encryption, hashing, and encoding within a web browser. It functions as an AES symmetric encryption tool, a cryptographic hashing library, and a Base32 data encoder. The project provides implementations for the Advanced Encryption Standard to secure data through symmetric key encryption and decryption. It also enables the generation of fixed-length data fingerprints to verify information integrity and authenticity. The library covers a broader range of security capabilities, including client-side data hashing,
Uses JavaScript typed arrays to manage raw bytes and binary buffers for efficient memory access.
Goja is a JavaScript engine and ECMAScript compliant interpreter implemented entirely in Go. It serves as an embedded scripting engine that allows Go applications to execute JavaScript code and integrate a programmable scripting layer without relying on Cgo or external native dependencies. The project functions as a bridge between Go and JavaScript, enabling bidirectional data exchange and function invocation. It allows Go hosts to expose native structs, slices, and maps as JavaScript objects and arrays, while providing mechanisms to export script values and functions back into native Go type
Handles fixed-length binary data buffers and views using standardized integer array types.
This project is a learning guide and collection of study notes designed to teach Node.js backend development. It provides a comprehensive core API reference and practical demonstrations for implementing server-side logic, network programming, and system APIs. The guide specifically covers advanced technical domains including process management for scaling applications via clusters and child processes, as well as network programming for building TCP, UDP, and HTTP services. It also includes detailed instructional material on security implementation, focusing on cryptographic hashing and encryp
Implements raw byte handling using binary buffers for memory-efficient data manipulation.
Transfers decoded image data directly to CV-CUDA, PyTorch, or CuPy without copying through host memory.
Pako is a pure JavaScript compression library that ports the C zlib library to JavaScript, providing deflate and gzip compression and decompression capabilities. It runs in both browser and Node.js environments by using typed arrays and universal JavaScript, avoiding platform-specific APIs for cross-platform compatibility. The library handles data through bitwise operations for Huffman coding and LZ77 matching, and automatically encodes string inputs to UTF-8 before compression while decoding them back on decompression. It supports streaming chunk-based processing, allowing incremental data h
Uses Uint8Array for raw binary data input and output, avoiding string conversions for performance.
ssh2 is a JavaScript implementation of the SSH2 protocol for Node.js, providing the core components necessary to create secure clients and servers. It enables the establishment of authenticated sessions for remote server automation and secure communication. The project distinguishes itself by providing a complete suite of tools for identity management, including utilities for generating and parsing cryptographic key pairs and integrating with external authentication agents. It also functions as a tunneling proxy capable of routing TCP, HTTP, X11, and SOCKSv5 network traffic through encrypted
Implements low-level binary parsing using buffers to handle the SSH protocol's packet structures.
gl-matrix is a high-performance JavaScript library for vector and matrix math, purpose-built for real-time 3D graphics and physics simulations. It stores all vectors and matrices as typed arrays (Float32Array or Float64Array) in column-major order, matching the memory layout expected by OpenGL and WebGL shaders without requiring transposition. The library is implemented from scratch with zero external dependencies, keeping its bundle size minimal for web and Node.js environments. The library distinguishes itself through its immutable operation pattern, where each math function returns a new t
Computes vector and matrix operations with typed arrays for high-performance 3D graphics and physics calculations.
wxBot ist ein Framework und Toolkit für die Automatisierung von WeChat-Nachrichten. Es bietet eine programmatische Schnittstelle zum Senden und Empfangen von Nachrichten und ermöglicht die Erstellung und Bereitstellung automatisierter Chatbots und Social-Media-Bots innerhalb der WeChat-Plattform. Das System integriert externe Dienste und Skripte, um chatbasierte Workflows und Benutzerkommunikation zu automatisieren. Es ermöglicht den programmatischen Betrieb von Bots, um Konversationen und Benachrichtigungen automatisch zu handhaben.
Implements binary packet parsing to decode structured data from the WeChat network buffer.
SynapseML ist eine Apache Spark Machine-Learning-Bibliothek, die für den Aufbau und die Skalierung von Machine-Learning-Workflows und Datenpipelines über verteilte Cluster hinweg entwickelt wurde. Sie dient als Framework für verteilte Machine-Learning-Pipelines und als verteilte Inferenz-Engine zur Ausführung hardwarebeschleunigter Vorhersagen und Deep-Learning-Aufgaben auf großskaligen Datensätzen. Das Projekt fungiert als Cloud-KI-Integrationsschicht, die es Benutzern ermöglicht, vortrainierte KI-Dienste für Text, Bild und Sprache innerhalb verteilter Pipelines anzuwenden. Es enthält zudem eine dedizierte Suite von Tools für verteilte Anomalieerkennung, um multivariate und Zeitreihen-Ausreißer in hochdimensionalen Daten zu identifizieren. Die Bibliothek deckt ein breites Spektrum an Funktionen ab, einschließlich verteilter Computer Vision für Gesichts- und Bildanalyse, skalierbarem Natural Language Processing für Textanalysen und Übersetzungen sowie das Training von Gradient Boosted Decision Trees. Sie bietet Tools für Ähnlichkeitssuche mittels k-Nearest-Neighbor-Modellierung, Modellerklärbarkeit durch Feature-Attribution und die Orchestrierung von Reinforcement-Learning-Workflows. Das System nutzt eine zusammensetzbare Pipeline-Architektur und unterstützt ONNX-basierte Modellinferenz für plattformübergreifende Kompatibilität.
Optimizes data movement and memory usage between distributed partitions and native datasets using direct memory transfer.
exif-js ist eine JavaScript-Bibliothek zum Extrahieren von Bildmetadaten direkt im Browser. Sie fungiert als Binär-Bild-Buffer-Parser, der rohe Bildbytes liest, um technische Details abzurufen, ohne dass Dateien auf einen Server hochgeladen werden müssen. Die Bibliothek parst Daten gemäß den EXIF- und IPTC-Standards, um Kameraeinstellungen, Zeitstempel, GPS-Koordinaten, Bildunterschriften, Schlüsselwörter und Copyright-Informationen zu extrahieren. Sie nutzt typisierte Arrays und offset-basiertes Traversieren, um Bildstrukturen zu navigieren und numerische Bezeichner auf menschenlesbare Tags abzubilden.
Uses typed arrays to interpret sequences of binary data for metadata extraction.
Dieses Projekt ist eine umfassende Lehrressource und ein Kurs zum Aufbau neuronaler Netze mit PyTorch. Es deckt die grundlegenden Bausteine des Deep Learning ab, einschließlich Tensor-Manipulation, automatischer Differenzierung und der Konstruktion modularer Komponenten für neuronale Netze. Das Repository dient als technischer Leitfaden für verschiedene spezialisierte Bereiche. Es bietet Implementierungsdetails für Computer-Vision-Aufgaben wie Bildklassifizierung, Objekterkennung und semantische Segmentierung sowie Workflows für die Verarbeitung natürlicher Sprache (NLP) mit Transformern, rekurrenten Netzen und generativen Modellen. Zudem enthält es eine Referenz für generative KI, mit Fokus auf die Synthese von Bildern mittels Diffusionsmodellen und adversarialen Netzwerken. Das Material erstreckt sich auf Modelloptimierung und Deployment-Pipelines. Es behandelt Techniken zur Reduzierung der Modellgröße und zur Erhöhung der Inferenzgeschwindigkeit durch Quantisierung und den Export von Modellen in Formate wie ONNX und TensorRT. Weitere Kompetenzbereiche umfassen Data Engineering für paralleles Laden, Modellevaluierung mittels benutzerdefinierter Metriken und das Deployment von Open-Source Large Language Models. Das Projekt wird primär als eine Reihe von Jupyter Notebooks bereitgestellt.
Pins tensors in memory to prevent disk swapping and accelerate data transfer from CPU to GPU.