• Windows Latest discovered Discord and other Chromium and Electron-based applications with high RAM usage
  • RAM usage spikes from 1GB to 4GB on Discord both in and out of voice chat
  • Kairos@lemmy.today
    link
    fedilink
    English
    arrow-up
    2
    arrow-down
    2
    ·
    1 day ago

    Electron should be a system dependency entirely so that every single app doesn’t have to be individually updated whenever there’s a chromium CVE which seems to be weekly.

    • Kissaki@feddit.org
      link
      fedilink
      English
      arrow-up
      1
      ·
      10 hours ago

      We kinda have that already

      Some frameworks/standard libs do support that, making use of OS webrendering capabilities.

      For example MAUI WebView

      WebView uses different browser engines on each platform to render web content:

      • Windows: Uses WebView2, which is based on the Microsoft Edge (Chromium) browser engine. This provides modern web standards support and consistent behavior with the Edge browser.
      • Android: Uses android.webkit.WebView, which is based on the Chromium browser engine. The specific version depends on the Android WebView system component installed on the device.
      • iOS and Mac Catalyst: Uses WKWebView, which is based on the Safari WebKit browser engine. This is the same engine used by the Safari browser on iOS and macOS.