News for hackers. Stuff that matters.
Re:Software developers have stopped caring about reliability by phendrenad2 on Sunday October 17, 2021 @04:40AM (#28894923)
Ah I remember when I thought like this. I was so young and naive. Good times.

Fact of the matter is, software is NOT like building a bridge, or any other engineering discipline, it's much, much more complex. We'll never achieve high reliability for anything but the simplest software (reactor control rooms come to mind). Accept the fact that software is hopelessly broken, and find tactics to deal with it.

Re:Software developers have stopped caring about reliability by resonious on Sunday October 17, 2021 @06:04AM (#28895273)
I pretty much agree with this and I also think the reality is people don't care. The stakes are so low that there's no money in well-built software (most of the time). The average user isn't paying out of their pocket and wouldn't even if you offered a more stable experience in exchange for cash.
Re:Software developers have stopped caring about reliability by slx26 on Sunday October 17, 2021 @05:37AM (#28895146)
Agree and disagree. On the one hand, I do agree a lot with the idea that software is a moving target, and it's not enough to build, but you have to maintain it. The whole ecosystem is continually changing, needs are changing, best ways to do things are changing. Formats change, protocols change, etc. I believe acknowledging that is vital in being able to become an effective software developer (I mean, if you are working with a microcontroller or a very well defined and fixed environment, it's another story, of course).

But on the other hand, I don't want to accept that we will never achieve high reliability. I've heard and read multiple times that software goes through an expansion phase (an exploratory phase), until we eventually manage to gain enough insight and clarity as to be able to go back and simplify to something that we can wrap our head around again. Certainly, while developing, I often find myself in this situation. For many problems, you don't understand them until you have written the solution, come across new problems, and are able to rewrite again with much greater understanding... a clean solution.

Now, there are many very complex problems. Some solutions will never be clean. But we do definitely have light years of room for improvement. Networking is messy. OpenGL / Vulkan / low level graphic APIs are unwieldy and inelegant. Same for most databases and SQL. Audio APIs are not much more pleasant. Real time systems are mythical creatures for the average developer. Filesystems are not as homogeneous and standardized as we would like. Browsers are monsters. We can't even agree on what units use for UI elements. We don't really have much idea of how to handle screens of different sizes. Common file formats shouldn't even be a software concern most of the time. We talk so much about type systems but still define most protocol specs in plain text. Interoperability is mostly C or die. Unicode is many things besides a standard for symbols. Too many. Permissions and privacy are... well, maybe it's better to stop for today.

And that's indeed the reason why software must be a moving target. Because we can't accept these foundations to stay as our original, unerasable sin. But I do believe there is a real possibility to do better. One day devs will unite in a mystical place outside the realm of "pressure to deliver", we will agree on what are the main priorities and opportunities for improvement, and we will coordinate to start changing things and make our asylum a saner place. Coordination might be both the biggest technical and non-technical problem we will ever have to face, but I find no reason to believe we can't handle it.

Re:Software developers have stopped caring about reliability by fsflover on Sunday October 17, 2021 @06:23AM (#28895371)
> One day devs will unite in a mystical place outside the realm of "pressure to deliver", we will agree on what are the main priorities and opportunities for improvement, and we will coordinate to start changing things and make our asylum a saner place.

I believe this is exactly what free software is - and in a distant future it will replace all proprietary solutions due to its higher quality.

Re:Software developers have stopped caring about reliability by native_samples on Sunday October 17, 2021 @07:42AM (#28895762)
Vulkan isn't really messy, it's just a very low level API. The idea is that the OpenGL middle ground stopped mattering a long time ago. If you want to just render some 3D objects then you should use a 3D engine, if you want to write a 3D engine then you want Vulkan.

Agree with the rest though. From time to time, the industry manages to go back to the drawing board and make big simplifications or reliability upgrades, quantum leaps. Java was one example because it combined garbage collection, a somewhat rigorous language, high performance, a clean reset of the toolchain (no messy autoconf/Makefiles) and very robust/well engineered standard library. It was a huge success for that reason: familiar enough to be easy to pick up, but it abstracted or eliminated vast complexity.

SystemD was a smaller scale example of a Big Simplifying Reset in the UNIX world.

But these sorts of things come along rarely, and entropic decay into ever more complexity never stops.

Re:Software developers have stopped caring about reliability by d0ugal on Sunday October 17, 2021 @05:28AM (#28895111)
IIUC NASA achieve high reliability for problems that don’t seem simple.
Re:Software developers have stopped caring about reliability by Madmallard on Sunday October 17, 2021 @05:46AM (#28895192)
Yeah, because their incentives strongly align with it. The argument is that the incentives don't align outside of mission critical systems.
Re:Software developers have stopped caring about reliability by d0ugal on Sunday October 17, 2021 @07:42AM (#28895759)
Right, agreed. I was replying to this from the comment. Which seemed to claim it was impossible.

> We'll never achieve high reliability for anything but the simplest software

Sorry, I wasn’t very clear!

Re:Software developers have stopped caring about reliability by AniseAbyss on Sunday October 17, 2021 @05:57AM (#28895235)
Sometimes your seemingly non mission critical software can be exploited in such a way that the entire system is cracked wide open.
Re:Software developers have stopped caring about reliability by resonious on Sunday October 17, 2021 @06:09AM (#28895302)
True and unfortunately this doesn't often result in any damage until way later when someone buys your sensitive documents and commits fraud. By the time the fraud happens, we likely have no idea which breach the info even came from.