News for hackers. Stuff that matters.

rrampage

Re:Linux from Scratch on Tuesday September 15, 2026 @06:27AM (#49710295)
Interesting project. Why does it use LLVM toolchain when it already builds gcc in an earlier stage?
Re:Assembly Hall of Shame on Friday August 07, 2026 @03:56PM (#49215485)
Re:Building a Shell on Tuesday March 17, 2026 @01:29PM (#47415696)
Fun read! I built a minimal Linux shell [0] in c and Zig last year which does not depend on libc. It was a great way to learn about execve, the new-ish clone3 syscall and how Linux starts a process. Parsing strings is the least fun part of the building the shell.

[0] https://gist.github.com/rrampage/5046b60ca2d040bcffb49ee38e8...

Re:Ghostty is now non-profit on Thursday December 04, 2025 @11:27AM (#46149411)
Recurse center is awesome! The community is curious, kind and supportive. I did 2 batches there and each one expanded my horizons as a programmer.
Re:Ask HN: What Are You Working On? (June 2025) on Monday June 30, 2025 @07:11AM (#44421828)
I've been building small programs in Zig, C and ARM64 assembly without relying on libc and only using Linux syscalls directly.

Some examples:

- A minimal C shell with built-ins like cd, pwd, type: https://gist.github.com/rrampage/5046b60ca2d040bcffb49ee38e8...

- Terminal Snake game which fits in a QR code using Linux syscalls for drawing: https://gist.github.com/rrampage/2a781662645dc2fcba45784eb58...

- HTTP server with sendfile support in ARM64 assembly: https://gist.github.com/rrampage/d31e75647a77badb3586ebae1e4...

I learned to handcraft a static ELF binary using just GNU assembler (no linker): https://gist.github.com/rrampage/74586d0a0a451f43b546b169d46... . Trying to see if I can craft a small assembler in ARM64

Re:Protecting your code from other people's bugs on Saturday June 14, 2025 @05:26AM (#44275257)
The paper title is "Sandboxing: Foolproof Boundaries vs. Unbounded Foolishness"

Older »