proomt

Search

Search posts, papers, and topics

All posts

Hacker News front page90 min readintermediate

UTF-8000: Unlimited UTF-8

Summary

A speculative proposal for an “UTF‑8000” encoding that extends UTF‑8 to arbitrarily long code units. The post defines a new self‑synchronizing byte format, introduces terminology (first byte, start bits, continuation byte, etc.), and links to a reference implementation installable via pipx. No performance data, real‑world use cases, or rigorous analysis are provided.

  • UTF‑8000 keeps UTF‑8’s self‑synchronizing property by using a prefix‑free tree of start‑bit patterns that can span many bytes.
  • The design adds no new special‑case rules beyond the existing ASCII and 2‑byte overlong checks from UTF‑8.
  • A reference implementation is available as a Python package, but the post does not discuss its internals or benchmarks.

Understanding how variable‑length encodings can be extended while preserving self‑synchronization is useful for anyone designing custom binary protocols or experimenting with Unicode extensions, but the post stops short of practical guidance.

4/10

Related reading

  1. Article: Your Next DSL Author Is a Language Model

    Typed Domain Grounding (TDG) embeds a DSL inside a mainstream language the LLM already knows (e.g., Kotlin) and uses the host compiler as an oracle. The author describes five building blocks—embedding, choosing a host language with high training‑data frequency, compiler‑driven type safety, a generate‑compile‑repair loop, and an on‑demand teaching tool—and shows measured results from kUML, a Kotli…

    InfoQinfoq.com18 min
  2. CodeSOD: Vintage 2013

    A tongue‑in‑cheek post highlighting an absurd GPL header that repeats "2013" dozens of times, questioning the reliability of the surrounding code.

    The Daily WTFthedailywtf.com10 min