Nicheloom visits: 58,050 all-time · 7,694 in the last 7 days

The opportunity tracker for new startups.

Today: 1,953 launches · Niche of the day: specialized calculation tools · See what launched today →

18KB ls alternative in no_std rust and Libc

Get picks like this daily. Today's launch numbers, the top launches, AI and tech news, and a daily opportunity pick, straight to your inbox.

Want to reach these readers? Sponsor an issue.

HN · launched Jul 15, 2026 · 23 upvotes (top 26%) · 0 views

Niche: file management tools · 97 launches, 12 in the last 7 days ▲ +20% · Explore this niche →

Category and tags

  • Horizontal
  • Dev tools
  • Developer
  • Not AI
  • Hobby / open-source project

Visit website ↗ Source listing ↗

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 : 1357 launches clear the similarity bar, closest 8 shown.

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

Launched 257 days after the earliest competitor.

The niche, labels, vibe code rating and competitor comparison on this page are analysis by Nicheloom. If you use them, please credit nicheloom.com. How you may use our data.