Hi, I'm cceckman. personal blog

Branchless UTF-8 Encoding

I know how to decode UTF-8 using bitmath and some LUTs (see https://github.com/skeeto/branchless-utf8 ), but if I want to to go from a codepoint to UTF-8, is there a way to do it without branches?
Points
183
HN comments
42
Submissions
1
Cited by
0 commenters

Software EngineeringSystems & Performance2025

On Hacker News

SubmittedTitle on HNPointsComments
Jan 17, 2025Branchless UTF-8 Encoding by vortex_ape18342

Related posts from the same era