BSD Ports

converters/simdutf 9.2.2 DragonFly

Unicode validation and transcoding with SIMD

System
DragonFly
Repository
DPorts
Maintainer
[email protected] (as in FreeBSD)
License
APACHE20, MIT
Categories
converters, textproc
Package size
299.0 KiB, 1962.6 KiB installed

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.

In the other systems

The newest version among them is 9.4.0, as upstream numbers it.

SystemPortVersionVulnerabilitiesStatusMaintainerLast update
DragonFlyconverters/simdutf9.2.2 behind since 2026-10-19none known-[email protected]-
FreeBSDconverters/simdutf9.3.3 behind since 2026-11-15none known-[email protected]2026-10-31
OpenBSDtextproc/simdutf by name9.4.0 newestno data-Volker Schlecht <[email protected]>2026-11-15
NetBSDwip/simdutf by name7.0.0 behind since 2026-08-19none known-[email protected]-
HardenedBSDconverters/simdutf9.3.3 behind since 2026-11-15no data-[email protected]-
GhostBSDconverters/simdutf9.3.2 behind since 2026-10-28no data-[email protected]-

Compare across BSDs

Version history 1

  1. 9.2.2

Upstream's version as each commit to the port's Makefile set it, or as this site first saw it in the system's packages; the tree's own revisions are not versions here.

Install

Binary package:

pkg install simdutf

From DPorts:

cd /usr/dports/converters/simdutf && make install clean

Dependency graph

Ports that need it on the left, what it needs to run on the right; at most 8 of each. "Dependencies" below lists them all.

Dependencies

Required by 2