| Port details on branch 2026Q1 |
- simdutf Unicode validation and transcoding with SIMD
- 9.1.0 converters
=2 9.0.0Version of this port present on the latest quarterly branch. - Maintainer: fuz@FreeBSD.org
 - Port Added: 2023-10-23 01:54:11
- Last Update: 2026-08-23 20:45:58
- Commit Hash: c34c0b3
- People watching this port, also watch:: tmux, py311-pycparser, python, p5-Net-HTTP, font-misc-meltho
- Also Listed In: textproc
- License: APACHE20 MIT
- WWW:
- https://simdutf.github.io/simdutf/
- Description:
- This library provide fast Unicode functions such as
- ASCII, UTF-8, UTF-16LE/BE and UTF-32 validation, with and without
error identification,
- transcoding between each of Latin1, UTF-8, UTF-16LE/BE, and UTF-32,
with and without validation, with and without error identification
- From an UTF-8 string, compute the size of the Latin1/UTF-16/UTF-32
equivalent string,
- From an UTF-16LE/BE string, compute the size of the
Latin1/UTF-8/UTF-32 equivalent string,
- From an UTF-32 string, compute the size of the UTF-8 or UTF-16LE
equivalent string,
- UTF-8 and UTF-16LE/BE character counting.
- UTF-16 endianness change (UTF16-LE/BE to UTF-16-BE/LE)
- Base64 encoding and decoding
The functions are accelerated using SIMD instructions (e.g., ARM NEON,
SSE, AVX, AVX-512, etc.). When your strings contain hundreds of
characters, we can often transcode them at speeds exceeding a billion
characters per second. You should expect high speeds not only with
English strings (ASCII) but also Chinese, Japanese, Arabic, and so
forth. We handle the full character range (including, for example,
emojis).
The library compiles down to a small library of a few hundred kilobytes.
Our functions are exception-free and non allocating. We have extensive
tests and extensive benchmarks.
¦ ¦ ¦ ¦ 
- Manual pages:
-
- pkg-plist: as obtained via:
make generate-plist - USE_RC_SUBR (Service Scripts)
- no SUBR information found for this port
- Dependency lines:
-
- simdutf>0:converters/simdutf
- To install the port:
- cd /usr/ports/converters/simdutf/ && make install clean
- To add the package, run one of these commands:
- pkg install converters/simdutf
- pkg install simdutf
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.- PKGNAME: simdutf
- Flavors: there is no flavor information for this port.
- distinfo:
- TIMESTAMP = 1787068093
SHA256 (simdutf-simdutf-v9.1.0_GH0.tar.gz) = 24e3510a4c95a9e6eb0fb4a27eea650d13773231cbd8b564ed9670aa5484d193
SIZE (simdutf-simdutf-v9.1.0_GH0.tar.gz) = 3474787
Packages (timestamps in pop-ups are UTC):
- Dependencies
- NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
- Build dependencies:
-
- cmake : devel/cmake-core
- ninja : devel/ninja
- python3.12 : lang/python312
- Test dependencies:
-
- python3.12 : lang/python312
- This port is required by:
- for Libraries
-
- devel/merve
- x11/ghostty
Configuration Options:
- ===> The following configuration options are available for simdutf-9.1.0:
ICONV=on: Encoding conversion support via iconv
TOOLS=on: Build tools
===> Use 'make config' to modify these settings
- Options name:
- converters_simdutf
- USES:
- cmake:testing compiler:c++17-lang python:build,test iconv
- FreshPorts was unable to extract/find any pkg message
- Master Sites:
|