frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: Grsh – A high-performance shell for FreeBSD written in Rust

https://grimreaper.icu/
20•antomal•1h ago
I built GRSH because I wanted a modern, memory-safe shell that feels native to FreeBSD but works seamlessly on macOS.

While there are many shells out there, GRSH is my take on a minimal, fast, and secure command interpreter written entirely in Rust. It's designed for users who want the safety guarantees of Rust without the overhead of more bloated alternatives.

I'm currently working on the official FreeBSD port. I’d love to get feedback on the shell's behavior and performance from the community.

Github: https://github.com/antoniomalara301289/grsh

Comments

antomal•1h ago
I've been working on GRSH because I wanted to explore building core system utilities using Rust's memory safety guarantees, with a specific focus on the FreeBSD ecosystem.

While the shell is still in its early stages, my goal is to create a lightweight, fast, and secure alternative to traditional shells that feels at home on both FreeBSD and macOS.

Key features I'm focusing on:

Zero-cost abstractions for process management.

Native performance on BSD-based systems.

Minimalist design without the bloat of modern 'all-in-one' shells.

I'm also developing DIR (a visual disk analyzer for FreeBSD) as part of this 'Grim Reaper' toolset.

I would love to hear your feedback on the implementation or any specific features you'd like to see in a Rust-based shell for Unix systems.

Source Code: https://github.com/antoniomalara301289/grsh Project Page: https://grimreaper.icu

utentemedio•1h ago
Great to see more Rust-based tooling coming to FreeBSD. Regarding the architecture, how are you handling Job Control and signal propagation? Specifically, are you using a custom wrapper for libc to manage tcsetpgrp and foreground process groups, or are you leveraging a specific Rust crate for asynchronous signal handling? I’m curious to see how GRSH maintains the 'native' feel when managing complex pipelines on the FreeBSD kernel.
antomal•1h ago
Thanks for the question! For Job Control, I’m currently implementing a custom management system to handle foreground and background process groups.

Regarding signal propagation, I’m leaning towards a direct integration with libc to maintain that 'native' feel you mentioned, specifically for managing tcsetpgrp and ensuring the terminal is correctly assigned to the active process group.

One feature I’m particularly proud of is what I call 'Pinning': it allows the user to pin a specific process and recall it instantly. This is part of my effort to make GRSH feel more interactive than a standard POSIX shell.

As for async signal handling, I'm currently refining the core loop to ensure that complex pipelines don't leave zombie processes or mismanaged groups on the FreeBSD kernel. It's a work in progress, and feedback on the current implementation in the repo is more than welcome!

fabiominnelli•1h ago
Finalmente la prima Shell Italiana.
antomal•1h ago
thanks!
antomal•12m ago
I'm seeing some great technical questions about process lifecycles and Rust invariants. To clarify: regarding job control, when a process is recalled, it currently rejoins the foreground process group. I'm leveraging Rust's ownership model to ensure FDs are closed properly, but I'm still refining the signal semantics for SIGTSTP.

Show HN: A 10KiB kernel for cloud apps

https://github.com/ReturnInfinity/BareMetal-Cloud
38•ianseyler•3h ago•4 comments

Show HN: HyTags – HTML as a Programming Language

https://hytags.org
32•lassejansen•1d ago•16 comments

Show HN: Repomance: A Tinder style app for GitHub repo discovery

https://apps.apple.com/us/app/repomance/id6756920720
2•masterpos•17m ago•0 comments

Show HN: Tiny FOSS Compass and Navigation App (<2MB)

https://github.com/CompassMB/MBCompass
106•nativeforks•8h ago•33 comments

Show HN: OSS AI agent that indexes and searches the Epstein files

https://epstein.trynia.ai/
186•jellyotsiro•17h ago•87 comments

Show HN: Sparrow-1 – Audio-native model for human-level turn-taking without ASR

https://www.tavus.io/post/sparrow-1-human-level-conversational-timing-in-real-time-voice
4•code_brian•1h ago•0 comments

Show HN: Nori CLI, a better interface for Claude Code (no flicker)

https://github.com/tilework-tech/nori-cli
15•csressel•4h ago•0 comments

Show HN: Skillshare – Sync skills across AI CLI tools

https://github.com/runkids/skillshare
6•runkids•4h ago•0 comments

Show HN: Grsh – A high-performance shell for FreeBSD written in Rust

https://grimreaper.icu/
20•antomal•1h ago•6 comments

Show HN: 1D-Pong Game at 39C3

https://github.com/ogermer/1d-pong
63•oger•2d ago•12 comments

Show HN: The Tsonic Programming Language

https://tsonic.org
53•jeswin•1d ago•9 comments

Show HN: Interactive Timeline of US Legislation (1975–Present)

https://www.chamberzero.com/
4•itta_e_ta•2h ago•4 comments

Show HN: Webctl – Browser automation for agents based on CLI instead of MCP

https://github.com/cosinusalpha/webctl
4•cosinusalpha•4h ago•1 comments

Show HN: Space Pong

https://pong.priyavkaneria.com/
3•diginova•2h ago•0 comments

Show HN: How NBA teams perform vs. prediction market expectations

3•helloiamvu•3h ago•4 comments

Show HN: Nogic – VS Code extension that visualizes your codebase as a graph

https://marketplace.visualstudio.com/items?itemName=Nogic.nogic
125•davelradindra•1d ago•48 comments

Show HN: Cachekit – High performance caching policies library in Rust

https://github.com/OxidizeLabs/cachekit
43•failsafe•16h ago•7 comments

Show HN: Seapie – a Python debugger where breakpoints drop into a REPL

https://github.com/hirsimaki-markus/seapie
17•markushirsimaki•2d ago•8 comments

Show HN: Cadence Spanish – AI audio lessons to learn Spanish

https://cadencespanish.com/
5•aliclark•4h ago•4 comments

Show HN: An iOS budget app I've been maintaining since 2011

https://primoco.me/en/
153•Priotecs•1d ago•59 comments

Show HN: AsciiSketch a free browser-based ASCII art and diagram editor

https://files.littlebird.com.au/ascii-sketch.html
44•schappim•20h ago•8 comments

Show HN: SnackBase – Open-source, GxP-compliant back end for Python teams

https://snackbase.dev
66•lalitgehani•1d ago•13 comments

Show HN: Self-host Reddit – 2.38B posts, works offline, yours forever

https://github.com/19-84/redd-archiver
264•19-84•1d ago•59 comments

Show HN: Microwave – Native iOS app for videos on ATproto

https://testflight.apple.com/join/cVxV1W3g
27•sinned•1d ago•8 comments

Show HN: Anti for You

https://github.com/da-x/anti-for-you
2•da-x•7h ago•0 comments

Show HN: Ayder – HTTP-native durable event log written in C (curl as client)

https://github.com/A1darbek/ayder
55•Aydarbek•1d ago•28 comments

Show HN: Agent-of-empires: OpenCode and Claude Code session manager

https://github.com/njbrake/agent-of-empires
115•river_otter•2d ago•44 comments

Show HN: Simple time zone converter and world clock for everyone

https://www.usetizo.com/
2•yelston•8h ago•0 comments

Show HN: AI slop: A todo app built in bash with microservices

https://github.com/andi0b/vibe-todo
4•andix•3h ago•0 comments

Show HN: Imago – open-source AI portrait generator with guided creation

https://github.com/tenngoxars/Imago
2•tenngoxars•9h ago•0 comments