News for hackers. Stuff that matters.
Re:A plea for lean software (1995) [pdf] by k__ on Thursday August 30, 2018 @06:52AM (#17875621)
Somehow I have the feeling this is mostly the plea of a few purists removed from reality.

Since this was published the bloat went on.

Why? My take is, most people don't care about small software as much as they care about UX, availability and features.

How else would you explain the rise of HTML/JS/Electron and the fall of C++/Qt in the UI world?

Re:A plea for lean software (1995) [pdf] by rhencke on Thursday August 30, 2018 @07:04AM (#17875670)
Reality is not some immutable force. We all take a role in shaping it.

In my current role I work on a very large build chain for a very large software product. I have pushed and chipped away at that build chain over the last three years, and at current measure a clean build now takes an hour and a half, where it used to take eight hours.

Why do I care so much about things being lean and small? There are a plethora of tangible benefits, but... maybe eight years ago or so I stumbled across Niklaus Wirth's (author of this article) works, and they struck a chord with me. But I had questions. So... I emailed him.

I'm nobody special. I wasn't expecting a reply. But he wrote me back a wonderful reply to my questions, and that, too, has stuck with me over the years.

So, I'd like you to keep in mind that that 'plea from a purist removed from reality' had a strong impact in at least the reality for one large software product.

Re:A plea for lean software (1995) [pdf] by jcelerier on Thursday August 30, 2018 @07:22AM (#17875753)
> How else would you explain the rise of HTML/JS/Electron and the fall of C++/Qt in the UI world?

Does this "fall" really exist though, or is it just the byproduct of extremely intense marketing from the HTML/JS/Electron software authors ? I'm pretty confident that there are more desktop software being written today in Qt than in Electron - but most of the time they don't end up plastered all over the interwebs for the simplest todo-list app.

Re:A plea for lean software (1995) [pdf] by k__ on Thursday August 30, 2018 @07:36AM (#17875816)
"I'm pretty confident that there are more desktop software being written today in Qt than in Electron"

I'm pretty confident that this is not the case.

There may be a huge amount of legacy software still based on Qt, but new stuff? Only if it is performance critical.

I mean, who wants to pay a C++ dev for something a web-dev can do?

Re:A plea for lean software (1995) [pdf] by dagw on Thursday August 30, 2018 @09:00AM (#17876292)
Are mediocre C++ devs that much more expensive and rare than mediocre web-devs? Certainly in the field I work in (civil engineering) you're probably far more likely to run across someone who can cobble together a simple GUI tool in C++ than you are someone who could cobble together the same thing in Electron.
Re:A plea for lean software (1995) [pdf] by k__ on Thursday August 30, 2018 @09:16AM (#17876390)
Hmyes, you may be right.

I know a bunch of civil engineers who also know some C++.

Probably the reason for all these strange UIs in cars these days, hehe.

Re:A plea for lean software (1995) [pdf] by robmaister on Thursday August 30, 2018 @12:26PM (#17877993)
My bet is on there being less friction at the onset. How quickly can you get a cross-platform prototype up as a web app vs Qt?

I'd also wager there are more C++ pitfalls than JS pitfalls (or at least the JS ones are less severe/obscure). A less experienced engineer would be able to better maintain the web app than the C++ one IMO. This increases the bus factor.

The people who make the decisions care more about those things than the layers and layers of expensive abstractions that prop up web technologies, and how much electricity/battery life that consumes in aggregate.

I'm working in game dev. Most of our tools are native UI or in-engine. The heaviness of web apps frustrates me a great deal, but I get why things exist the way they do.