Live data from Hacker News

Microsoft Teams 2 will use half the memory, dropping Electron for Edge Webview2

tomtalks.blog

21–30 of 359 posts

Re: Microsoft Teams 2 will use half the memory, dropping Electron for Edge Webview2

#21

Drop Electron.... for Edge Webview2. I mean, okay sure, half the memory is an improvement. But what is going on in the chat industry that everyone's converged on Electron? You'd think Microsoft of all companies would be able to figure out how to build native apps. If I want a chat service with native apps, it seems like my only option is IRC.

>> half the memory is an improvement would call it more than just an "improvement", only using 1/2 memory is pretty freakin great when you're already known for hogging mem

Easiest way to get these big percent improvements? Make sure your starting point is ridiculously wasteful.

Re: Microsoft Teams 2 will use half the memory, dropping Electron for Edge Webview2

#22
post #3

Some hope for Mac users maybe? Current state is just shit, especially for corporate users who can't just drop it https://microsoftteams.uservoice.com/forums/555103-public/su...

>Some hope for Mac users maybe?

Nope, Edge WebView2 is Windows-only. Unless the memory improvements are not actually tied to Electron, but rather Teams 1.0 having a shit codebase.

https://docs.microsoft.com/en-us/microsoft-edge/webview2/#su...

Re: Microsoft Teams 2 will use half the memory, dropping Electron for Edge Webview2

#23
I'm wondering how swapping Electron for another Chromium backend will allow them to halve the memory usage. Is Node the main reason that Electron uses so much memory? Or is the Chromium renderer poorly optimized to the extent that it's using double the memory needed?

Re: Microsoft Teams 2 will use half the memory, dropping Electron for Edge Webview2

#24

Drop Electron.... for Edge Webview2. I mean, okay sure, half the memory is an improvement. But what is going on in the chat industry that everyone's converged on Electron? You'd think Microsoft of all companies would be able to figure out how to build native apps. If I want a chat service with native apps, it seems like my only option is IRC.

> If I want a chat service with native apps

But why?

'Native' is a tool, not a goal, surely?

What's the underlying goal you want to achieve, and do you really need native to achieve that?

Re: Microsoft Teams 2 will use half the memory, dropping Electron for Edge Webview2

#26
post #19

Earlier quoted context omitted.

Native anything is a lot of work for not a lot of gain as most users of Teams are forced to have it.

Why bother integrating it into the operating system itself then? That's also a lot of work for something that people are forced to install anyways.

Or you can just pitch proper integration as a Windows 11 feature, to give companies another incentive to upgrade

Re: Microsoft Teams 2 will use half the memory, dropping Electron for Edge Webview2

#27

Drop Electron.... for Edge Webview2. I mean, okay sure, half the memory is an improvement. But what is going on in the chat industry that everyone's converged on Electron? You'd think Microsoft of all companies would be able to figure out how to build native apps. If I want a chat service with native apps, it seems like my only option is IRC.

Native anything is a lot of work for not a lot of gain as most users of Teams are forced to have it.

These are trillion dollar companies, I'm sure they can afford to lead the software industry for the greater good.

Re: Microsoft Teams 2 will use half the memory, dropping Electron for Edge Webview2

#28
post #19

Earlier quoted context omitted.

Native anything is a lot of work for not a lot of gain as most users of Teams are forced to have it.

Why bother integrating it into the operating system itself then? That's also a lot of work for something that people are forced to install anyways.

Is it all that integrated besides being pre-downloaded?

Re: Microsoft Teams 2 will use half the memory, dropping Electron for Edge Webview2

#29

Drop Electron.... for Edge Webview2. I mean, okay sure, half the memory is an improvement. But what is going on in the chat industry that everyone's converged on Electron? You'd think Microsoft of all companies would be able to figure out how to build native apps. If I want a chat service with native apps, it seems like my only option is IRC.

Native apps means essentially building at least 5 distinct apps: windows, mac, iOS, linux, android. What a mess to work with and maintain.

We already have cross-platfrom UI engines called browsers and they're very advanced and reasonably pleasant to work with these days. If you bundle the browser (electron) then you don't have to worry about differences between browsers. So electron makes plenty of sense to developers, even although it's an egregious resource hog.

Post reply on HN