All Topics
All Topics
Technology
Technology
Design
Design
Programming
Programming
Science
Science
News
News
Gaming
Gaming
Entertainment
Entertainment
Business
Business
Finance
Finance
Sports
Sports
Health
Health
Food
Food
Travel
Travel
Art
Art
Music
Music
Books
Books
Education
Education
Politics
Politics
Personal
Personal
No algorithm. No AI slop. No ads. Just RSS. Pro-human. Indie writers. Real journalism. Open web. Chronological. Hand toasted.

Zlob: High-Performance POSIX-Compatible Globbing Library for C, Zig, and Rust

By

neogoose

3mo ago· 6 min readenCode

Summary

Zlob is a high-performance globbing library for C, Zig, and Rust that offers 100% compatibility with POSIX and glibc standards while being significantly faster. It addresses performance issues in glibc's glob() implementation, which requires sorting results and is outdated. The library supports modern globbing formats and gitignore patterns, providing a faster alternative for file pattern matching across multiple programming languages.

Key quotes

· 4 pulled
zlob is a C library, zig library and a rust crate that makes globbing fast.
Because glob() implemented by glibc sucks. It is very outdated and slow.
by default POSIX glob requires sorting of results list which is VERY slow in glibc implementaion
100% POSIX and glibc compatible globbing library for C, Zig, and Rust that is faster and supports all the modern globbing formats and gitignore
Snippet from the RSS feed
100% POSIX and glibc compatible globbing library for C, Zig, and Rust that is faster and supports all the modern globbing formats and gitignore - dmtrKovalenko/zlob

You might also wanna read