this post was submitted on 14 May 2024
1361 points (99.1% liked)

Programmer Humor

32469 readers
440 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 106 points 6 months ago (2 children)

Please no, don't subsidize anything Java-Script. It will only make it less efficient.

[–] [email protected] 61 points 6 months ago (5 children)

And thus JsPU was born from Lemmy

[–] [email protected] 3 points 6 months ago

I'll take 10. Here is a picture of a goldfish as payment.

[–] [email protected] 2 points 6 months ago

I love the idea that we could need a dedicated chip to parse web pages 😂

[–] [email protected] 7 points 6 months ago (1 children)
[–] [email protected] 4 points 6 months ago

Slap a liquid cooler and you're cooking at a high speed 2.08 GHz

[–] [email protected] 21 points 6 months ago (1 children)
[–] [email protected] 7 points 6 months ago

Modern sites: This page requires a JsPU to run which is not present on this system. The website will run in reduced feature mode.

[–] [email protected] 2 points 6 months ago
[–] [email protected] 26 points 6 months ago (3 children)

My thoughts on software in general over the past 20 years. So many programs inefficiently written and in 4th level languages just eats up any CPU/memory gain. (Less soap box and more of a curious what if to how fast things would be if we still wrote highly optimized programs)

[–] [email protected] 19 points 6 months ago

Even if our apps used resources better the adware will just use the free space.

[–] [email protected] 36 points 6 months ago* (last edited 6 months ago)

Answer: there'd be far less software in the world, it would all be more archaic and less useful, and our phones and laptops would just sit at 2% utilization most of the time.

There's an opportunity cost to everything, including fussing over whether that value can be stored as an int instead of a double to save 8 bits of space. High level languages let developers express their feature and business logic faster, with fewer bugs, and much lower ongoing maintenance costs.

[–] [email protected] 11 points 6 months ago

I fully concur. There's tons of really inefficient software out there that wastes resources just because for a long time, available resources grew fast enough to just keep using more of them without the net speed of an application slowing down. If we didn't have so many lazy SW devs, I suspect the reduction in needed CPU cycles would have a measurable positive effect on climate change.