Skip to content

Wuffs

안전하게 파일포맷을 다루기 위한 개발언어.

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

  • 신뢰할수 없는 파일포맷등을 다룰때 사용하는 memory-safe한 프로그래밍 언어이면서 표준 라이브러리
  • Wrangling Untrusted File Formats Safely
    • Wrangling은 파싱, 디코딩, 인코딩등을 포함
  • 이미지, 오디오, 비디오, 폰트 및 압축 파일 포맷 지원
  • C만큼 빠르지만, Go/Rust 수준의 안전한 소프트웨어 라이브러리를 만드는 것이 목표
  • C로 트랜스파일된 코드를 제공해서, 기존 C/C++ 프로젝트에 그대로 사용 가능
  • 범용 프로그래밍 언어는 아니며, 프로그램이 아닌 라이브러리를 개발하기 위한 언어
    • 즉 프로그램 전체 보다는 성능/보안이 중요한 부분만 Wuffs 로 작성
  • GIF 디코딩 벤치마크에서 gitlib(C) 보다 2배, image/gif(Go) 보다 3배, gif(Rust) 보다 7배 빠름

See also

Favorite site