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
| Submitted | Title on HN | Points | Comments |
|---|---|---|---|
| Jan 17, 2025 | Branchless UTF-8 Encoding by vortex_ape | 183 | 42 |