aklomp-base64
brew install aklomp-base64
v0.5.2
BSD-2-Clause
Fast Base64 stream encoder/decoder in C99, with SIMD acceleration
734
30-day installs · #1472
3.7k
90-day · #1238
12.5k
365-day · #1313
1.0k
★ GitHub stars · updated 1y ago
Build dependencies
Links
- https://github.com/aklomp/base64
- GitHub: aklomp/base64
- Brew formula source: Formula/a/aklomp-base64.rb
Raw metadata
{
"aliases": [],
"alternatives": [],
"build_dependencies": [
"cmake"
],
"categories": [],
"caveats": null,
"conflicts_with": [
"base64"
],
"dependencies": [],
"deprecated": 0,
"deprecation_reason": null,
"desc": "Fast Base64 stream encoder/decoder in C99, with SIMD acceleration",
"disable_reason": null,
"disabled": 0,
"enrichment_fetched_at": "2026-06-20T23:35:21+00:00",
"first_seen": "2026-06-20T23:34:18+00:00",
"full_name": "aklomp-base64",
"github_default_branch": "master",
"github_last_commit_at": "2025-05-06T18:19:59Z",
"github_readme_excerpt": "# Fast Base64 stream encoder/decoder\n\n[](https://github.com/aklomp/base64/actions/workflows/test.yml)\n\nThis is an implementation of a base64 stream encoding/decoding library in C99\nwith SIMD (AVX2, AVX512, NEON, AArch64/NEON, SSSE3, SSE4.1, SSE4.2, AVX) and\n[OpenMP](http://www.openmp.org) acceleration. It also contains wrapper functions\nto encode/decode simple length-delimited strings. This library aims to be:\n\n- FAST;\n- easy to use;\n- elegant.\n\nOn x86, the library does runtime feature detection. The first time it\u0027s called,\nthe library will determine the appropriate encoding/decoding routines for the\nmachine. It then remembers them for the lifetime of the program. If your\nprocessor supports AVX2, SSSE3, SSE4.1, SSE4.2 or AVX instructions, the library\nwill pick an optimized codec that lets it encode/decode 12 or 24 bytes at a\ntime, which gives a speedup of four or more times compared to the \"plain\"\nbytewise codec.\n\nAVX512 support is only for encoding at present, utilizing the AVX512 VL and VBMI\ninstructions. Decoding part reused AVX2 implementations. For CPUs later than\nCannonlake (manufactured in 2018) supports these instructions.\n\nNEON support is hardcoded to on or off at compile time, because portable\nruntime feature detection is unavailable on ARM.\n\nEven if your processor does not support SIMD instructions, this is a very fast\nlibrary. The fallback routine can process 32 or 64 bits of input in one round,\ndepending on your processor\u0027s word width, which still makes it significantly\nfaster than naive bytewise implementations. On some 64-bit machines, the 64-bit\nroutines even outperform the SSSE3 ones.\n\nTo the author\u0027s knowledge, at the time of original release, this was the only\nBase64 library to offer SIMD acceleration. The author wrote\n[an article](http://www.alfredklomp.com/programming/sse-base64) explaining one\npossible SIMD approach to encoding/decoding Base64. The article can",
"github_repo": "aklomp/base64",
"github_stars": 1009,
"github_topics": [],
"homepage": "https://github.com/aklomp/base64",
"homepage_og_description": null,
"homepage_og_image": null,
"homepage_title": null,
"installs_30d": 734,
"installs_365d": 12503,
"installs_90d": 3742,
"keg_only": 0,
"keg_only_reason": null,
"last_seen": "2026-06-20T23:34:18+00:00",
"license": "BSD-2-Clause",
"llm_generated_at": null,
"llm_model": null,
"name": "aklomp-base64",
"oldnames": [],
"one_liner": null,
"optional_dependencies": [],
"rank_30d": 1472,
"rank_365d": 1313,
"rank_90d": 1238,
"raw_hash": "bc822f664c027abe",
"recommended_dependencies": [],
"revision": 0,
"ruby_source_path": "Formula/a/aklomp-base64.rb",
"tap": "homebrew/core",
"test_dependencies": [],
"uses_from_macos": [],
"version_head": null,
"version_stable": "0.5.2",
"versioned_formulae": [],
"why_use_this": null
}