• naught101@lemmy.world
    link
    fedilink
    arrow-up
    29
    ·
    1 day ago

    Does anyone else think that browsers implementing every single feature of an operating system is a dumb idea?

    • TeddE@lemmy.world
      link
      fedilink
      arrow-up
      2
      ·
      11 hours ago

      Not really. Browsers were one of the first pieces of software to do sandboxing, but now virtually everything uses sandboxing for organization and security - Android apps have a permissions manifest so they can be sandboxed. Amazon cloud servers are mostly Kubernetes clusters, which is just sandboxed virtual machines. ChromeOS already is a OS/browser hybrid with native sandboxing (and the short lived Firefox OS. Running a 32 bit app in a 64 bit environment requires a compatibility layer, which is a sandbox. If browser technology has already been pushed through the OS stack, why not complete the loop.

      The main use case for hardware acceleration is progressive web apps, which is literally a plan as old as 2006 to make browsers able to securely run signed code natively (as an alternative to using extensions like ActiveX, Java, Shockwave, etc, all of which were notoriously insecure).

      So honestly, I don’t think it’s a dumb idea at all. It would honestly be kinda cool if I could go to blizzard.com and just launch a game full screen, securely with a simple approval rather than downloading and running a separate launcher app. (Assuming the implementation was otherwise sane; I know the current environment of enshittification could torpedo the idea entirely)

    • tormeh@discuss.tchncs.de
      link
      fedilink
      arrow-up
      6
      ·
      23 hours ago

      Desktop OSes are not suited to running untrusted code, unfortunately, so you want to run as much as possible of your closed source megaco software in the browser

    • Mihies@programming.dev
      link
      fedilink
      arrow-up
      4
      ·
      1 day ago

      Well, not. Browsers are slowly becoming the cross platform for your apps and it makes a ton of sense from resources (create a single app vs an app per platform) perspective.