Raunak
rrampage.bsky.social
Raunak
@rrampage.bsky.social
Bored Programmer | Interested in distributed systems, databases | On a quest to build minimal software

https://rrampage.github.io
https://github.com/rrampage/
Built a tiny Hello World ARM64 ELF kernel which boots in a UEFI shell on QEMU. It compiles to a 193 byte binary.

Learning a lot about bootloaders, ARM64 device trees, QEMU. Would love links to useful resources and tips for debugging

Code: gist.github.com/rrampage/c66...
July 16, 2025 at 6:31 AM
Reposted by Raunak
Solved the JIT calculator challenge using ARM64 assembly. This challenge helped me understand the mechanisms on executing JIT code on Linux. Learned more about the memfd_create and mmap syscalls.
Code: gist.github.com/rrampage/8d1...
Challenge: ochagavia.nl/blog/the-jit...
#linux #arm64
JIT calculator
JIT calculator. GitHub Gist: instantly share code, notes, and snippets.
gist.github.com
July 1, 2025 at 10:20 PM
Solved the JIT calculator challenge using ARM64 assembly. This challenge helped me understand the mechanisms on executing JIT code on Linux. Learned more about the memfd_create and mmap syscalls.
Code: gist.github.com/rrampage/8d1...
Challenge: ochagavia.nl/blog/the-jit...
#linux #arm64
JIT calculator
JIT calculator. GitHub Gist: instantly share code, notes, and snippets.
gist.github.com
July 1, 2025 at 10:20 PM
Hand-crafted ELF in ARM64 assembly (no linker!): gist.github.com/rrampage/745...

Wrote the ELF headers in the assembly file. Uses `as` to create the object file and `objcopy` to fish out the binary which is a valid ELF. ELF headers overhead is 120 bytes. Code is 12 bytes. #linux #arm64 #elf
Handcrafted Elf Binary from assembly (without linker)
Handcrafted Elf Binary from assembly (without linker) - teensy.S
gist.github.com
June 26, 2025 at 12:45 PM
ARM64 implementation of `yes` utility, similar throughput as GNU yes. Compiles to 176 bytes! Code: gist.github.com/rrampage/157...

#linux #arm
June 24, 2025 at 11:05 PM
A minimal Linux shell in C and Zig: gist.github.com/rrampage/504...
- <10 kb executables (using `zig cc` for C and `- O ReleaseSmall` for Zig)
- Uses `clone3` instead of `fork`, `getdents64` to check for file name in large directories, `execveat` to open binary from `dirfd` used in getdents64
#zig
Minimal Linux shell (C, Zig and ASM)
Minimal Linux shell (C, Zig and ASM). GitHub Gist: instantly share code, notes, and snippets.
gist.github.com
May 2, 2025 at 10:17 AM
TIL you can start a SSH session in screen/tmux which will auto-end on detach e.g `ssh user@server -t tmux new-session -A -s S1` or `ssh user@server -t screen -d -R S1`. This will create a session "S1" if it does not exist and attach to "S1" if it exists. Useful for running commands on flaky network
April 21, 2025 at 6:31 AM
@mtlynch.io Followed your awesome post mtlynch.io/notes/nix-or... to get NixOS painlessly setup on OCI ARM
Install NixOS on a Free Oracle Cloud VM
Oracle is not a very popular cloud hosting service, but they have an unusually attractive free tier offering. You can run the following two VMs for free 24/7: 4 CPU / 24 GB RAM Ampere A1 ARM VM 1 CPU...
mtlynch.io
April 11, 2025 at 11:08 PM
Hyderabad boi attending Hytradboi :)
#hytradboi
HYTRADBOI is tomorrow! Feb 28 0900 PDT. The chat will run for days, so it's worth joining even if you can't make the early hours.

Bring all your friends too! Re-skeet, share on your favorite forum, put flyers under your neighbours doors etc.

See you tomorrow!

www.hytradboi.com/2025/#tickets
HYTRADBOI 2025
HYTRADBOI is a fun online conference about databases, programming languages, and everything in between.
www.hytradboi.com
February 28, 2025 at 8:49 PM
Reposted by Raunak
📢 Episode 222 is out! 📢 In this episode, @elbeno.com and I chat with @tristanbrindle.com about graph algorithms resources 📊, tropical semirings 🌴, Stepanov stories 📖, FM2GP 📓, EOP 📙, TV shows & movies 📺 and more! adspthepodcast.com/2025/02/21/E...
February 21, 2025 at 1:23 PM
Reposted by Raunak
Okay, these challenges are addictive! Finished the 2025.1 challenge and solved 2024.4, 2024.3 and 2024.2 challenges from Internet archive. Loved how each challenge focuses on a small set of operators and makes us use them in various devious combinations to solve the problems #APL #Dyalog
February 19, 2025 at 6:38 PM
Enjoying learning APL by doing the Dyalog APL challenge (challenge.dyalog.com) #apl
The APL Challenge
A free-to-enter competition that could change the way you think...and put $100 in your pocket.
challenge.dyalog.com
February 19, 2025 at 11:32 AM