News for hackers. Stuff that matters.
Re:I love coding in C by diego_moita on Thursday December 26, 2019 @03:12PM (#21886337)
> using less than 100mb of memory. Doesn't seem so bad to me

You know... any embedded programmer reading that comment is probably laughing hysterically. In most cheap or energy efficient microcontrolers, more than 4 Mb is considered a luxury.

Re:I love coding in C by UncleMeat on Thursday December 26, 2019 @09:50PM (#21888746)
Ok.

There is no virtue in using less memory for the sake of it. If a desktop application is taking 100mb, you can have a lot of those running before modern boxes start to struggle.

Re:I love coding in C by lispm on Thursday December 26, 2019 @03:20PM (#21886405)
A friend of mine has been developing a small Lisp which starts at 2Kbytes RAM: http://www.ulisp.com
Re:I love coding in C by mntmoss on Friday December 27, 2019 @02:22AM (#21889765)
Whether 100Mb usage is unacceptably large is mostly dependent on the precise features in play:

* 32-bit vs 64-bit application(64 bit will bloat all pointers)

* Methods of loading and editing documents(modern editing attempts a lot of introspection based on highlighting syntax or project environment)

* Character encoding support(Supporting current Unicode rendering would almost immediately take you beyond 4Mb)

Interactive editing is a pretty memory-hungry task compared to a simple viewer or batch processor. There's more reason to keep things cached. If you actually go back to old text editor versions from the days of 4Mb desktops, you'll find yourself missing stuff. Not so much that you can't get by, but enough to give pause and consider taking the hit.

Re:I love coding in C by airza on Thursday December 26, 2019 @04:02PM (#21886746)
I mean sure, but he's talking about desktop applications.
Re:I love coding in C by Const-me on Thursday December 26, 2019 @04:09PM (#21886801)
Depends on the exact numbers. For instance, Allwinner R328 chip has 2 ARM cores running up to 1.2GHz, includes 64MB or 128MB RAM, and the price is around $3.