3 dépôts
Use of SIMD and other hardware-level instructions to accelerate JSON serialization and deserialization.
Distinct from Hardware Acceleration: Shortlist candidates focus on GPUs or general data processing; this is specifically SIMD-driven JSON throughput.
Explore 3 awesome GitHub repositories matching operating systems & systems programming · Hardware-Accelerated JSON Processing. Refine with filters or upvote what's useful.
Sonic is a high-performance Go JSON serialization library that provides tools for encoding and decoding native data structures. It functions as a JIT-accelerated encoder, a JSON AST parser, a stream processor, and a lazy decoder. The project utilizes just-in-time machine code generation to optimize the encoding of large data schemas and employs a JIT assembler to maximize serialization and deserialization speeds. It features a precompiled schema warmup process to prevent latency spikes during initial execution and leverages SIMD hardware instructions for accelerated parsing. The library cove
Implements hardware-accelerated conversion of native data structures to JSON strings and back.
yyjson is a high-performance C library for parsing, serializing, and manipulating JSON data structures. It functions as a memory-efficient data tool that utilizes custom memory pools and contiguous block allocation to minimize fragmentation and overhead. The project distinguishes itself as a SIMD JSON processor, using hardware-accelerated vector instructions for rapid string validation and parsing. It provides a toolkit for querying, modifying, and patching nested JSON objects and arrays through pointer-based access and path expressions. The library covers a broad range of data manipulation
Utilizes SIMD hardware instructions to accelerate the scanning and validation of large JSON text streams.
Ce projet est une bibliothèque d'analyse JSON haute performance pour Rust qui utilise des instructions accélérées par le matériel pour traiter des structures de données complexes. Elle fonctionne comme un outil de sérialisation typé, mappant les chaînes JSON brutes vers des objets de langage natifs tout en offrant la flexibilité de gérer des structures de documents dynamiques lorsque les schémas sont inconnus ou changent fréquemment. La bibliothèque se distingue par son utilisation de l'analyse accélérée par SIMD et de l'identification structurelle basée sur des masques de bits, qui lui permettent de scanner et de tokeniser des documents en traitant plusieurs octets simultanément. Elle emploie la répartition d'instructions à l'exécution pour détecter les capacités du processeur hôte, garantissant que le jeu d'instructions le plus efficace est sélectionné pour l'environnement matériel actuel. Pour améliorer encore le débit, le moteur utilise une représentation de document basée sur une bande et un accès aux données zéro-copie, qui minimisent les allocations mémoire et la recherche de pointeurs pendant le parcours. Au-delà de ses capacités d'analyse de base, la bibliothèque prend en charge le traitement de grandes valeurs numériques qui dépassent la capacité des types entiers ou à virgule flottante standard. Elle s'intègre aux interfaces de sérialisation standard pour garantir une gestion cohérente des données et fournit des recherches par hachage optimisées pour gérer les clés d'objet. Le projet est distribué sous forme de crate, fournissant une interface standardisée pour que les développeurs intègrent le traitement de données à haute vitesse dans leurs applications.
Provides high-performance JSON parsing by leveraging SIMD instructions and runtime-detected hardware optimizations to maximize data throughput.