News for hackers. Stuff that matters.
Re:Every Windows 11 app should kill Electron, and Discord ju... by flohofwoe on Saturday November 07, 2026 @07:59AM (#50404194)
...exactly, at some point you want to show inline animations or videos and all sorts of other media, show webpage previews, play audio snippets and all the other things things a webpage can do, and then you're back to either integrating a browser engine or attempt to write one from scratch (the browser engine can of course be provided by the system webview, e.g. what Tauri does).
Re:Every Windows 11 app should kill Electron, and Discord ju... by goalieca on Saturday November 07, 2026 @08:14AM (#50404297)
I’ve programmed inline video players for 25 years. Same with audio and everything else. We had “accelerated” graphics back with winxp and gdi+ and of course OpenGL over ssh with x11. Browser preview pages in most apps are usually snippets of text and maybe an icon or pic. Not rendering a full page.

In a way, applications regressed a lot with react native and electron. I get it’s easier to develop but the apps are very bloated and underperforming even on computers with 10-100x more power.

Re:Every Windows 11 app should kill Electron, and Discord ju... by bulder on Saturday November 07, 2026 @06:33PM (#50409064)
When it comes to content you control it's very possible to handle everything with platform-native acceleration, but how would you approach embedding a, let's say, YouTube or a Twitter video in a native desktop client?
Re:Every Windows 11 app should kill Electron, and Discord ju... by anthk on Saturday November 07, 2026 @08:05PM (#50409595)
JSON and API's/libraries.
Re:Every Windows 11 app should kill Electron, and Discord ju... by goalieca on Saturday November 07, 2026 @09:51PM (#50410033)
There’s still native ways to do this with libs. Browsers themselves use these. Plus, we used to embed explorer or WebKit or html or whatever without dragging in a whole giant thing where need be.