News for hackers. Stuff that matters.
Re:We Are Destroying Software by _hao on Saturday February 08, 2025 @10:54AM (#42983764)
I think that talk might be Jonathan Blow's most important work to date actually. I love The Braid and The Witness, but "Preventing the Collapse of Civilization" managed to articulate what at least me and my circle of devs have talked about and discussed for long time, but were never quite able to put into words. I'm very grateful for people like him and others like Casey Muratori, Mike Acton etc. who continue to point this out very real danger in the (at least) last decade.

Unfortunately my stance is that fundamentally things won't change until we get hit with some actual hardware limitations again. Most devs and people in general prefer a semblance of a working solution quickly for short-term gains rather than spending the actual time that's needed to create something of high quality that performs well and will work for the next 30 years. It's quite a sad state of affairs.

With that said I'm generally optimistic. There is a small niche community of people that does actually care about these things. Probably won't take over the world, but the light of wisdom won't be lost!

Re:We Are Destroying Software by bathtub365 on Saturday February 08, 2025 @11:17AM (#42983959)
Oftentimes there isn’t a need for something to work for the next 30 years as the business will change in a much shorter timeframe and software exists to serve the business. While I agree that software quality varies wildly if the business can’t get off, the ground because the software isn’t ready, the software team will quickly stop existing with the rest of the business.
Re:We Are Destroying Software by 1dom on Saturday February 08, 2025 @01:30PM (#42985004)
The way I interpret the decline of software is that part of the problem is because more software has been written with the mentality that it doesn't need to last 30 years.

It's a self-perpetuating issue: people build stuff saying "it won't/can't last 30 years" for various reasons (money, time, skill, resources, expectations, company culture, business landscape etc). So then software doesn't last 30 years for those same various reasons.

The idea that we think systems did used to last longer is probably some survivor bias. However, software that has survived decades was probably created with a completely different set of methodologies, resources and incentives to modern software.

Re:We Are Destroying Software by eastbound on Saturday February 08, 2025 @02:09PM (#42985344)
Linux and Java has survived since 1995-1998, which is the dusk of times.

We swap JS frameworks constantly, but when we’ll reach a good paradigm, we’ll stick with it. At one point, React might be the final framework, or rather, one of its descendants.

Re:We Are Destroying Software by renewedrebecca on Saturday February 08, 2025 @03:31PM (#42985934)
Or just throw modern web app development with its insane ways of trying to work around the fast that JS is a broken paradigm and start over.

Develop a good vm that can either be part of the browser or can be easily launched from it and get all of the browser/OS makers on the same page.

We only have what we have because of a lack of real leadership.

Re:We Are Destroying Software by maccard on Saturday February 08, 2025 @03:53PM (#42986112)
If history had taught us anything in computing it’s that breaking backwards compatibility/rewriting it isn’t the panacea. See Perl, python, C++, longhorn, mosaic for example. My 4k, 120hz monitor with 32 bit color depth and 16 4.5GHz cpu cores attached to it still renders a terminal at 80 characters wide and chokes on cat bigfile.bin because we’re that married to not changing things.
Re:We Are Destroying Software by ajoseps on Saturday February 08, 2025 @06:58PM (#42987258)
was there a large breaking backwards compatibility break for C++? I was there for some of the Python2/3 transition but I’ve always thought C++ was adamantly backwards compatible (minor exceptions being stuff like auto_ptr/unique_ptr, which I don’t think was as big as a break as Python’s)
Re:We Are Destroying Software by maccard on Sunday February 09, 2025 @06:51AM (#42990088)
Sorry - I meant that C++ as an “improved” C never managed to remove C’s foothold, it just fractured the ecosystem,

When the c++11 abi break happened it was a big pain in the ass, but once MSVC decided in 2015 that they were going to stop breaking ABI I think it was the stability that c++ needed to fossilize…

Spoken as a C++ fan.

Re:We Are Destroying Software by fragmede on Saturday February 08, 2025 @10:22PM (#42988177)
cat nyan.jpeg works of you enable sixel support. Better tools are out there, don't wait for someone else to package it up for you!
Re:We Are Destroying Software by makapuf on Sunday February 09, 2025 @05:30AM (#42989791)
Cat has a jpeg decoder now ? There are terminal image viewers using sixel or kitty image protocol, but cat I'm not sure.
Re:We Are Destroying Software by fragmede on Sunday February 09, 2025 @06:43AM (#42990051)
by "enable sixel support" I mean alias cat=sixcat, which I'm sure breaks some sort of rule
Re:We Are Destroying Software by icedchai on Saturday February 08, 2025 @07:00PM (#42987268)
We had a VM almost 30 years ago. Remember Java applets, then Web Start? It was too bloated for that era. These days, you wouldn't even notice.
Re:We Are Destroying Software by fragmede on Saturday February 08, 2025 @10:22PM (#42988181)
and maybe that's the lesson. They were too early.
Re:We Are Destroying Software by BobbyTables2 on Saturday February 08, 2025 @06:48PM (#42987210)
Practically speaking, software should at least outlast one’s employment at a particular company.

Writing bad code to just get past the next sprint or release is madness.

Re:We Are Destroying Software by naasking on Saturday February 08, 2025 @07:02PM (#42987286)
Writing bad code for any reason is bad, the question is whether you can write good code to get the next release out. Or are you saying there's no such thing as good code that meets the next release' requirements?
Re:We Are Destroying Software by BobbyTables2 on Saturday February 08, 2025 @08:45PM (#42987790)
I think many people write sloppy code blindly thinking they won’t have to worry about it again.
Re:We Are Destroying Software by bigiain on Saturday February 08, 2025 @10:03PM (#42988091)
That's kinda the wo9ld business model of outsourced development teams...
Re:We Are Destroying Software by karmakaze on Saturday February 08, 2025 @03:25PM (#42985879)
There are many large companies running Cobol programs in production that wished software didn't last 30 years.
Re:We Are Destroying Software by MonkeyClub on Saturday February 08, 2025 @04:05PM (#42986203)
Their prospective replacements didn't last the rewrite, though.
Re:We Are Destroying Software by asmor on Saturday February 08, 2025 @05:14PM (#42986650)
That is untrue for almost all software written outside of companies who's primary product is tech or software. I work for a publisher and while there's a ton of disposable microsites and project work (that nobody ever cleans up or documents, so you never know if it's okay to remove), there's also ancient monoliths written in forgotten programming languages that are so important for production and have so many hidden dependencies and unknown users ("random FTP server" being my favorite), that you can barely put on new paint.

I'm writing software with the assumption that it'll be used for at least 30 years there, with a lot of guard rails and transparency/observability mechanisms, because I know the next person working there will thank me.

Re:We Are Destroying Software by dijit on Saturday February 08, 2025 @05:23PM (#42986705)
I don’t mind this philosophy, but in aggregate I think very slow applications that are cumbersome and widely deployed have cost humanity many human lifetimes because a handful of developers were not able (or not given the opportunity) to optimise them even a little.

I am aware that capitalism essentially dictates externalising cost as much as possible, but with software- much for the same reason capitalism loves it (a copy is cheap and can be sold at full price despite being constructed just once) means that these externalities can scale exponentially.

Teams in particular is an outlier as in most cases it is essentially forced on people.

Re:We Are Destroying Software by Wolfenstein98k on Saturday February 08, 2025 @06:51PM (#42987226)
Very shallow definition of "capitalism".

It doesn't dictate externalising cost as much as possible unless you have a very short-term view.

Short-term view businesses get eaten pretty quickly in a free capitalist system.

People forget that half of capitalism's advantage is the "creative destruction" part - if businesses are allowed to fail, capitalism works well and creates net value.

Re:We Are Destroying Software by cassianoleal on Saturday February 08, 2025 @08:27PM (#42987696)
What defines a "free capitalist system", and where does it exist?
Re:We Are Destroying Software by dinkumthinkum on Saturday February 08, 2025 @02:48PM (#42985642)
It’s interesting that all three of the people you mention are very concerned with performance, something most programmers don’t even think about anymore or think they aren’t supposed to.
Re:We Are Destroying Software by FridgeSeal on Saturday February 08, 2025 @04:42PM (#42986441)
As a group, we have trained many, many programmers out of even considering performance with the proliferation of quotes like “premature optimisation is the root of all evil” ands ideas like “who cares, just get a faster computer/wait for hardware”.

Premature optimisation is bad, but there’s now so many devs who don’t do _any _ at all. They don’t improve any existing code, they’re not writing software that is amenable to later optimisation, inefficient architectures and unnecessary busywork abounds.

Are we surprised that years of “product first, bug fixes later, performance almost never” has left us with an ecosystem that is a disaster?

Re:We Are Destroying Software by anymouse123456 on Saturday February 08, 2025 @05:06PM (#42986606)
As someone who used to quote this quote, I've come to believe this one line has caused nearly as much damage as the invention of NULL.
Re:We Are Destroying Software by _hao on Saturday February 08, 2025 @05:27PM (#42986724)
Yes, people think that writing performant software is something that's nice-to-have when in fact if you program with the intention of things being performant then that branches out to better overall design, better user experience, better quality etc. It means you actually care about what you're doing. Most people don't care and the results are apparent. We're surrounded by waste everywhere. Bad software wastes resources like money, electricity and most importantly - time.

The fact that people don't stay long enough in companies or work on a long project themselves to see the fruits of their labour down the line is a point that is discussed in some of the other comments here in this thread. I agree with it as well. In general if you job hop a lot you won't see the after effects of your actions. And the industry is such that if you want to get paid, you need to move. To reiterate - it's a sad state of affairs.

Re:We Are Destroying Software by cageface on Saturday February 08, 2025 @08:21PM (#42987660)
You can get all the software quality you want if you're willing to pay for it.

Users have now been taught that $10 is a lot to pay for an app and the result is a lot of buggy, slow software.

Re:We Are Destroying Software by 0dayz on Saturday February 08, 2025 @09:06PM (#42987875)
The problem is that we generally don't have anyone a good track record of what good software is valued at, it USED to around 300-500$ and with companies being incentivized to go subscription based who knows intuitively what that is.
Re:We Are Destroying Software by dartos on Saturday February 08, 2025 @10:08PM (#42988111)
We’ve also taught users that extremely expensive software like SAP and Blackboard are also crap (at least from an end users perspective)
Re:We Are Destroying Software by cageface on Sunday February 09, 2025 @01:53AM (#42988996)
This is the inevitable result of decades of feature creep in software that tries to be too general and meet every enterprise edge case.
Re:We Are Destroying Software by dartos on Sunday February 09, 2025 @09:49AM (#42991005)
Yep, but the end user doesn’t care.

Those big software packages are sold to admins anyway.

Re:We Are Destroying Software by 59nadir on Sunday February 09, 2025 @04:21AM (#42989515)
I work in a two man team making software that is 500-1000 times faster than the competition and we sell it at ~40% of their price. Granted, this is in a niche market but I would be very careful in stating price/costs are the entire picture here. Most developers, even if you suddenly made performance a priority (not even top priority, mind you), wouldn't know how to actually achieve much of anything.

Realistically only about 5% or so of my former colleagues could take on performance as a priority even if you said to them that they shouldn't do outright wasteful things and just try to minimize slowness instead of optimizing, because their entire careers have been spent optimizing only for programmer satisfaction (and no, this does not intrinsically mean "simplicity", they are orthogonal).

Re:We Are Destroying Software by cageface on Sunday February 09, 2025 @06:01AM (#42989901)
If you really think what you're doing can be easily generalized then you're leaving a lot of money on the table by not doing it.
Re:We Are Destroying Software by 59nadir on Sunday February 09, 2025 @07:04AM (#42990140)
Generalized? Probably not. Replicated to a much higher degree than people think? I think so. It wouldn't matter much to me personally outside of the ability to get hired because I have no desire to create some massive product and make that my business. My business is producing better, faster and cheaper software for people and turning that into opportunity to pay for things I want to do, like making games.

Disclaimer: Take everything below with a grain of salt. I think you're right that if this was an easy road to take, people would already be doing it in droves... But, I also think that most people lack the skill and wisdom to execute the below, which is perhaps a cynical view of things, but it's the one I have nonetheless.

The reason I think most software can be faster, better and cheaper is this:

1. Most software is developed with too many people, this is a massive drag on productivity and costs.

2. Developers are generally overpaid and US developers especially so, this compounds for terrible results with #1. This is particularly bad since most developers are really only gluing libraries together and are unable to write those libraries themselves, because they've never had to actually write their own things.

3. Most software is developed as if dependencies have no cost, when they present some of the highest cost-over-time vectors. Dependencies are technical debt more than anything else; you're borrowing against the future understanding of your system which impacts development speed, maintenance and understanding the characteristics of your final product. Not only that; many dependencies are so cumbersome that the work associated with integrating them even in the beginning is actually more costly than simply making the thing you needed.

4. Most software is built with ideas that are detrimental to understanding, development speed and maintenance: Both OOP and FP are overused and treated as guiding lights in development, which leads to poor results over time. I say this as someone who has worked with "functional" languages and FP as a style for over 10 years. Just about the only useful part of the FP playbook is to consider making functions pure because that's nice. FP as a style is not as bad for understanding as classic OOP is, mind you, but it's generally terrible for performance and even the best of the best environments for it are awful in terms of performance. FP code of the more "extreme" kind (Haskell, my dearest) is also (unfortunately) sometimes very detrimental to understanding.

Re:We Are Destroying Software by cageface on Sunday February 09, 2025 @09:49AM (#42990998)
I think I'd need a lot more than one claim with no evidence that this is true but I appreciate the thoughtful response all the same.

Outside of really edge case stuff like real time low level systems software optimizing performance is not that hard and I've worked with many engineers over my long career that can do it. They just rarely have the incentive. In a few particular areas where it's critical and users are willing to pay software can still command a premium price. Ableton Live is a good example.

Re:We Are Destroying Software by 59nadir on Sunday February 09, 2025 @10:11AM (#42991123)
I don't think either of us needs to convince the other of anything, I'm mostly outlining this here so that maybe someone is actually inspired to think critically about some of these things, especially the workforce bits and the cost of dependencies.

> Outside of really edge case stuff like real time low level systems software optimizing performance is not that hard and I've worked with many engineers over my long career that can do it. They just rarely have the incentive. In a few particular areas where it's critical and users are willing to pay software can still command a premium price. Ableton Live is a good example.

This seems like a generous take to me, but I suppose it's usually better for the soul to assume the best when it comes to people. Companies with explicit performance requirements will of course self-select for people capable of actually considering performance (or die), but I don't take that to mean that the rest of the software development workforce is actually able to, because I've seen so, so many examples of the exact opposite.

Re:We Are Destroying Software by cageface on Sunday February 09, 2025 @09:51PM (#42996430)
I guess I just see so many of these "the whole industry except for me is doing it wrong" kinds of posts but almost never see anybody really back it up with anything concrete that I've grown extremely skeptical.