All software sucks (2007) (opens external site)
View full thread · View on Hacker News
To get push notifications on iPhone or iPad, add Hack and Chat to your Home Screen: tap Share → Add to Home Screen, then open the installed app and enable push in Settings.
View full thread · View on Hacker News
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).