241
you are viewing a single comment's thread
view the rest of the comments
[-] azimir@lemmy.ml 15 points 4 days ago

You joke, but I did something like that. I NFS mounted a disk off my desktop to a RPi. I then made a swap file on the NFS file system.

I could then build a C++ project directly on the RPi because the build normally hit RAM limits. This was a 1st gen RPi, so it had 256MB RAM.

The build took forever (many days), but the program ran fine once built.

[-] Quetzalcutlass@lemmy.world 6 points 3 days ago* (last edited 3 days ago)

Tangential, but stuff like this makes me wish Intel's Optane had taken off. It was supposed to have the persistence of an SSD with performance near that of RAM, but it was expensive and the OEMs who included it relegated it to little more than a glorified drive cache.

Imagine being able to allocate some of your spare storage as extra RAM the same way the Pi lets you decide the RAM/VRAM split. Or more realistically, sticking your swapfile on it and your build not taking several days even though you're only working with a quarter gig of RAM.

this post was submitted on 14 Jul 2026
241 points (100.0% liked)

Programmer Humor

32333 readers
980 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 3 years ago
MODERATORS