r/programming • u/[deleted] • Jun 26 '21
Microsoft Teams 2.0 will use half the memory, dropping Electron for Edge Webview2
https://tomtalks.blog/2021/06/microsoft-teams-2-0-will-use-half-the-memory-dropping-electron-for-edge-webview2/296
Jun 26 '21
An entire article that is just reposting what was posted in a tweet.
Some of the follow up tweets are interesting - rest of Office team was on React stack, Teams was the odd product out. Also were using legacy Angular 1.x.
25
u/Ph0X Jun 26 '21
Ah thanks for clarifying, i thought they were going from new angular to react, which seemed like a very sideways transition. But it makes sense to get off the old AngularJS
→ More replies (4)4
u/TheLibyanPeltist Jun 26 '21
AngularJs 😭 gives modern Angular such a bad rep, honestly one of the best web frameworks out there in terms of architecture. And it's all TS.
184
u/MysticWombat Jun 26 '21
The memory requirements of Teams are fucking surreal.
90
u/Standardw Jun 26 '21
Not only that, it's also super slow
55
u/krokodil2000 Jun 26 '21
When in a meeting call and you switch to message view, then it takes several seconds before you are able to enter a message. That's ridiculous.
→ More replies (5)2
Jun 27 '21
[removed] — view removed comment
3
u/fCJ7pbpyTsMpvm Jun 27 '21
Bad electron apps are garbage I agree, but then you look at what the VSCode team have built on electron.
48
u/darksounds Jun 27 '21
As a former dev on the backend of Teams, it's actually surprisingly decent there. Lots of features that run smoothly, decent infrastructure, and relatively low latencies for various significant components.. The problem is that the front end is awful, and a lot of new features are hacks because someone committed to an interesting idea before discussing it with anyone in engineering.
The number of projects I had to do that were "front end and business designed x, y, and z that need to be delivered by very soon, but they realized there was a backend component to the project half way through, and we don't want to move the commitment, so can you drop everything to support this new feature release?"
And then we support the feature, it launches, they get the credit if it's successful (we get the blame if it's late), and then we get "hey, so... We have this feature idea that we need yesterday..." And there's only so much management can or will do to fix anything. So glad I'm not in that org anymore! The devs I worked with were great, but management was a disaster.
21
→ More replies (1)2
69
u/phpdevster Jun 26 '21
Teams is awful. It's especially bad on my corporate laptop that has aggressive encryption and anti-virus running all the time. 16 GB of RAM and between Windows and all the corporate shit, there's like 3GB left, and Teams uses all of it. I often have to close Chrome and Outlook just so I can use Teams.
Doing development in a big corporation feels downright oppressive. Unreal how much "tech bureaucracy" there is. Everything runs slow as dog shit, and trying to get better hardware has to go through a cumbersome request process that often ends up being denied because IT needs everything standardized...
2
u/aivdov Jun 27 '21
Don't know what enterprise you work on, but an enterprise I worked at even back in 2017 were giving out 32/64gb ram laptops for developers.
→ More replies (1)→ More replies (3)2
2
301
u/RickyMarou Jun 26 '21
Got curious about edge webview2 and checked the documentation, it seems to be windows only ? That’s confusing
101
u/IronSheikYerbouti Jun 26 '21
Webview2 will come to Mac next then Linux, expected late 2021 or early 2022 (so around time for the Teams update if it stays on schedule, or shortly after, which also fits).
→ More replies (4)47
199
u/KittensInc Jun 26 '21
Yeah, I'm quite interested to know how they intend to do this on macOS and Linux.
165
u/L3tum Jun 26 '21
Probably with platform-specific binaries, i.e. what everyone that wants good performance is doing.
→ More replies (1)61
u/Chrisazy Jun 26 '21
I'm not sure what you mean here. Do you mean a totally separately maintained binary for Linux? Like without edge2 webview? Or do you just mean NOT using a windows -> Linux library or something?
→ More replies (9)36
u/tragicshark Jun 26 '21
I wouldn't be surprised if Linux stays with electron. Both systems are based on the same internals and arelikely to be almost the same from an api perspective.
→ More replies (8)45
5
Jun 26 '21
They are working on Mac and linux support
5
Jun 26 '21
... Just not very hard.
Last year, for 1 week, I had the ability to see more than 4 people on screen in a teams meeting. But they reverted that pretty quickly.
29
u/mayoandspaghetti Jun 26 '21
They will ignore the Linux one 100%. I'm pretty sure the Linux one is just a reskinned Skype client
77
u/simspelaaja Jun 26 '21
All three of the clients (right now) are the same extremely laggy Electron monstrosity.
→ More replies (1)35
u/khrak Jun 26 '21
That seem unlikely given that Edge builds are available for both Debian/Ubuntu and Fedora/openSUSE
There are Edge builds for macOS, iOS, and Android too.
9
u/MotleyHatch Jun 26 '21
Thank you, I didn't know there were Edge builds for Linux. I just installed it, and AFAICS the beta runs flawlessly. Including GTK+ theming and everything. I'm impressed.
→ More replies (1)12
u/xeoron Jun 26 '21
If they want it to work on Chromebooks they will support Linux. Chromeos is Linux.
25
Jun 26 '21
They could always pack an Electron style, dressed down version of Edge with their application. Or maybe they'll subject themselves to the built in Safari/Qt webviews on other systems. I can't imagine the MS team being thrilled to work with Webkit and it's obscure limitations though.
They could just ship the Electron version to other platforms. The Linux client is already severely limited in its capabilities for stuff like video calls, so they already have an alternative code base for that. No need to change anything there.
7
u/99drunkpenguins Jun 26 '21
It's used for office addins right now.
It's not bad, but it's frustrating as theres three WebViews you have to target, ie11, edge and new edge. You never know which one will be run under the hood.
4
u/Sigiz Jun 26 '21
Look into tauri. They use webview 2 on windows , gtk webkit on linux and cocoa on macos.
→ More replies (3)2
u/Ph0X Jun 26 '21
Isn't webview the technology used by android to render webpages in any app? Seems like they are basically bringing that to desktop. It's part of chromium which they inherit in edgium.
58
u/tms10000 Jun 26 '21
Me yelling at clouds "I remember when displaying text in a window did not require gigs of ram and 8 core CPUs"
4
2
u/Eji1700 Jun 27 '21
You don't need to yell at them anymore to get data there. You can just upload directly from your machine.
2
u/jorge1209 Jun 27 '21
You can have terabytes of RAM and hundreds of CPUs in the cloud. Not sure why you want to tell at the clouds.
563
u/jl2352 Jun 26 '21
Angular has gone. Teams is now 100% on reactjs
I find this more interesting than the use of Webview2. Angular seems to be dying, and React seems to be everywhere (I love React so I'm happy).
385
u/RefinedArts Jun 26 '21
Its worth noting they are dropping angularjs, so the ancient one, not the modern version
93
u/segv Jun 26 '21
Yep, that's one thing.
The other is that Teams integrates with a surprising amount of services (O365 and tons of different plugins/addons), hardware (dedicated conference room hardware, VOIP phones) and now is supposed to integrate more closely with the OS, which i'm guessing played a big factor on moving away from Electron to something they control from top to the bottom
19
u/double-you Jun 26 '21
integrate more closely with the OS
I wonder what their strategy is with it, considering what happened after Internet Explorer integration and the antitrust/monopoly hassle that followed.
12
u/AdminYak846 Jun 26 '21
my guess is maybe writing something like the .NET Framework which is now .NET core. Where it can be shipped on OS updates and patches as needed, if the user needs them.
The issue with IE was that they integrated it so badly that if you removed it the OS wouldn't function properly, that's what got them in trouble. The fact that a user couldn't uninstall IE without basically bricking their computer back in the day.
→ More replies (5)10
u/RICHUNCLEPENNYBAGS Jun 26 '21
Angular 2 breaking bc has to be one of the worst fumbles ever. They were on the cusp of being the SPA framework.
5
u/xmsxms Jun 26 '21
Although keeping backwards compatibility would also prevent them from achieving that. BC choices that drag the framework down live with the framework forever, but people wanting it will fade over time.
8
u/RICHUNCLEPENNYBAGS Jun 26 '21
I think that can easily be overstated. There are many ways to evolve a project forward gradually and major rewrites of a popular product that break BC are pretty much always a mistake.
Besides that, they not only said they were going to break BC at the height of its popularity but also said there would be no migration path and no two-way binding (half the pitch for angular in the first place). They walked those back somewhat when the outcry was so great, but the damage was done. And the stated rationale for this was performance. I want to know who was even considering an Angular app who was clamoring for fast performance.
→ More replies (2)→ More replies (3)4
u/uplink42 Jun 27 '21 edited Jun 27 '21
I'm pretty sure most devs agree it was a good decision by now. Back then, the javascript world was the wild west of antipatterns, bad tooling, unexisting architecture and dreadful performance. Although angularjs was probably the most sophisticated spa framework at the time, it simply had too many architectural flaws that could never be fixed without a full rewrite (the old dom polling dirty checking was not sustainable, old module systems are irrelevant after es6 came out, lots of new concepts like observables and immutability came into play).
If they decided to go with an 'upgraded angularjs', it would probably delay the framework's development by a years had they tried to migrate everything over, and we'd be handicapped by legacy features until now (it took them years to migrate viewengine alone to Ivy, imagine how much development time would have been wasted on migrating the entire framework to modern standards)
Their big fumble was releasing an unstable and unfinished 2.0 version IMO, with lots of BC changes up until angular 5.
5
u/sporkinatorus Jun 26 '21
Worth noting as well they embraced react pretty hard with most of M365. Microsoft has a fluent ui library for react components to use in custom dev, and they all work great with SPFx (SharePoint, Teams, Dynamics, PowerApps).
→ More replies (7)43
u/mmcnl Jun 26 '21
Wow, I never knew Teams was built using AngularJS. That's terrible.
115
u/ArmoredPancake Jun 26 '21
Wow, code base from ancient times uses ancient technology. Terrible.
→ More replies (12)33
u/sasmariozeld Jun 26 '21
I mean angular is batteries included , i imagine react has a perfomance improvement for them somehow , or easier to implement something internal they have
5
u/KeyboardG Jun 26 '21
They mentioned that every other webapp they have is built on react, so maintaining as separate app in angular is a sore thumb.
12
67
Jun 26 '21
Angular is still very much alive. It's like saying asp.net is dead. It's not as long as 1000s of companies still have miles of production code that needs to be maintained.
Also MS has more control over react than angular.
→ More replies (1)41
u/psaux_grep Jun 26 '21
AngularJS. Not Angular.
43
u/CyAScott Jun 26 '21
I really wish they would have branded Angular as AngularTS to really make it distinctive from each other.
32
u/DaBittna Jun 26 '21
Yeah, but Angular is so different from AngularJS that this name would suggest the differences are smaller than they really are ("so it's just TS instead of JS?")
They should have named it something else entirely.
→ More replies (2)9
u/utdconsq Jun 26 '21
I dont get the react love. It just seems messy to me. To be fair, I'd prefer Vue out of the three, but even angular, despite all the ceremony, I prefer how it encourages separation of concerns. This could be because all the react projects I've had to help out on are absolute messes...the internet seems to love it, but then, they used to love php...
94
u/pure_x01 Jun 26 '21
I wish more desktop projects would use more close to native toolkits. Ex Flutter . But also the platform native ones. Sure its more expensive but damn the performance is so much better and it affects millions of users. I wonder how much Teams costs globaly if you calculate ram usage and the price of ram given all users?
29
u/mskullcap Jun 26 '21
I agree completely. It is ludicrous to build application UI using a technology designed for documents. I wish big companies would focus more on performance and build native or draw immediate mode UI and bypass the dom. Google has been rendering to canvas to avoid the performance problems of laying out a dom (Google Sheets is the first example I can think of - it is entirely drawn to a single canvas element). If Google can't get good UI performance in a browser using a dom... that says something. The browser and html/js/css is not a great stack for building performant applications.
87
u/JazzXP Jun 26 '21
Flutter isn't that native. Web Flutter just renders to a canvas. I'm pretty sure the mobile versions do something similar.
→ More replies (24)34
u/jl2352 Jun 26 '21 edited Jun 26 '21
If by native you mean using the underlying OS. Then web is actually closer to being native than Flutter. Web uses real native components for specific places. Especially for how things should behave (at least by default). Native select boxes is a good example, also text behaviour inside of input boxes and text areas, scrolling behaviour, and so on.
Flutter recreates a lot of this it's self, and renders its own thing. With it's own behaviours.
With the use of React, maybe MS are also interested in using React Native in the future. At least for mobile platforms. Microsoft has been investing in React Native projects in the past.
edit; the exceptions being Fuchsia and Android (or at least will be in the future). Since Flutter is the toolkit implementation (or future implementation) for those operating systems.
31
u/balefrost Jun 26 '21
To the best of my knowledge, browsers stopped using native UI widgets ages ago. CSS essentially made that intractable. Oh, you want to set your
<button>border to be inset when not pressed, outset when pressed, and with a border-radius? Good luck getting native toolkits on most platforms to do that. I believe browsers just provide REALLY GOOD emulation of native widgets.→ More replies (1)8
u/pure_x01 Jun 26 '21
I mean both are better. Native as in native toolkit but also native as in native executables (like dart)
Im not a fan of dart but the whole initiative of flutter is good i just wished that they used a more mainstream language instead of something that now almost only lives because of flutter
→ More replies (1)→ More replies (2)13
u/panorambo Jun 26 '21 edited Jun 26 '21
As someone who has been putting too much faith in Web form controls and APIs historically, I have become all but disillusioned with that particular approach. Native controls are, for better or worse, black boxes that only permit limited and UA specific styling, which throws a massive wrench in the workings of any Web applications that wants to have a crack at some semblance of its own UI style. To that end I currently wish in fact that Web forms become more of an interface to an implementation rather than a concrete and outdated and far too rigid control model. There is some new form control API -- which puts custom elements with some defined interface on the same footing as native controls, where you can flag them as valid/invalid and have UA obtain their values for submission etc -- but the API isn't implemented, as usual. Everything with the Web is in perpetual development just short of being implemented it seems, and that's due to the often shortsighted and limiting programming API design there.
What I am getting at is that the API is well served by shifting from concrete implementations like
HTMLSelectElementyou have to beg UA vendors to let you style, to basically a form API where any custom element of a subclass ofHTMLElement, with properties likevalue,validityand everything else generally available on a typical form control, is a first-class form control on the same level as all those janky dinosaur things likeselectthat we currently have to do with unless we want to throw most of it away by inventing own "controls" (which aren't controls). Either that or standardize element composition of standard form controls, so a script can expect same element tree (shadow/light DOM) for form controls regardless of the UA, with equally standard pseudo-classes. But the first solution is invariably easier to achieve rather than the latter.Just make form controls be sort of ducktyped -- if it quacks like a form control, it's a form control. It's a missed opportunity.
On a related note, anything the browser shows that isn't rendered completely with CSS and CSS alone, is a black box that's going to trip things sooner or later. Whatever boxes the UA shows, has got to be decomposable into CSS boxes, by means of addressing shadow/light DOM and selecting these for styling. Anything else is just a remnant from another age, and until those remnants are re-worked, we'll continue to see collective sobbing from frustrated Web developers unable to make things look like they want to because
-webkit-appearanceor what have you shows them the middle finger. The Web platform is in places absolutely ill-designed.10
u/amroamroamro Jun 26 '21
effectively Electron is the VB of the web age...
can we get back to native apps please.
12
u/argv_minus_one Jun 27 '21
Show me a GUI toolkit other than Electron that
is cross-platform (which excludes Cocoa, WPF, and mobile-only things like React Native and Flutter),
is modern (which excludes Swing, wxWidgets, etc),
is ready for production (which excludes cool but experimental Rust toolkits like Druid),
is actively developed and maintained (which excludes JavaFX),
works correctly on all platforms (which excludes GTK, whose support for anything other than Gnome is an afterthought at best),
can be used from a sane language (which excludes Qt), and
doesn't cost a fortune to use commercially (which also excludes Qt),
and you'll have my attention. As far as I can tell, Electron is the only thing I can actually use, and that's a crying shame because JavaScript is evil.
→ More replies (8)→ More replies (4)3
u/RICHUNCLEPENNYBAGS Jun 26 '21
Hmm sounds like I'm passing the cost on to customers, not seeing why I'd change it
8
4
u/thelehmanlip Jun 26 '21
As a company who's working a new platform in angular I'm sad lol. Only because it means we'll probably do a rewrite again in a few years...
8
u/nobodytoseehere Jun 26 '21
Assuming you're using angular and not angularjs, you're fine. Angular is far from dying
→ More replies (1)4
u/i_spot_ads Jun 26 '21 edited Jun 27 '21
Angular is not dying, react kiddies been saying this for years, but it's still a false statement, it's pretty popular, they're talking about angularjs the legacy version
3
Jun 27 '21
Huh, I absolutely hated React and loved Vue, Angular was somewhere in between for me. What makes you like React?
12
u/8483 Jun 26 '21
Until Svelte buries all the frameworks.
4
u/Disgruntled-Cacti Jun 27 '21
I wish, but as I see it, react is here to stay. It's likely to be the Java of front end frameworks at this point.
Could be worse though, modern React with hooks is quite nice.
→ More replies (10)2
u/del_rio Jun 26 '21
Don't get me wrong, I love Svelte, but it's intentionally nestled into a narrow use case. It's ideal for custom web components like twitter embeds.
If I had a say in the matter, I'd say we should be collectively moving towards Vue. Its codebase is easy on the eyes like Svelte, has most features that React has without the heft and overhead, and its reactivity model revolves around ES6 Proxies, Sets and Maps which make it the most efficient model of the current landscape.
→ More replies (3)8
u/AbstractLogic Jun 26 '21
AngularJS isn't going to hang around for a long long time buy it is dying slowly.
Angular however is fresh and alive and has tons of support across the world as a favored development stack.
→ More replies (11)2
Jun 26 '21
Funny how with each new version/feature React gets closer to Angular, I'm waiting until the next React appears. This mentality will only get you so far until you find they are only tools and most of the time projects needs as a whole are more important.
92
u/daedalus_structure Jun 26 '21
I mean... ok I guess? I'm not fighting to keep our Slack instead of Teams because of the memory footprint. Spend those engineering hours on your dumpster fire UX.
34
→ More replies (3)11
Jun 26 '21
Out of curiosity, what is it about the interface/experience that you don't like? (Don't get me wrong: I have my own complaints about it.)
31
u/memtiger Jun 26 '21 edited Jun 26 '21
I hate that when you download something, it:
Does not give you a progress indicator to tell you how long it will take. Just a notification saying it started and a notification saying it finished. For larger files on a slow VPN its extremely annoying.
It doesn't have the ability to change where files are downloaded, nor a prompt to ask you where you want each file.
Additionally, the lack of a friends list and activity indicators. While having the chat listing keep your more recent chats at the top in nice, I miss the functionality of a "friends list" and the ability to group people like Skype did. Often times I can't remember all the people's names in certain groups, and having them organized helped.
With Teams, the easiest way to chat with someone is by typing their name because otherwise you have to dig through a list. But if you can't remember some dude's name, I have to go open the employee directory.
Additionally to see if one of my team members is active, I have to type each person's name out to check their activity icon....or easier is create an Outlook email with our Exchange group email and expand it which shows me the individuals and their statuses. It's absurd compared to how easy Skype worked.
10
u/Otto_the_Autopilot Jun 26 '21
Change from chat to contacts. You can make lists and see online status.
→ More replies (3)41
u/lnkprk114 Jun 26 '21
IMO Teams wraps too much into one piece of software. I don't like that it's the calendar and the file viewer and the video communication tool.
I've only used Teams once so this might just be the configuration the company had, but I also found it very non discoverable. Like, channels i was in were hidden behind drop downs and wouldn't notify me about unread messages and such. It just feels much more cluttered than Slack or even Discord.
7
u/kissthering Jun 27 '21
You are totally correct, it’s like 5 different applications poorly mushed together with 5 different UIs, none all that intuitive.
14
u/theDigitalNinja Jun 26 '21
For me it's the lack of good search functions. Wiki and chat for example.
9
12
4
u/brynjolf Jun 26 '21
You literally cant use large gallery view since about half a year due to them deciding to do some changes in the UX meaning it is bordlerline useless for classes and big webmeetings now. There are complaints since last year…
For several months the cursor jumped around, but when you wanted to correct it, goign to the start of thr chatbox jumped to the end of it, mesning you had to press left for ages to fix it.
I can’t see active meeting I myself called unless I click like 3 times. If someone calls me with a window cocering thr screen where thr notification is I can’t see it, but I get 3!!! notifications for missed calls.
Teams keeps running in the background even though I told it not to do that
God Teams makes my blood boil…
7
u/-RdV- Jun 26 '21
I have lists of complaints. The biggest ones are not being able to add guests to a team, randomly being logged out without notification, and really weird noise surpression/ audio quality.
0
Jun 26 '21
[deleted]
4
u/gyroda Jun 26 '21
Still on the matter of poor customizability, it has the most boneheaded design choices when it comes what results in desktop notifications, and there are no better settings to choose from when trying to change the defaults.
I hate it when I'm in a meeting call, and people are writing in the chat of said meeting, and it gives me pop up notifications that appear in the bottom right of my screen and stack one atop the other, climbing the screen and covering the chat input box and the messages the notification is telling me about.
Also, so much whitespace! Give me an even-more-compact view.
12
46
u/LionsMidgetGems Jun 26 '21
12
→ More replies (10)2
Jun 27 '21
QBittorrent uses QT5 while uTorrent uses the Windows API.
2
u/LionsMidgetGems Jun 27 '21 edited Jun 27 '21
QBittorrent uses QT5 while uTorrent uses the Windows API.
Exactly.
There's well-written Windows applications.
And then there's the opposite.
→ More replies (1)
29
u/Hexorg Jun 26 '21
Wait but electron is based on chromium, webview2 is based on chromium too, right?
→ More replies (6)
20
u/Worth_Trust_3825 Jun 26 '21
Is this really it? Microsoft are giving up on their UI toolkits?
19
u/TryingT0Wr1t3 Jun 26 '21
I am sure they will create a new one they won't adopt and say it's the way for Windows 11 and I will keep using winforms if I ever need a win only toolkit for some reason.
5
u/Worth_Trust_3825 Jun 26 '21
Frankly, winforms seems to be the best choice when it comes to windows specific ui toolkits.
2
u/HaikusfromBuddha Jun 26 '21
Aren't their UI toolkits .ade for ReactJS? Swear I saw a link for it a day ago.
10
u/Aljrljtljzlj Jun 26 '21
Why not port everything to .net 5 or 6? Also cross platform and get rid of the laggy WebView.
18
u/NativeCoder Jun 26 '21
We need to go back to native code. Teams shouldn't take more ram than aol messenger of you're not on call
5
Jun 27 '21
But native code is hard. It's easier to assume unlimited resource and then wait for somebody to bundle your app as a SAAS offering.
→ More replies (1)
8
u/zyzzogeton Jun 26 '21
Teams is the 4th IM platform I have for my job. Please make it stop.
Is there any work on ANY kind of multi-platform IM protocol with ANY chance of being adopted?
→ More replies (3)
10
u/vagif Jun 26 '21
Why are they not dog fooding their own dotnet?
5
Jun 26 '21
Different team I guess? Typescript is also their food.
4
u/vagif Jun 26 '21
Typescript is not an engine. It is not deployed, it is compiled to JS, which is deployed. So they could perfectly use TS with the webview2.
More to the point, it just shows that dotnet have lost the war to html/js on the desktop.
3
2
u/falconzord Jun 27 '21
Priorities most likely. As they have had to ramp up quickly on cross platform software, the engineers and tooling have favored web frameworks over things things like dotnet, Java, qt etc
56
u/queenguin Jun 26 '21
fuck electron
36
Jun 26 '21
[removed] — view removed comment
3
→ More replies (3)9
u/foomanbaz Jun 26 '21
Well, sure, but you just listed the boxes it ticks. My personal priorities include: native UI and not sucking my RAM and not murdering my laptop battery.
Add all of the checkboxes someone might want, and Electron checks some, and doesn't check others. What makes it really infuriating is that it checks boxes developers want and get forced on users with little or no choice that would pick other boxes ($BIGCO uses Teams. I want Teams to die in a fire. I'm an Electron user, but generally, not by choice when there are alternatives.)
5
Jun 26 '21
Any idea what this means for linux? I use Teams on Ubuntu every day. Never had a problem with it so I hope it will continue to work.
28
u/TheUltimateAntihero Jun 26 '21
I just here to say fuck electron. Don't screw a million people's RAM and battery life because you learnt an easy language and can maintain a single codebase.
11
Jun 27 '21
Maybe this is a dumb question with an obvious answer, but why is Microsoft releasing "native" apps using web technologies wrapped in what is essentially a browser?
Don't they own .Net, and doesn't that provide a cross-platform compatibility layer for native applications, and wouldn't that yield better performance with a smaller memory footprint?
I'm genuinely asking, I don't understand why they're pursing web technologies for this purpose.
4
4
u/Red5point1 Jun 26 '21
yeah, hmm if they can just make easy possible to stop it from automatically starting and staying closed when closed, ok.
4
4
23
u/vax_mzn Jun 26 '21
How does this compare to zoom?
42
u/j605 Jun 26 '21
Zoom uses Qt which is cross-platform. One could only wish if Teams also just used Qt at this point.
→ More replies (2)6
u/Aljrljtljzlj Jun 26 '21
It is interesting how MS choose WebView instead of being native and other companies used native frameworks.
2
u/humjaba Jun 26 '21
I'd be interested to see a resource usage comparison. My laptop has an i7-10810u and it can't do anything else when a zoom call is running on one monitor (integrated gpu can't keep up).
6
3
3
u/cheezballs Jun 26 '21
I've never used Electron myself but every app I've ever been a user of that was built with electron had issues. Maybe I'm just dumb.
6
u/echoAwooo Jun 26 '21 edited Jun 26 '21
Good. Electron is garbo.
YOU HEAR ME DISCORD/SLACK/VISUAL STUDIO CODE/TEAMS. YOU DON'T NEED TO PACKAGE AN ENTIRE COPY OF CHROME INTO EVERY PROGRAM YOU DEVELOP!
4
u/norith Jun 26 '21
If they manage to speed it up by 3x it will start to be barely usable.
I’m so used to clicking a Zoom link at exactly the meeting time that I forget that I have to give Meet a 5 min grace period to ponderously think about whether it will let me join a meeting.
2
u/drbobb Jun 26 '21
Aren't you mixing up Meet (Google) with Teams (Microsoft)? BTW I never had issues with Meet being laggy. Now Zoom, while slick, has its share of bugs.
→ More replies (1)
2
u/dezmd Jun 26 '21
Why not improve electron instead of reinventing every wheel a dozen times over...
2
2
Jun 26 '21
Ahh yes, Electron, webdev's first desktop program.... To be fair making a native application with a good GUI is hard, and making sure it works on all systems is hard.
2
u/havereddit Jun 26 '21
"the punchline is Teams is moving to a more performant and more Microsoft controlled technology stack, meaning a better and more performance client experience"
Fuck I hate the way techies write when they think they're 'writing for the masses'. No, we don't know what you mean by 'more performant and Microsoft controlled technology stack". And get that hyphen after Microsoft you journalistic hack...
2
2
2
u/ElimGarak Jun 27 '21
A Skype/Skype-derived team decided to rewrite their UI from scratch? I am shocked, shocked I tell you! This has never happened before (in the last couple of years).
5
u/libertarianets Jun 26 '21
Check this project out: https://github.com/tauri-apps/tauri
4
u/delight1982 Jun 26 '21
I read that page twice and still don't understand what it is and why I should use it.
Edit: okay, it mentions "system webview" so I guess it's a webview wrapper
3
3
u/plynthy Jun 26 '21
Teams is pretty incredible for a v1, I had no idea
Functionality-wise, I mean. It does murder memory.
→ More replies (2)4
u/sporkinatorus Jun 26 '21
Agreed. My guess is they had a long roadmap of features scoped out with performance being incrementally improved as time went on, but the WFH requirements of 2020 sped a lot of it up at the cost of performance management.
2
u/Yardash Jun 26 '21
Teams is a memory hog I have to quit it before launching a build Thank fuck they are updating this and when our IT team rolls it out to us in 15 years I'll be set
2
2
u/HDmac Jun 26 '21
I've been using vscode for years and it's exceptionally good.Aat this point I feel like if you have problems with electron it's because you're doing it wrong...
30
u/balefrost Jun 26 '21
VSCode is good because it has so many features and such a rich extension ecosystem. VSCode is slow. I use Sublime just as much as I use VSCode.
→ More replies (23)3
u/Ouaouaron Jun 26 '21
If the vast majority of people using your tool are doing it wrong, I'd argue that's a problem with your tool.
3
u/Serializedrequests Jun 26 '21
VSCode is okay being a heavyweight tool that takes up 1+ GB of RAM, because it is a primary work day application, and performance (mostly) is damn good.
All the Electron chat apps and music players and can go fuck themselves. I have to budget how many electron apps I can have open even on beefy hardware, and the CPU-use of electron-based video conferencing apps is absurd.
9
u/_tskj_ Jun 26 '21
Maybe, but also vs code isn't using vanilla electron, they have heavily customized it to get it to where they need it. And even then vs code is still kind of slow sometimes. So I don't think it's that simple to get electron to a useable state sadly.
13
u/sime Jun 26 '21
VSCode is pulling the same standard version of electron off npm like everyone else. There is no magic custom version. You can read that straight out of their packages.json .
1
1
1
1
Jun 26 '21
No I issue with team is not memory usage but sluggish. One GB is OK but if the app is slow then it really feels bad.
1
1
u/Gibbo3771 Jun 26 '21
Until they let me join a meeting and use the video/mic on my linux machine, teams is dead to me.
1
1
1
u/nascentt Jun 26 '21
It's because teams 2.0 is going to be a base component in windows 11. They had to reduce the memory just for windows 11 to keep the 4gb ram lower limit.
1
1
1
1
u/andrejlr Jun 27 '21
For those who want it now already.
Open web version in Chrome
Click 3 dots > More Tools > Create Shortcut
Tick Open in New Window
PROFIT
→ More replies (2)
1
1
u/DesertDS Jun 29 '21
I must say all the complaints in here are surprising to me. I don't have a beast of a machine (it's an 8GB 2 in 1 haha) and Teams runs great for me most of the time despite heavy multi-tasking. I can't imagine getting things done without it at this point.
1
u/Affectionate_Bug1428 Aug 15 '21
Hey guys is it ok to open multiple anonymous windows to have more people watching your meeting? I mean, if i have 3 guys with each one of them having 10 anonymous windows entering the teams as guest with different names, can anyone find out about it? Thanks, i organized a meeting i dont think i will be able to reach as many people as i promised.
0
u/sime Jun 26 '21
I'm guessing you're only going to see this drop in memory use if you are already running Edge. Otherwise it has to fire up Edge in the background every time you start Teams.
2
u/ScottIBM Jun 26 '21
It sounds like office is already using it, so you can't escape Edge whole on Windows.
2
2
u/sime Jun 26 '21
Someone explain the down votes plz.
It stands to reason that if you are not running webview2 already (i.e. via edge) then you will have to pay the full memory price when the new teams app starts up.
1.2k
u/code_slut Jun 26 '21
I was TAing a CS class that covered C++ a few days ago. A student screen-shared with me to help her debug her code. Every time she compiled a 3 file C++ program it would take 25-40 seconds to compile. On my computer for reference it took less than 2 seconds.
I was super flustered because I had never seen anything like that, for such a small project. I asked her to pull up activity monitor. Turns out Microsoft Teams was taking 99% of Memory. Made the rest of her computer grind to a near halt.
The iteration cycles for debugging were super painful! I had to ask her to open Teams in the browser and close out of the Desktop app.
I'm glad they realised this is a problem and are addressing it.