Hacker News new | ask | show | jobs
by bayindirh 130 days ago
Do not insult P-II w/256 MB of RAM. That thing used to run this demo[0] at full speed without even getting overwhelmed.

Except some very well maintained software, some of the mundane things we do today waste so much resources it makes me sad.

Heck, the memory use of my IDE peaks at VSCode's initial memory consumption, and I'd argue that my IDE will draw circles around VSCode while sipping coffee and compiling code.

> for no reason other than our own arrogance and apathy.

I'll add greed and apparent cost-reduction to this list. People think they win because they reduce time to market, but that time penalty is delegated to users. Developers gain a couple of hours for once, we lose the same time every couple of days while waiting our computers.

Once I have read a comment by a developer which can be paraphrased as "I won't implement this. It'll take 8 hours. That's too much". I wanted to plant my face to my keyboard full-force, not kidding.

Heck, I tuned/optimized an algorithm for two weeks, which resulted in 2x-3x speedups and enormous memory savings.

We should understand that we don't own the whole machine while running our code.

[0]: https://www.pouet.net/prod.php?which=1221

1 comments

No insult intended!

Thanks for sharing the demo!

> No insult intended!

Haha, I know. Just worded like that to mean that even a P-II can do many things if software is written well enough.

You're welcome. That demo single-handedly thrown me down the high performance computing path. I thought, if making things this efficient is possible, all the code I'll be writing will be as optimized as it can be as the constraints allow.

Another amazing demo is Elevated [1]. I show its video to someone and ask about the binary and resources size. When they hear the real value, they generally can't believe it!

Cheers!

[1]: https://www.pouet.net/prod.php?which=52938