Nicheloom

Market intelligence for builders — see what's gaining traction before it's crowded.

18KB ls alternative in no_std rust and Libc

Details

External ID
48920811
Source
HN
Company
—
Product
18KB ls alternative in no_std rust and Libc
Website domain
crates.io
Launched
July 15, 2026
Cohort
—
Upvotes
23
Upvotes percentile
0.7437275985663082
Tags
—
Fetched at
Sept. 7, 2026, 9:26 p.m.
Updated at
Sept. 7, 2026, 9:26 p.m.

Enrichment

Theme
gpu compute and acceleration tools
Vertical
Horizontal
Function
Dev tools
Audience
Developer
AI stance
Not AI
Project type
Hobby / open-source project
Normalized one-liner
lightweight file listing utility
Manually corrected
False

Could you build this?

Partial While the logic of the `ls` command is conceptually simple, writing a `no_std` Rust binary constrained to 18KB requires low-level systems programming and manual direct libc/syscall interaction.

What it would actually take: The program must be written in Rust without the standard library (`no_std`), disabling default allocators, panic handlers, and unwinding. It requires interfacing directly with POSIX syscalls (`sys_getdents64`, `statx`) and manually formatting terminal output, requiring systems programming expertise to minimize binary size.

Discussion

5 comments analyzed.

Competitors mentioned: BusyBox, GNU coreutils, Python scripts with glob/pathlib, Plan 9 (9base)

Concerns raised: Only implements small subset of GNU ls functionality, Rust+libc cross-compilation complexity, Space efficiency compared to alternatives, Performance vs. smaller implementation size

Competitors

Other products that read as similar to this one — 524 launches clear the similarity bar, closest 8 shown.

Attention rank: #139 of 525 (itself plus its competitors, highest first — normalized so YC and Product Hunt are compared fairly).

Launched 251 days after the earliest competitor.

Other launches for this product

Same idea, different domain

Nobody's really built a dev tools tool for Sales yet.