Live data from Hacker News

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

tomtalks.blog

31–40 of 359 posts

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

#31

Earlier quoted context omitted.

>> 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.

[deleted]

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

#34
I'd like to see an independent check of this claim, like 50% memory reduction, but under what circumstances?

If that's at startup when the app doesn't consume a huge amount of memory that's not a particularly interesting claim.

If that's after hours of app usage when the previous Electron app used to consume let's say 1GB that's really impressive, but if the app is consuming 1GB of memory it's because the app itself is allocating a huge amount of stuff in the heap, you can't just swap browser engine under the hood and cut that in half with no downsides, otherwise every browser maker would do just that.

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

#35

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?

>What's the underlying goal you want to achieve

Performance, small bundle sizes and native UI widgets. And judging by all of the Electron apps failing in these departments, I guess you really do need native apps.

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

#36

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 understand correctly, Telegram has native apps on all platforms, and they are super fast and slick.

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

#37

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.

There's also Ripcord https://cancel.fm/ripcord/ which is tiny, native, and works with slack. Going with electron is a simple way to get quick results so companies like it.

I had not seen this, I'm definitely going to try it out. How often do changes made by Slack break it?

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

#38
As if Electron is the actual problem hay. I am forced to have this junk running on my work PC at all times. As far as I know, everyone hates it.

I only know a couple of people who like it and I definitely don't value their input since we disagree on pretty much everything

I know Discord is supposed to be for gamers but I've only used it for work and it's hands down the best thing out there

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

#39
post #10

Are they using react-native?

No react Js. Web view 2 is still a web view backed by Chromium

There's still a lot of Angular in there right now. Presumably standardizing on one stack will trim a not trivial amount of bloat out.

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

#40

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 understand correctly, Telegram has native apps on all platforms, and they are super fast and slick.

Telegram's mac app is pretty good at least, but I don't think it's a serious contender for any 100+ seat company.
Post reply on HN