News for hackers. Stuff that matters.
Re:Running Debian on a 32MB RAM Single Core ARM SBC by dekhn on Friday January 01, 2021 @11:32AM (#25604374)
I ran TAMU Linux on a 486 with 4MB RAM in 1994. It wasn't much fun- you could start X windows, and emacs, but if you tried to compile with g++ at the same time it would page.

I spent $250 of my hard-earned money to buy an 8MB upgrade, and ultimately upgraded that machine to 32MB, at which point it "flew"- no paging during development.

Re:Running Debian on a 32MB RAM Single Core ARM SBC by derefr on Friday January 01, 2021 @12:38PM (#25604924)
That would be about the era when people who weren't so keen on hardware upgrades as a solution to their problem were denouncing Emacs for its memory usage, and encouraging people to "stick to" vi if they wanted a performant development system.

Imagine denouncing Emacs for its runtime size today, relative to the bloat that is VS Code or IntelliJ :)

Re:Running Debian on a 32MB RAM Single Core ARM SBC by retrac on Friday January 01, 2021 @12:58PM (#25605104)
Emacs? Eight megabytes and constantly swapping.

Even today editor bloat is real. On my netbook VSCode is noticeably laggy sometimes, and it wouldn't take too much more to start paging out the editor! It amazes me that we still can't do instantly responsive editors. Even my dinky notebook still has a gigabyte of RAM and can do a billion integer operations a second. But VSCode can't show text instantly. I guess I'll stick with vi!

Re:Running Debian on a 32MB RAM Single Core ARM SBC by xvilka on Friday January 01, 2021 @11:44PM (#25610460)
> Even today editor bloat is real.

Because it's not an editor - it's a browser. I wish some day all those Electron-based "applications" would go away forever. Worst of all technology "inventions".

Re:Running Debian on a 32MB RAM Single Core ARM SBC by burlesona on Friday January 01, 2021 @01:28PM (#25605367)
Just for what it’s worth, I’ve never had any lag, hanging, stuttering, etc. with Sublime Text 3. It’s very fast.
Re:Running Debian on a 32MB RAM Single Core ARM SBC by simongr3dal on Friday January 01, 2021 @03:19PM (#25606587)
It is fast and I find myself going between the two. But intellisense and the language plugins that Microsoft makes are just so much better than what Sublime Text offers.
Re:Running Debian on a 32MB RAM Single Core ARM SBC by mixmastamyk on Saturday January 02, 2021 @04:01AM (#25611387)
Language servers often run anywhere, and generally aren't using up all the ram.
Re:Running Debian on a 32MB RAM Single Core ARM SBC by asymptotically4 on Saturday January 02, 2021 @05:51AM (#25611912)
For me (emacs + clangd), the language server slowly grows in memory usage until it's eaten up 32G and then gets OOM killed :(
Re:Running Debian on a 32MB RAM Single Core ARM SBC by mixmastamyk on Saturday January 02, 2021 @12:15PM (#25614299)
Sounds like a bug.
Re:Running Debian on a 32MB RAM Single Core ARM SBC by IgorPartola on Friday January 01, 2021 @01:44PM (#25605512)
It’s ironic that I still get lag with my vim setup running on the latest MacBook Pro today but ran a 486 and was able to write code back then with about the same or better responsiveness. Biggest issue seems syntax checking and code folding on files over 3000 lines long. Yes I know long files aren’t ideal but also for the specific project I’m currently working on it’s somewhat better than a thousand 3 line files.
Re:Running Debian on a 32MB RAM Single Core ARM SBC by ploxiln on Friday January 01, 2021 @05:55PM (#25608141)
In my experience, it's just some particular syntaxes that vim is slow to process - large XML/HTML files in particular. But just ":synax off" when you want responsiveness more than you want colors :)
Re:Running Debian on a 32MB RAM Single Core ARM SBC by IgorPartola on Friday January 01, 2021 @07:31PM (#25608921)
For me it’s Python code. Django views and models. Which honestly should be pretty fast because it’s all indent based but I’ve tried a number of things and while I would up with acceptable results they still aren’t lag free.
Re:Running Debian on a 32MB RAM Single Core ARM SBC by anthk on Friday January 01, 2021 @02:08PM (#25605758)
There were lightweight Emacs clones, to be honest. And joe/jed.
Re:Running Debian on a 32MB RAM Single Core ARM SBC by dekhn on Friday January 01, 2021 @01:11PM (#25605225)
I had already bought into the emacs ecosystem- it ran fine on the micros that I had been using previously.

For most work programming I still use emacs 20+ years later but that's because of muscle memory. For hobby projects I use VS Code. It runs just fine on my 32-core, 64GB RAM desktop :)

Re:Running Debian on a 32MB RAM Single Core ARM SBC by indymike on Friday January 01, 2021 @01:36PM (#25605445)
I never had any problems with emacs on my low end 90Mhz Pentium with 8MB of RAM, as long as I stuck to -nox.
Re:Running Debian on a 32MB RAM Single Core ARM SBC by dekhn on Friday January 01, 2021 @02:41PM (#25606105)
yes, I should have mentioned: I was using the X windows version of emacs (at the time, I thought that was a Really Cool Thing- now, I use text emacs in tmux). I think it has a much larger footprint.
Re:Running Debian on a 32MB RAM Single Core ARM SBC by flatiron on Friday January 01, 2021 @12:22PM (#25604793)
I used a 486 66dx2 until 2001 when I went to college. FreeBSD was by far and away the winner on that thing. Had 20 megs of RAM and a 2.2 gig hard drive. Ran X and WordPerfect and Netscape in Linux compatibility better than natively in Slackware. Got me through high school with no problems (had to buy an external modem as the one it came with was a winmodem) No clue the current state of things though.
Re:Running Debian on a 32MB RAM Single Core ARM SBC by anthk on Friday January 01, 2021 @02:09PM (#25605776)
You could browse the web perfectly back in the day, and Nethack ran like a charm, too :).
Re:Running Debian on a 32MB RAM Single Core ARM SBC by dleslie on Friday January 01, 2021 @05:46PM (#25608068)
The web loaded and rendered faster because Javascript was used sparingly, if it was used at all. XMLHTTPRequest didn't become a thing until 1999 and didn't catch fire until later, and so async requests just didn't happen.

For a short window of time we were using 1px flash objects to act as an async intermediary...

Yeah, I miss the static web.

Re:Running Debian on a 32MB RAM Single Core ARM SBC by anthk on Friday January 01, 2021 @06:07PM (#25608263)
Yeah, I know. I still use Dillo because almost everything is usable. at least fora, news sites and such.

Except this site, which I find atrocious having to use JS in order to search. I use DDG/Google on just the domain (site:news.ycombinator.com) and call it done.

But well, no mpg123's unless being played at a reduced band (11MHZ, mono). If converted to mp2, the files would be bigger, but playable at highest quality.

Re:Running Debian on a 32MB RAM Single Core ARM SBC by dleslie on Friday January 01, 2021 @07:58PM (#25609120)
How do you feel about NetSurf? I still prefer Dillo, but NetSurf looks promising.
Re:Running Debian on a 32MB RAM Single Core ARM SBC by anthk on Saturday January 02, 2021 @08:29AM (#25612713)
Too crashy (I use v4.0), and slower on rendering than Dillo, by far.

Also, I can't set the User Agent to anything else, in order to fix rendering errors. For example, the PSP one, still supported on tons of sites. Or the first Opera Mini releases, pre v5.

Re:Running Debian on a 32MB RAM Single Core ARM SBC by flatiron on Friday January 01, 2021 @06:09PM (#25608283)
I wasn’t a huge net hack fan but I had half a dozen mud accounts on all the local BBSs. I was quite the ladies man. Eagle Scout band dork BBS MUD man.
Re:Running Debian on a 32MB RAM Single Core ARM SBC by anthk on Friday January 01, 2021 @06:52PM (#25608624)
They are still alive, altough I prefer roguelikes on local now; and, for something close, IF and a Zmachine interpreter. Netplay? Just quick matches with my SO on an emulator for 90's machines, or an adventure being played together, solving puzzles.
Re:Running Debian on a 32MB RAM Single Core ARM SBC by flatiron on Saturday January 02, 2021 @04:07PM (#25616537)
What roguelikes do you recommend?
Re:Running Debian on a 32MB RAM Single Core ARM SBC by anthk on Sunday January 03, 2021 @09:53AM (#25622072)
Slashem, DCSS, OmegaRPG...
Re:Running Debian on a 32MB RAM Single Core ARM SBC by gorgoiler on Friday January 01, 2021 @05:33PM (#25607942)
I had a 4MB machine and an extra 1MB stick. I didn’t know how to install it so I taped it the case out of spite against technology. Plus ca change...