HACKER Q&A
📣 vivegi

App Distribution Through the Ages


It used to be that you distributed app binaries for installation on your OS. There were issues of memory safety, code security, viruses, piracy etc., with this approach.

The rise of open source, garbage-collected languages, language runtimes and centrally controlled appstores has become the norm.

Why haven't we had an evolution of better ways of linking/loading applications and policy enfocement that improves memory safety, user security and privacy without the rent-seeking central app store mechanisms? Something like docker or podman but at an application binary level that can enforce a stricter contract and policy enforcement (and maybe portable across OSes) using advancements in languages and systems such as refinement types, SMT solvers, proof systems etc.,

Is there any practically usable software that strives to do this?


  👤 gravitate Accepted Answer ✓
> centrally controlled appstores

A fair bit of software is some Windows binary that has been digitally signed to verify its authenticity, alongside Linux binaries (.APPIMAGE is my fave portable piece of software that runs everywhere without having to install). You can check the authenticity of the .APPIMAGE by check-summing it and comparing against public lists of sums which are known-good hashes.


👤 TrustPatches
What about the web? The browser isn’t a perfect sandbox and certainly limits capabilities but many apps these days could be (and are) served via the browser