A D library providing the fastest possible implementations of common routines like JSON parsing, string splitting, and C interop.
fast is a D library that provides highly optimized implementations of common routines such as JSON parsing, string splitting, and C interop. It focuses on achieving the fastest possible performance by avoiding garbage collector allocations, skipping input validation, and using SSE instructions and stack allocations. The library can deliver up to a 20-fold speed increase in some scenarios compared to standard implementations.
D developers working on performance-critical applications, systems programming, or low-level tasks where maximum throughput and minimal overhead are essential.
Developers choose fast for its uncompromising focus on speed, offering GC-free operations, SSE acceleration, and direct memory access that outperform standard library routines. It provides a lightweight, high-performance alternative for specific tasks without the bloat of validation or allocation overhead.
A library for D that aims to provide the fastest possible implementation of some every day routines.
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.
Directly reads JSON files into user-defined structs without intermediate allocations, reducing overhead and achieving up to 20x speed improvements in benchmarks.
Uses SSE3 instructions to split strings around delimiters with minimal overhead, ideal for high-throughput path processing tasks.
Provides charPtr and wcharPtr helpers for seamless and fast calling of Windows and Linux C APIs, avoiding GC allocations.
Functions avoid garbage collector allocations entirely, ensuring consistent performance without GC pauses for critical code sections.
Skips validation to boost speed, which can lead to crashes or security vulnerabilities when processing malformed or untrusted inputs.
Focuses only on a few optimized routines like JSON parsing and string splitting, so it's not a drop-in replacement for D's standard library.
Relies on direct memory access and stack allocations, increasing the risk of bugs such as buffer overflows if used carelessly.