We need to virtualize Ken Thompson ASAP.
Oh, that's easy! Someone posted it to HN, others upvoted it to the front page, and you clicked on it.
But... What a disappointment: a random list including some of the most interesting things humans ever made: emacs, SQL databases, svg, and KDE. A big absent is blender, maybe.
SQL database, for instance, are the right answer to an important class of problems, and one of the most successful abstractions ever made. Do they fit all data storage requirements? Certainly not.
KDE? It's the only OS UI I truly enjoy these days.
The current _less worse_ compromise for code indented to be cross-ISA: plain and simple C with a bit of assembly (yeah, linux/glibc did fail hard with all those because of the bazillion of required gcc extensions). It seems microsoft rust could be an alternative but some say the syntax is a c++ grade abomination, not to mention a c++ SDK (llvm, which I got rid of years ago from many SDKs) and an expensive runtime excluding interop with the other languages (platform ABI compat issues), but I keep an eye on it, because microsoft is pushing harder than google with its go language.
Alternative small C compilers: cproc/qbe, tinycc, scc, etc. But the C syntax is already waaaay too rich and flexible, we would need to 'reduce' it (no more implicit integer promotion, mostly no more implicit casts, sized types, no switch, etc).
Don't forget the c++ to plain and simple C transpiler which is supposed to reduce SDK complexity and size (like the rust to plain and simple C transpiler). I would bet they already managed to add c++ code to break it, because it will turn into a mouse and cat game on c++ ultra-expensive/tantrum features required to build.
Don't forget free form [utf-8] text files. Yes, you can define free text based basic forms which could fit nearly all forms out there and still be easy to parse safely.
Then there must be the following realization: most software, and not all, has a bulk development cycle minuscule compared to its life cycle. To a point, what does matter is language syntax stability over time, and I mean looooong time (even ISO fails that because they always add 'tantrum grade' features which a kid will force into some software and force a whole SDK updgrade, usually those cycles are over 5-10 years).
Personally, for code, I am beyond that: I went binary specs and assembly (without abuse of a pre-processor, here ffmpeg got bitten with nasm macro preprocessor abuse). Usually, I need only 2 ISAs: RISC-V and x86-64 (I start with RISC-V, because non IP locked, which I run on x86_64 with a minimal interpreter). That, said, sometimes I revert to plain and simple C for cross-platform support which I am careful to compile with cproc/qbe.
Some people out there are designing these 'binary'/'AI prompt' specs and getting 'human' assembly directly from 'coding AI' (mostly claude). The compiler is gone. They were more fed up than me with all that cr...
And the more I code assembly for modern microarchitectures, the more I realize the amount of semantic information which is lost by 'high level languages' unable to please properly those very microarchitectures (for instance the static speculative execution rule). Because all that makes the assembly code mostly... chaotic (few to no patterns).
Then I want to use Library Z but it requires version 1.45 of the DLL and I need to use 1.47 for a new feature but it is incompatible with Library Z and so now there is a conflict that can't be resolved.
Software T requires version 2.3 but my Linux distribution only ships version 1.8 and so I can't use that software until the distro updates at some indeterminate time in the future.
Software G requires version 2.3 but Ubuntu ships version 1.7 and Gentoo ships 1.97 and Debian only has 1.6 installed so the number of linux distros that can run the software is limited.
- Size: shared libraries save some disk space. But disks are absurdly large these days compared to executable code, and in practice, code is never the thing that's going to fill up your disk. Your disk is going to be full of data, not code. (Or whichever hybrid of "code" and "data" you want to call a set of neural network weights...)
- Memory: shared libraries can theoretically have the same mapped code pages in memory across several processes. Marginally more interesting, but still not where most of your RAM is going today.
- Upgrades, maintenance, and build time: the expectation that if there's a bug in the shared library, you can update the shared library, and not need to update all the software built atop it. The most interesting reason that's still remaining, but not enough to put up with the tradeoffs of dynamic linking. You'd still have to restart all the applications that have that shared library loaded, so you don't get any logistical isolation there (whereas you would with components communicating via some RPC protocol). You may well have to rebuild things anyway, if the bug is in anything that gets inlined into the application. You have versioning problems, and all the clever schemes like symbol versioning are used by vanishingly few libraries (mostly glibc). And ultimately, rebuilding software isn't nearly as expensive as it used to be, because we have a lot more computing power now.
Dynamic linking seems like a tradeoff designed when the most interesting shared library on your system was libc. It imposes logistical and efficiency costs on everything. And it doesn't buy enough to be worth it.
I do definitely agree for dynamic linking though. It was mostly a disk space saving measure. If one insists it could be a compatibility feature too.
Sounds like a good idea in general. Memory savings are a welcome side-effect.
Static linking is simpler but does away with those advantages.
I suppose much hatred against DL isn't the concept itself, but specific implementations. Like, any which do the versioning / dependency management badly.
You can't just strip and inline the parts of the lib you need. You still probably need to pack in the DLLs you want in case the end users might not have a way to easily procure them elsewhere. Its a big ol' mess...
I am not clicking it, even via an archiving proxy. Hacker News has too many low quality opinion pieces that scores disproportionally, anyway.
Would also explain why KDE is on that list at the bottom (I think that was around the 4.0 era). But I think there is little love for graphical user interfaces in general :-D
"Harmful things that are so superfluous and useless that require no alternative:...KDE..."
That's the furthest thing from a true statement I've read in the past year...and we've had quite a year.
arguable that all insecurity is from an attempt to secure a system designed to be open, transparent, accessible.
Here's some Tom7 counter-propaganda: https://www.youtube.com/watch?v=M1si1y5lvkk
Mind you, provided the relative security of the browser sandbox, that still makes a HTTP MITM no more dangerous than something much easier & more common: a phish.
But still worth clarifying as I think a lot of people miss that point about the assurances of HTTPS.
Because the latter option literally isn't going to work for most people (due to being so woefully inadequate) and is often actively harmful. Complexity is literally a feature not a bug. Simplicity has to give you what you want or it's not simplicity anymore.
Some more examples: "car < bicycle", "shoes < sandals", "microwave < wood oven", "house < tent", "AC < fan", "fridge < root cellar", "sprung mattress < straw stuffed in a burlap sack", "computer < abacus". No need for these complex things, let's become hermits and live in a cave. I heard Gork is doing his fireside shadow puppets tonight.
> bash, zsh, vim, emacs, coreutils, gcc, glibc, cmake, gtk, qt, xmpp, sql, imap, freebsd, netbsd, svg, epub, GPL, APL, MPL
That's probably not wrong directionally. But the longevity of emacs is a good illustration that there's more to things than just complexity/simplicity in the abstract. No one is forced to use emacs, people come to it willingly. It's managed to keep its head above water through every major software and paradigm transition.
It does suck, but it does so in the same sublime way the world in general manages to both suck and be beautiful.
Examples: ad-infested crap / spyware (serves vendors' interests). Closed source (same). Programmers who confuse "end user" with "developer". User interfaces which look shiny but ignore heaps & heaps of UI/UX research. Featuritis that turns every tool into a programming language / everything-app, etc.
Or a recent submission of mine: 14GB-eating Android doesn't come with a manual (seems to apply to iPhone too). To add on that one: supercomputer-in-your-pocket can't create/edit plain text files (only view them. Until a text editor app is downloaded).
All real world practical stuff is full of compromises and marred in some way by consensus. Working together with other people is, yes, hard.
IMHO we should reach for that golden middle path.
because simple and elegant code is really more reliable and easier to maintain than complex code, also it's not just about simplicity but unix philosophy of "do one thing well"
> Very few are going to prefer ed to anything else like vim/emacs or even nano.
you seem to be confusing the amount of code to do the same thing vs the scope of the whole program / application, vim/emacs clearly do more than simple text editing, this isn't a fair example, it's like comparing tetris and GTA VI because "both are video games"
For remarks about nostalgia, this website wasn't updated in a long time, so it's pretty dated (but still relevant IMO).
> Very few are going to prefer ed to anything else like vim/emacs or even nano.
Many people from my circles prefer plain neovim/vim over VScode. I get why people would not choose to use ed. But there are - usable, simple and still powerful text editors like vis[1] or mg[2].
For me, I find that less software I use, both in terms of size and quantity, the saner my computer usage is, the less I want to spend time on fiddling with settings, fixing broken things and move on to do stuff. Which is the whole point.
1: https://github.com/martanne/vis
2: https://github.com/troglobit/mg