logoalt Hacker News

Zlob.h 100% POSIX and glibc compatible globbing lib that is faste and better

18 pointsby neogoosetoday at 5:07 AM10 commentsview on HN

Comments

neogoosetoday at 5:07 AM

100% POSIX and glibc compatible globbing library for C, Zig, and Rust that is faster and supports all the modern globbing formats (more than libc and rust glob crate)

It supports all the formats like * and {a,b} expansion as long as have a very efficient syscall and SIMD optimization for faster processing

show 1 reply
commandersakitoday at 8:46 AM

Nice licence, I would've probably used this a few years ago on a project had I known it existed.

kreetxtoday at 9:08 AM

Was this vibe coded? Readme has typos and somehow reads "fast and loose".

show 1 reply
oguz-ismail2today at 7:38 AM

Since when `{...}' syntax is a glob pattern? What does `{a,b}/c' produce when there is no directory named `a'?

show 1 reply