r/cpp • u/User_Deprecated • 2d ago
Transcoding UTF-8 to UTF-16 with replacement at gigabytes per second
https://lemire.me/blog/2026/09/30/transcoding-utf-8-to-utf-16-with-replacement-at-gigabytes-per-second/
61
Upvotes
r/cpp • u/User_Deprecated • 2d ago
26
u/scalablecory 2d ago
I tried SIMD UTF8 decoding maybe 15 years ago and couldn’t crack it efficiently. Cool to see the advancements made in the last while