28 dépôts
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 est une base de connaissances technique et un guide d'étude d'ingénierie axé sur les internes du framework Android, l'architecture système et l'optimisation des performances mobiles. Il sert de référence pour analyser la séquence de démarrage d'Android, l'amorçage des processus et l'initialisation des services système. Le projet fournit des guides détaillés sur les performances mobiles, notamment des stratégies pour réduire les empreintes mémoire, identifier les fuites de mémoire et optimiser le décodage d'image. Il couvre en outre la communication inter-processus Android utilisant AIDL et le pilote de noyau Binder, ainsi que des manuels d'architecture logicielle pour découpler la logique métier des interfaces utilisateur via des modèles comme MVVM et MVP. Au-delà du développement mobile, le dépôt inclut une base de connaissances en informatique pour la préparation aux entretiens techniques, couvrant les structures de données, les algorithmes et les concepts de système d'exploitation. Il propose également une référence pratique pour le contrôle de version Git, détaillant la gestion des dépôts, la synchronisation et les flux de travail de branchement.
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 est un framework et une boîte à outils pour l'automatisation de la messagerie WeChat. Il fournit une interface programmatique pour envoyer et recevoir des messages, permettant la création et le déploiement de chatbots automatisés et de bots de réseaux sociaux au sein de la plateforme WeChat. Le système intègre des services et des scripts externes pour automatiser les flux de travail basés sur le chat et les communications des utilisateurs. Il permet l'opération programmatique de bots pour gérer automatiquement les conversations et les notifications.
Implements binary packet parsing to decode structured data from the WeChat network buffer.
SynapseML est une bibliothèque de machine learning Apache Spark conçue pour construire et mettre à l'échelle des workflows de machine learning et des pipelines de données à travers des clusters distribués. Elle sert de framework de pipeline de machine learning distribué et de moteur d'inférence distribué pour exécuter des prédictions accélérées par le matériel et des tâches de deep learning sur des jeux de données à grande échelle. Le projet fonctionne comme une couche d'intégration d'IA cloud, permettant aux utilisateurs d'appliquer des services d'intelligence artificielle pré-entraînés pour le texte, la vision et la parole au sein de pipelines distribués. Il inclut également une suite dédiée d'outils pour la détection distribuée d'anomalies afin d'identifier les valeurs aberrantes multivariées et de séries temporelles à travers des données de haute dimension. La bibliothèque couvre un large éventail de capacités, incluant la vision par ordinateur distribuée pour l'analyse de visages et d'images, le traitement du langage naturel évolutif pour l'analyse et la traduction de texte, et l'entraînement d'arbres de décision à gradient boosté. Elle fournit des outils pour la recherche de similarité via la modélisation k-plus proches voisins, l'explicabilité des modèles via l'attribution de caractéristiques, et l'orchestration de workflows d'apprentissage par renforcement. Le système utilise une architecture de pipeline composable et prend en charge l'inférence de modèle basée sur ONNX pour une compatibilité multiplateforme.
Optimizes data movement and memory usage between distributed partitions and native datasets using direct memory transfer.
exif-js est une bibliothèque JavaScript pour extraire les métadonnées d'image directement dans le navigateur. Il fonctionne comme un analyseur de buffer d'image binaire qui lit les octets d'image bruts pour récupérer des détails techniques sans nécessiter que les fichiers soient téléchargés sur un serveur. La bibliothèque analyse les données suivant les normes EXIF et IPTC pour extraire les paramètres de l'appareil photo, les horodatages, les coordonnées GPS, les légendes, les mots-clés et les informations de copyright. Elle utilise des tableaux typés et un parcours basé sur des décalages pour naviguer dans les structures d'image et mapper les identifiants numériques vers des étiquettes lisibles par l'homme.
Uses typed arrays to interpret sequences of binary data for metadata extraction.
This project is a comprehensive instructional resource and course for building neural networks using PyTorch. It covers the fundamental building blocks of deep learning, including tensor manipulation, automatic differentiation, and the construction of modular neural network components. The repository serves as a technical guide for several specialized domains. It provides implementation details for computer vision tasks such as image classification, object detection, and semantic segmentation, as well as natural language processing workflows involving transformers, recurrent networks, and gen
Pins tensors in memory to prevent disk swapping and accelerate data transfer from CPU to GPU.