fast_float
« Back to VersTracker
Description:
Fast and exact implementation of the C++ from_chars functions for number types
Type: Formula  |  Latest Version: 8.1.0@0  |  Tracked Since: Dec 17, 2025
Links: Homepage  |  formulae.brew.sh
Category: Developer tools
Tags: c++ parsing performance header-only library
Install: brew install fast_float
About:
Fast_float is a header-only C++ library that provides a high-performance parser for converting strings to floating-point numbers. It accurately implements the C++17 std::from_chars algorithm for floats and doubles, offering significant speed improvements over traditional methods like strtod. This library is ideal for applications requiring rapid parsing of large datasets or log files.
Key Features:
  • High-speed parsing, often faster than standard library functions
  • Exact and standards-compliant implementation of from_chars
  • Header-only library for easy integration
  • Zero dependencies
Use Cases:
  • Parsing large CSV or JSON files efficiently
  • High-performance data ingestion pipelines
  • Financial data processing where speed and accuracy are critical
Alternatives:
  • std::from_chars – Standard library implementation, which may be slower or less optimized depending on the compiler and platform.
  • Strtod – Older C-style function; significantly slower and locale-dependent.
License: Apache-2.0
Bottles available for: all
Version History
Detected Version Rev Change Commit