Wuffs
lastmod 2021-04-08created 2021-04-081 edits
A programming language for handling file formats safely.
About
Wuffs (Wrangling Untrusted File Formats Safely) is formerly known as Puffs (Parsing Untrusted File Formats Safely).
Wuffs is a memory-safe programming language (and a standard library written in that language) for wrangling untrusted file formats safely. Wrangling includes parsing, decoding and encoding. Example file formats include images, audio, video, fonts and compressed archives.
It is also fast. On many of its GIF decoding benchmarks, Wuffs measures 2x faster than "giflib" (C), 3x faster than "image/gif" (Go) and 7x faster than "gif" (Rust).
Features
- A memory-safe programming language, and a standard library, for handling untrusted file formats and the like
- Wrangling Untrusted File Formats Safely
- Wrangling includes parsing, decoding, encoding, etc.
- That is, only the performance- or security-critical parts are written in Wuffs, rather than the whole program