Live data from Hacker News

Ask HN: Was programming more interesting when memory usage was a concern?

news.ycombinator.com

1–10 of 50 posts

Ask HN: Was programming more interesting when memory usage was a concern?

#1
I got into doing programming professionally around 2014, which was way after memory and stuff was really much of a concern for 99% of all applications seemingly.

I always do look enviously at back when you had to figure out sort of bootstrappy ways to solve problems due to inherent limitations of the hardware instead of just sitting there gluing frameworks together like a loser.

Am I wrong or was programming just way cooler back then?

Re: Ask HN: Was programming more interesting when memory usage was a concern?

#2
Like not having enough or managing the memory you do have?

I’d say that garbage collection was key to large scale software reuse as if you didn’t have garbage collection you’d have to have a lot of cooperation between libraries and applications (how does the application know the library doesn’t need a piece of memory or vice versa?)

Re: Ask HN: Was programming more interesting when memory usage was a concern?

#4

Like not having enough or managing the memory you do have? I’d say that garbage collection was key to large scale software reuse as if you didn’t have garbage collection you’d have to have a lot of cooperation between libraries and applications (how does the application know the library doesn’t need a piece of memory or vice versa?)

I guess a bit of both. Managing memory itself is not that interesting as it is just mostly a nice shotgun to shoot yourself in the foot with. I just like the idea of working in a more limited environment where I am forced to come up with perhaps more novel solutions than what my job is now which is just stiching together random libraries and creating unnecessarily complicated SQL queries.

Re: Ask HN: Was programming more interesting when memory usage was a concern?

#6
post #5
post #3

It still is cool because of memory and CPU (power) and code constraints for embedded computing.

I do want to get into that but where I am at embedded computing jobs are kind of rare. I do like programming in C quite a bit.

You can try some home projects to decide if you like it.

Re: Ask HN: Was programming more interesting when memory usage was a concern?

#7
post #5
post #3

It still is cool because of memory and CPU (power) and code constraints for embedded computing.

I do want to get into that but where I am at embedded computing jobs are kind of rare. I do like programming in C quite a bit.

It's also possible to (for example) build 'normal' Web pages that load very fast, eg some of the main readable content is within the first few TCP packets, and the total page weight is <1% of typical. You won't get a medal, but it's fun, and sometimes the perf experts notice unprompted!

Re: Ask HN: Was programming more interesting when memory usage was a concern?

#8
Yes. Also, back then in the offline-ish times people shipped working software. Nowadays stuff is huge, slow, craps out all the time, and the risk of stuff breaking with a next update is comparable to the security risks of turning off updates completely.

Re: Ask HN: Was programming more interesting when memory usage was a concern?

#10
YES, it was for-sure cooler.

Memory mattered. Ditto CPU cycles, disk, and network bandwidth. (Not that your code could count on there being a network, in a lot of cases.) Security wasn't a Garden of Eden...but now that can feel more like being a night-shift ICU nurse during a COVID surge that never ends. And the software stack under your code was orders of magnitude smaller, and slower-changing. These days - that can feel like you aren't a programmer, but instead a Wall Street attorney who's trying to pilot some giga-corporate merger through the shifting regulatory and political obstacles in 37 different countries.

Post reply on HN