this post was submitted on 05 Jan 2026
326 points (95.3% liked)

Programmer Humor

30188 readers
1631 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 2 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] Neptr@lemmy.blahaj.zone 23 points 1 month ago* (last edited 1 month ago) (3 children)

I would prefer webapps to native if there was a protocol to fully load the page and disable network traffic for apps that work fully offline. It is more secure to run an app in the browser because off the layers of isolation in modern browsers. Native apps can access all sorts of information and system resources, which could be used to compromise the host OS.

[–] Hirom@beehaw.org 6 points 1 month ago (1 children)

There's a standard API for offline webapps: ServiceWorker https://dev.to/taiwofamaks/build-an-offline-first-web-app-with-service-workers-2ml7

I wonder why it's not used more. Maybe not intuitive enough, or maybe JS framework don't support this.

[–] arrowMace@lemmy.world 2 points 1 month ago* (last edited 1 month ago)

This actually kinda exists, but appears to be implemented in Chrome on Windows only (sigh), and I'm not sure anyone uses it:

https://github.com/WICG/isolated-web-apps/