8 个仓库
C++ libraries distributed as header-only files for easy integration and performance optimization.
Distinct from C++: Distinct from JSON Libraries: focuses on generic header-only utility libraries rather than specific data serialization formats.
Explore 8 awesome GitHub repositories matching data & databases · Header-only Libraries. Refine with filters or upvote what's useful.
ConcurrentQueue is a header-only C++ template library that provides a lock-free data structure for multi-producer multi-consumer thread communication. It functions as a synchronization primitive designed to coordinate data flow between concurrent execution units using atomic operations rather than traditional mutex locking. The library distinguishes itself through a design that minimizes contention and synchronization overhead. It utilizes sub-queue token mapping to distribute workloads across partitioned internal queues and supports bulk operations to transfer multiple data elements in singl
A header-only collection of thread-safe containers designed for low-latency data exchange in multi-threaded applications.
This is an interactive Python tutorial delivered as a collection of Jupyter notebooks. It is designed as a structured learning path for beginners, teaching fundamental language concepts through a sequence of lessons that combine explanatory text with runnable code cells and embedded practice exercises. Each notebook is a self-contained unit that introduces a topic, demonstrates it with a minimal code example, and then asks the learner to write code themselves, receiving immediate feedback from the browser-based execution environment. The curriculum is built on a progressive concept-stacking mo
Teaches Python using only built-in modules, avoiding external dependencies for all examples.
tiny-dnn is a header-only C++14 deep learning framework for building, training, and running inference on neural networks. It constructs static computational graphs at compile time using template-based layer composition, with a gradient-based backpropagation engine and minibatch stochastic gradient descent for training, all without external dependencies beyond the C++14 standard library. The framework supports importing pre-trained models from the Caffe framework directly, parsing its binary serialization format without requiring external protocol buffer libraries. It provides CPU-optimized te
Provides a header-only C++14 deep learning framework with no external dependencies.
mlpack is a header-only C++ machine learning library that defines matrix types as compile-time templates, enabling flexible numeric precision and memory layout without runtime overhead. Its core identity is built around a template metaprogramming architecture that allows algorithms to be included selectively as independent modules, reducing binary size, and supports compile-time serialization of neural network parameters by deducing matrix types and structure at compile time. The library distinguishes itself through a multi-language binding framework that automatically generates bindings for
A header-only C++ library that compiles by including headers directly without separate compilation units.
hnswlib 是一个仅包含头文件的 C++ 库和向量索引引擎,专为高维近似最近邻搜索而设计。它将大型嵌入集合组织成可搜索的图结构,以实现快速的邻近查询和距离计算。 该系统利用分层可导航小世界(HNSW)图来实现快速向量相似度搜索。其独特之处在于允许定义自定义距离度量和相似度函数,以适应特定数据需求。 该引擎涵盖了完整的索引生命周期,包括增量索引构建以及通过添加和元素移除来管理数据点。查询功能包括近似和精确最近邻搜索,并辅以布尔搜索过滤,以根据元素标签排除候选对象。 该库支持通过二进制文件序列化进行索引持久化,并提供并行执行配置,以将查询和索引任务分配到多个 CPU 核心上。
Distributed as a header-only C++ library to enable compiler inlining and simplify integration.
This project is a Go language learning guide and implementation map designed to help developers transition from Node.js to Go. It provides a series of side-by-side code comparisons that contrast identical logic implemented in both languages to illustrate syntax and runtime differences. The repository serves as a tutorial for Go concurrency, specifically comparing the use of channels and goroutines against JavaScript promises. It also includes a performance benchmarking suite to measure and compare the execution speed of Go against Node.js for the same operations. The guide covers systems pro
Provides a curriculum of examples that avoid external dependencies in favor of built-in language modules.
This repository is a collection of practical code samples and an idiomatic programming guide for the Python language. It serves as a reference for implementing advanced language features, data structures, and professional coding standards. The project focuses on demonstrating object-oriented architectures and structural design patterns. It provides a set of source files that illustrate the use of advanced Python capabilities to create readable and efficient software designs. The implementation covers asynchronous and concurrent execution patterns, as well as idiomatic software design and pro
Provides a zero-dependency implementation using only the Python standard library to showcase idiomatic core usage.
pycparser is a C99 parser library that converts C source code into an abstract syntax tree consisting of Python objects. It functions as an abstract syntax tree generator, transforming preprocessed C code into a structured hierarchy for programmatic analysis and transformation. The library integrates with a C preprocessor to handle directives before parsing. It also features a stub header parser, which uses minimal mock headers to allow the parsing of C code without requiring a full system C library installation. The project provides tools for static code analysis, C program analysis, and so
Replaces standard library includes with minimal stub headers for environment-independent parsing.