Live data from Hacker News

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

tomtalks.blog

231–240 of 359 posts

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

#231

Thanks for the improvement, but half the memory is still about 5x as much memory as it needs to use.

FWIW, Slack is just as bad. Looking at RAM usage while running both on macOS, Teams is at 490 MB and Slack is at 500 MB.

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

#232
We've got Win10 tablets at work with 8gb. Having teams open makes everything else slow to a standstill.

I find myself literally confirming that yes I have already scrolled down in excel during a screenshare...lets just give it a couple secs to actually scroll. You'd think we're back in dial-up era

How does a Microsoft app, on a Microsoft OS on Microsoft hardware perform so incredibly badly?

No way Microsoft is dogfooding this. If they did they'd have nuked it from orbit years ago.

Teams 2...sure. I hope they carry over zero lines of code.

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

#233
post #195
post #168

The article says Electron is a memory hog because it is based on Chromium, but so is WebView2! As it is based on the new Chromium version of Edge. It’s still not clear how the switch results in half the memory use then (though I’m happy to see it!)

It's because they control the whole stack. FWIW, I'm currently finishing up an ActiveX wrapper for WebView2 so that it can be consumed in a way similar to the old IE WebBrowser control and so far I'm pretty impressed. To give you a basic idea. I'm running the control embedded and the WebView2 control consumes about 60MB after navigating to my own -mostly text- website. Browsing within that control to the page of the…

> : Another huge advantage. Last week I upgraded MS Edge and WebView2 is also upgraded. So the control is kept up to date and not depending on an external dependency that might end up being a security nightmare

Or disadvantage if you look at it from the developer's point of view - they have zero control over the browser version, so if there's a bug, or lacking feature, or something deprecated, you're screwed.

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

#234
post #176
post #156

Earlier quoted context omitted.

What improvement does it have over email? One is that everything gets sorted under the right project subheading. Discussions about Project FooBar end up in a different channel than discussions about Project Blork. The second is that I can just post on the Blork channel and know that everybody currently connected to project Blork will see it. Equally if I'm not actively working on FooBar I can easily ignore everything…

There were tools called bulletin boards or wikis created decades ago that can accomplish what is described above. All of these chatty tools require discipline by those making posts to not refer to other projects within the silo of the channel. I’ve found this to almost never happen. Email allows for normal conversational encompassing communication method that does not rely upon siloing information about projects into…

There were tools called bulletin boards or wikis created decades ago that can accomplish what is described above.

Far be it for me to defend Teams, but one thing it does kind of right is to automatically create a wiki, a project tracking and a file share page in addition to the chat space for each project so that you can, if you want, use the right tool for the job.

That being said I worked at places a decade ago that tried to do the internal bulletin and wiki thing for their projects, and for whatever reason, it never worked anywhere near as well as I've seen Slack work. So while I agree in theory with many of the complaint levied against Slack as a productivity tool, in practice I've yet to see anything work better. But it is also clear that, for whatever reason, I haven't experience many of the time wasting antics that other people seem to be describing.

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

#235

Earlier quoted context omitted.

TypeScript is also there thing. They've been pushing React as well in SharePoint & other areas for quite a few years. Blazor is very new & was considered experimental until recently. It's still fairly bleeding edge. Microsoft started Teams in 2016 & bought Xamarin in 2016. JavaScript developers are also more plentiful than Xamarin I assume. They should choose the best tools for the job, even if it's not there own. -…

Word/Excel run natively on Windows and MacOS. Also have a web client for them. How does that justify using web technologies for cross platform development?

I believe Word/Excel have a really old code base. The web tech versions of them are very different applications with different feature sets. They're about as similar as VS Code is to Visual Studio.

I think Microsoft is trying to move towards a cross platform for everything from what I've seen. They have a ton of legacy stuff though.

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

#236
Of all the things to fix with Teams, Electron isn’t it. Our company forced us to switch from Slack to Teams. We have it the benefit of the doubt but are regretting it every day. Collaboration is down vs Slack and we’re all less happy. Sounds small but little things effect morale.

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

#237
post #173
post #85

Earlier quoted context omitted.

They are the one example of messaging done right on the client side. And it maddens me that their whole team, including ops and backend is like 50 people. At the same time, they used some pretty unconventional ways to find brilliant people. For example, for iOS and Mac and android apps, they simply held a contest for the best open source app fitting succinct and reasonable requirements. The winner got sizable prize a…

> And it maddens me that their whole team, including ops and backend is like 50 people. But that's how they get so much accomplished. Fred Brooks was correct in 1975 and is still right in 2021. Throwing headcount at a problem only delays it.

> and is still right in 2021

That's a huge understatement. When development tools improve and people get more productive, that observation gets more and more correct.

Thus, he is much more correct now than he was in 1975. And he was pretty much right by that time.

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

#238
Electron came out of Atom, which came out of GitHub, which Microsoft now owns. Obviously Microsoft is a vast empire and there's no reason every team will adopt other teams' work, but it seems curious to hear that electron was dropped for what's effectively the same tech (chromium rendering a web app).

The article tries to explain why Edge Webview2 is better, but I don't find the explanation very compelling. Chromium doesn't seem to be the problem, because both technologies use chromium. So is it the Node bits? Configuration of chromium inside of electron?

From the outside looking in, I find it curious that they didn't just change Electron to do whatever magic they wanted it to do. Certainly they have the expertise and resources.

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

#239
post #55

Not really relevant but I need to vent. Client dropped Slack for Teams. I hate it, and information exchange has dropped precipitously since everyone switched. So slow, half the time text markup doesn't work, and the UI is inconsistent depending on if you're typing in a chat, meeting, or channel. Oh and none of the Slack logs were kept, losing years of information. (But that's not the fault of the Teams software) I lo…

I agree with this. Also how can they forget an option to “paste without formatting”? Copying stuff from other sources is extremely painful. At this point, I leave it as is. I don’t have time to micromanage each copy and paste. Also teams has this arbitrary message character limit that makes it terrible for sharing large chunks of text (partial logs for example). While the integrations with outlook (mail/scheduling) +…

Paste with formatting annoyed me so much I made a website that's just a giant textbox I can use to paste stuff into (https://qi.io)

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

#240

Earlier quoted context omitted.

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?

Core text chat function has been solid for me the last 2+ years on Ripcord on macos and ubuntu. Image handling, search, notifications, e.g., have varied for Slack and Discord channels.
Post reply on HN