News for hackers. Stuff that matters.
Re:Microsoft Teams 2 will use half the memory, dropping Elec... by richardstephens on Saturday June 26, 2021 @09:38AM (#27641703)
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.
Re:Microsoft Teams 2 will use half the memory, dropping Elec... by eloff on Saturday June 26, 2021 @09:47AM (#27641806)
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.

Re:Microsoft Teams 2 will use half the memory, dropping Elec... by jon-wood on Saturday June 26, 2021 @10:13AM (#27642035)
If only Microsoft had a app development framework designed to allow developing apps for multiple mobile + desktop platforms with as much shared code as possible.

https://dotnet.microsoft.com/apps/xamarin

Re:Microsoft Teams 2 will use half the memory, dropping Elec... by tluyben2 on Saturday June 26, 2021 @10:27AM (#27642152)
Yep, we moved away because MS themselves are simply not serious about it.
Re:Microsoft Teams 2 will use half the memory, dropping Elec... by failwhaleshark on Saturday June 26, 2021 @11:18AM (#27642618)
Cross-platform development is like communism. An unattainable utopia. There's no "magicking-away" the idiosyncrasies of cross-platform development with abstraction layers. It's simpler to use native tools and go for the best each platform has to offer while keeping the L&F UX as similar as possible.
Re:Microsoft Teams 2 will use half the memory, dropping Elec... by rauchp on Saturday June 26, 2021 @05:15PM (#27645953)
React Native and (arguably) Flutter are going through a golden age right now. Major companies like Tesla, Coinbase, and Shopify have adopted them, and the developer experience has never been better. I'm not sure why it worked now, but didn't work for Xamarin / Ionic, though.
Re:Microsoft Teams 2 will use half the memory, dropping Elec... by tluyben2 on Sunday June 27, 2021 @03:37AM (#27649466)
For Xamarin I would answer that with: Flutter and React native are 'light' on the developer: you get instant feedback. Xamarin, at least when we dropped it 2 years ago, was really slow and, besides c# which we will use on the server, hardly pleasant or light. I think these days, the developer needs a smooth experience (once the tons of crap has been installed and set up, which is why I prefer Flutter over react native) so things that are not that will fall over. I think, after that, comes author influence: so if you take that, you get to RN, Flutter, Xamarin, Ionic if you sort them by EasyOfDev,AuthorInfluence.
Re:Microsoft Teams 2 will use half the memory, dropping Elec... by failwhaleshark on Saturday June 26, 2021 @06:26PM (#27646526)
Popularity means popularity. It doesn't mean utility. There are plenty of dumb things large companies use. OTOH, there are also many unsexy, little-known, ubiquitous technologies essential to certain sectors of the economy.
Re:Microsoft Teams 2 will use half the memory, dropping Elec... by jon-wood on Monday June 28, 2021 @06:12AM (#27659914)
I've never used it in anger, but I thought Xamarin probably had the most pragmatic approach. Their recommended path was to have a common core of business logic, but to build native UIs for each platform you wanted to support hooked into that logic.
Re:Microsoft Teams 2 will use half the memory, dropping Elec... by manigandham on Saturday June 26, 2021 @10:42AM (#27642279)
There's a new project called MAUI that also handles desktop: https://github.com/dotnet/maui
Re:Microsoft Teams 2 will use half the memory, dropping Elec... by marwis on Saturday June 26, 2021 @02:25PM (#27644487)
It's basically rebranded Xamarin Forms. Outside of bundled Windows apps, Microsoft is going all into web technologies for consumer apps now. Even within bundled Windows apps usage of .net is almost nonexistent. Built in OneDrive client is written in Qt!
Re:Microsoft Teams 2 will use half the memory, dropping Elec... by eloff on Saturday June 26, 2021 @10:27AM (#27642159)
It's really sad to me that Xamarin doesn't get more love and adoption.
Re:Microsoft Teams 2 will use half the memory, dropping Elec... by js4ever on Saturday June 26, 2021 @02:03PM (#27644261)
It's slow, bugged as hell and the result is subpar compared to a real native app... At least it was like that when I tried it (again) 3/5 years ago
Re:Microsoft Teams 2 will use half the memory, dropping Elec... by brutal_chaos_ on Saturday June 26, 2021 @03:44PM (#27645139)
My SO just finished a term project that used Xamarin.Forms. Conceptually the framework is perfect then you actually use it and want to off yourself. MAUI, if taken seriously and isn't only a rebrand, could be quite an accomplishment and a great tool.
Re:Microsoft Teams 2 will use half the memory, dropping Elec... by bigbob2 on Saturday June 26, 2021 @06:20PM (#27646475)
I'm not sure about the state of Xamarin Forms these days, but back when I worked with it a few years ago even the sample apps had memory leaks on iOS. I agree that conceptually it was amazing, as was Xamarin itself. If Forms doesn't have leaks these days it would definitely be a great way to build cross-platform apps.
Re:Microsoft Teams 2 will use half the memory, dropping Elec... by fomine3 on Saturday June 26, 2021 @10:56AM (#27642392)
This is how MS divided.
Re:Microsoft Teams 2 will use half the memory, dropping Elec... by richardstephens on Saturday June 26, 2021 @10:00AM (#27641918)
I see where you're coming from, but Microsoft already builds an entire office sweet as native apps across 4 of the 5 platforms you enumerated.
Re:Microsoft Teams 2 will use half the memory, dropping Elec... by justapassenger on Saturday June 26, 2021 @10:03AM (#27641938)
Which means they know extremely well what a costly and complex process it is.
Re:Microsoft Teams 2 will use half the memory, dropping Elec... by richardstephens on Saturday June 26, 2021 @10:07AM (#27641977)
I'm not denying that it's a complex or costly process, just lamenting that they don't care enough. Of course, the problem is compounded for me by the fact that at any given moment I end up having 3 different enterprise chat apps open on my work laptop for collaboration with outside parties.
Re:Microsoft Teams 2 will use half the memory, dropping Elec... by marcellus23 on Saturday June 26, 2021 @11:00AM (#27642428)
And the result of that knowledge is a worse experience for users. However you frame it, users are losing because MS doesn’t want to shell out the cash for good UX.
Re:Microsoft Teams 2 will use half the memory, dropping Elec... by asdjlkadsjklads on Saturday June 26, 2021 @12:07PM (#27643039)
Losing, but still buying in.
Re:Microsoft Teams 2 will use half the memory, dropping Elec... by marcellus23 on Saturday June 26, 2021 @06:46PM (#27646710)
The users aren’t really, their bosses are, most likely because it gets bundled in a contract with Office and Exchange etc.
Re:Microsoft Teams 2 will use half the memory, dropping Elec... by ripley12 on Saturday June 26, 2021 @01:01PM (#27643589)
Outlook is switching to WebView2-based UI like this soon. As for Excel, here's its PM saying "When you look at the overall allocation of resources on the team, a huge percentage is working on web app improvements" https://twitter.com/jones206/status/1388162347059978243?s=20
Re:Microsoft Teams 2 will use half the memory, dropping Elec... by tgv on Saturday June 26, 2021 @10:37AM (#27642229)
But the mac version has never been the same as the Windows version.
Re:Microsoft Teams 2 will use half the memory, dropping Elec... by venfen on Saturday June 26, 2021 @10:07AM (#27641988)
Actually the Office team is integration more and more React components in the office programs.
Re:Microsoft Teams 2 will use half the memory, dropping Elec... by Demiurge on Saturday June 26, 2021 @10:05AM (#27641965)
Perhaps the effort/reward they get from office release does not apply to a freemium chat service that’s constantly updating?
Re:Microsoft Teams 2 will use half the memory, dropping Elec... by eloff on Saturday June 26, 2021 @10:20AM (#27642097)
Office is special because it's such a cash cow they can afford to make 4 different versions of it.
Re:Microsoft Teams 2 will use half the memory, dropping Elec... by Zababa on Sunday June 27, 2021 @06:27AM (#27650314)
They don't have feature parity though. For example, power query doesn't work on mac.
Re:Microsoft Teams 2 will use half the memory, dropping Elec... by kaba0 on Saturday June 26, 2021 @12:02PM (#27642985)
I don’t think that connecting the 4 buttons of functionality in 5 frameworks is all that much work, when the bulk of the work is backend. Also, it is a trivially scalable problem, where you can just throw 5x as many people at it.

I get the popularity of electron and other cross-platform tools for small startups, but for Microsoft..

Re:Microsoft Teams 2 will use half the memory, dropping Elec... by potatolicious on Saturday June 26, 2021 @12:38PM (#27643376)
> Also, it is a trivially scalable problem, where you can just throw 5x as many people at it.

Having done exactly this work it's really not as simple as throwing 5x as many people at it.

Though to be clear, I am an advocate of native apps on each platform and am not a fan of "wrap a webview around it" type fake-apps. That said, we need to be honest about level of complexity here.

The problem with maintaining 5x native apps is not just the cost of hiring 5x as many people - as you scale towards more platforms the inter-team coordination overhead increases exponentially.

The complexity of coordinating 4 teams to ship in lockstep on 4 separate platforms isn't double the complexity of 2 teams on 2 platforms.

There are a bunch of intersecting factors here:

- product management has extreme load - new features need to be designed for every supported platform at the same time, increasing complexity in feature definition. Some features aren't possible on some platforms, so that increases scope and complexity of the features as we include fallbacks or exceptions.

- engineering has to happen (roughly) in lockstep with one another. It's not acceptable to ship a new feature only on Windows and not Android - they don't have to launch on the same day, but neither can they launch a year apart. This means you have multiple engineering teams that basically have to move at roughly the same speed, even though they are developing on completely differently platforms.

- underlying platform changes affect your ability to move in lockstep - iOS and Android both have significant yearly updates that create additional testing needs. Both platforms also introduce more significant OS-level features that you want to add support for than the older/more mature platforms like macOS or Windows. This throws another wrench in having your teams progress in unison.

There are real advantages to cross-platform frameworks, even though I dislike them from a UX perspective. In particular I have beef with the use of web views, which while offering incredible consistency between platforms is probably the least CPU/RAM efficient way to do literally anything. A huge part of why computers feel slower than ever is the pervasive use of web views for everything.

I really, really wish we had a better cross-platform solution than a thing with an ill-defined render cycle, bases literally all rendering on an XML-like structure, and has all processing stuck to a single thread on an interpreted language. Yikes.

Re:Microsoft Teams 2 will use half the memory, dropping Elec... by kaba0 on Saturday June 26, 2021 @05:30PM (#27646069)
Thanks for this POW!
Re:Microsoft Teams 2 will use half the memory, dropping Elec... by dreyfan on Saturday June 26, 2021 @09:55AM (#27641867)
Microsoft is a $2T company, I feel like they could afford to do it right.
Re:Microsoft Teams 2 will use half the memory, dropping Elec... by eloff on Saturday June 26, 2021 @10:24AM (#27642135)
Regardless of what the financial markets value them at, their resources are proportional to profits, not market cap.

That aside, they also have lots of products and teams and some have more budget and resources than others.

Saving some memory usage in teams for more than double the development costs, is probably an unattractive position for that team. It also makes it hard to keep features consistent across platforms (as it is, teams struggles with that!)

Re:Microsoft Teams 2 will use half the memory, dropping Elec... by hughrr on Saturday June 26, 2021 @09:58AM (#27641897)
Apparently they favour fucking it up several times.
Re:Microsoft Teams 2 will use half the memory, dropping Elec... by onion2k on Saturday June 26, 2021 @10:09AM (#27641996)
The market cap doesn't tell you anything about the available resources a company has.

For example... Gamestop's market cap did this recently - https://www.macrotrends.net/stocks/charts/GME/gamestop/marke... - the company doesn't suddenly have more money to spend on projects.

Re:Microsoft Teams 2 will use half the memory, dropping Elec... by eloff on Saturday June 26, 2021 @10:25AM (#27642142)
Not a great example since they sold over a billion worth of stock. They do actually have more money now.

Microsoft generates more money than they know what to do with so they return large amounts in dividends and probably stock buybacks (I haven't checked for MSFT specifically, but it's all the rage these days.)

That's essentially the opposite of what GME did.

Re:Microsoft Teams 2 will use half the memory, dropping Elec... by robjan on Saturday June 26, 2021 @08:27PM (#27647316)
MSFT dividend yield is nothing to write home about. Less than 1% per year at the moment.
Re:Microsoft Teams 2 will use half the memory, dropping Elec... by eloff on Saturday June 26, 2021 @10:39PM (#27648039)
That's mostly because of the stock run-up, I recall it was around 3% late last year.
Re:Microsoft Teams 2 will use half the memory, dropping Elec... by failwhaleshark on Saturday June 26, 2021 @11:24AM (#27642670)
Balance-sheet aggregation != perfect execution consistency.

- DOS 4.0

- Microsoft Bob

- Windows ME

- Windows Vista

- JScript

- MSJVM

- Zune

- Eliminating all/most easter eggs

https://www.infoworld.com/article/2612971/microsoft-s-13-wor...

You can make many, many mistakes as a giant company, so long as they're not fatal. ;-)

Re:Microsoft Teams 2 will use half the memory, dropping Elec... by prepend on Saturday June 26, 2021 @11:47PM (#27648405)
Zune was good.
Re:Microsoft Teams 2 will use half the memory, dropping Elec... by ehvatum on Sunday June 27, 2021 @10:26AM (#27651819)
“Plays for sure” Oops, doesn’t play at all.
Re:Microsoft Teams 2 will use half the memory, dropping Elec... by rado on Saturday June 26, 2021 @10:39AM (#27642255)
How can an organisation start a Web/Desktop project which can never ever be _good_ (not to mention great) and frustrate and annoy its customers all the time? If native is a mess, how is outsourcing the mess to the user justified?
Re:Microsoft Teams 2 will use half the memory, dropping Elec... by eloff on Saturday June 26, 2021 @11:59AM (#27642960)
What's the alternative? Be only on one platform? Not viable today. Implement 5 different apps, usually not viable.

The platforms are fragmented and the user pays the costs of that in the end, one way or another.

If you hide it by increasing development costs, the price of the app ( or amount of ads or premium only features) must go up to compensate and the user pays the cost as well.

Edit: downvote all you like, there is still no magical solution.

Re:Microsoft Teams 2 will use half the memory, dropping Elec... by formerly_proven on Saturday June 26, 2021 @02:35PM (#27644579)
> What's the alternative? Be only on one platform? Not viable today. Implement 5 different apps, usually not viable.

Why are we pretending in this thread that there aren't any cross-platform toolkits?

Using that is an entirely valid trade-off between "putting a webshit in its window" and "you have to develop 10 separate native apps".

Re:Microsoft Teams 2 will use half the memory, dropping Elec... by eloff on Saturday June 26, 2021 @04:10PM (#27645376)
Are you talking Qt? Xamarin?

Those are pretty sucky by comparison to both web and native and they don't feel native.

The problem is not that cross platform toolkits don't exist, it's that they're aren't any good enough.

Also why are we pretending in this thread that it's impossible to write electron or web apps with more reasonable memory usage? Look at vscode.

Electron, as much as I hate to say it, is one of the best options available.

Re:Microsoft Teams 2 will use half the memory, dropping Elec... by pseudalopex on Saturday June 26, 2021 @06:08PM (#27646381)
The Qt apps I use are much better than the Electron apps I use.

It must be very hard to write Electron apps with more reasonable memory usage if VS Code is the sole example anyone ever has.

Sublime Text is my reference for reasonable memory usage and performance. VS Code doesn't measure up.

Re:Microsoft Teams 2 will use half the memory, dropping Elec... by Zababa on Sunday June 27, 2021 @06:36AM (#27650357)
> Why are we pretending in this thread that there aren't any cross-platform toolkits?

I'm not aware of any cross-platform toolkit that works on windows, mac, linux and the web aside from, well, a browser.

> Using that is an entirely valid trade-off between "putting a webshit in its window" and "you have to develop 10 separate native apps".

People don't want to pay the cost of native apps, they want to be able to use apps everywhere and have new features often.

Re:Microsoft Teams 2 will use half the memory, dropping Elec... by rado on Sunday June 27, 2021 @02:19AM (#27649089)
Abstract away the core of the product (data, connectivity etc) behind an internal interpreter, which is the same on all platforms and connects to native UI.
Re:Microsoft Teams 2 will use half the memory, dropping Elec... by anoncake on Saturday June 26, 2021 @12:28PM (#27643263)
Microsoft easily has the resources to write 5 chat app UIs.
Re:Microsoft Teams 2 will use half the memory, dropping Elec... by eloff on Saturday June 26, 2021 @12:50PM (#27643487)
That's a hopelessly simplisitc way of looking at the situation. Every team at Microsoft has different levels of resources, and some would rather spend those resources improving their product rather than writing and maintaining 5 different versions of the frontend part of their product.

That's typically the smart choice.

Re:Microsoft Teams 2 will use half the memory, dropping Elec... by anoncake on Saturday June 26, 2021 @05:38PM (#27646135)
I really don't care about Microsoft's internal organization or what team has how many resources right now.
Re:Microsoft Teams 2 will use half the memory, dropping Elec... by madhadron on Saturday June 26, 2021 @11:26AM (#27642688)
We also have Swing in Java which is mature, performant, and works across all our desktop stacks. Mobile UI is different enough that you need to write a different interface anyway.
Re:Microsoft Teams 2 will use half the memory, dropping Elec... by Longhanks on Saturday June 26, 2021 @01:20PM (#27643805)
In other words: outdated, ugly and barely supports modern requirements such as high dpi. Apart from Jetbrains who put in a literal buttload of engineering, there is not a single Java Swing application that is not an absolute PITA to use.
Re:Microsoft Teams 2 will use half the memory, dropping Elec... by madhadron on Sunday June 27, 2021 @11:21AM (#27652271)
Swing generally looks like the native widgets set. And how is it outdated? It's not like GUI programming has changed much.
Re:Microsoft Teams 2 will use half the memory, dropping Elec... by Longhanks on Sunday June 27, 2021 @07:19PM (#27656389)
I‘m sorry but have you been living under a rock? SwiftUI, UWP and Jetpack Compose are platforms that differ extremely from the way Swing works. Swing on macOS looks like OS X 10.9 (still uses Lucida Grande as the System Font), we’re 5 releases past that. On Windows, it looks like Vista, we’re past that, too, see modern apps such as the Terminal.
Re:Microsoft Teams 2 will use half the memory, dropping Elec... by madhadron on Wednesday June 30, 2021 @02:02AM (#27685416)
I don't think the inversion of control that SwiftUI or Jetpack Compose do on MVC is particularly fundamental. Factoring out the diffing of state when an observer is notified of updates into a single place can be a useful thing to do in certain cases, such as when a bunch of teams are all putting things on the screen and you don't want one of them to screw up the update loop for everyone (thus Facebook's use of React), but it makes the creation of composable views less straightforward, and you end up with the new problem of annotations to try to keep recalculation of the whole UI from being a performance problem. In MVC, a compound view can usually short circuit updates of its child views very naturally when there are no changes needed.

I just opened a couple of Swing programs on macOS. Other than not having dark mode, I couldn't see any major difference. I can't check it on Windows right now.

So, no, I don't live under a rock.

Re:Microsoft Teams 2 will use half the memory, dropping Elec... by ksec on Saturday June 26, 2021 @11:25AM (#27642673)
>We already have cross-platfrom UI engines called browsers

Someday we compile to WASM and have UI rendering on top of WebGPU?

Re:Microsoft Teams 2 will use half the memory, dropping Elec... by octopoc on Saturday June 26, 2021 @11:54AM (#27642915)
It has been discussed but you're right it won't be any time soon:

https://github.com/WebAssembly/design/issues/273

Re:Microsoft Teams 2 will use half the memory, dropping Elec... by notatoad on Saturday June 26, 2021 @01:57PM (#27644207)
really 6 distinct apps, because building native mac and windows apps doesn't mean you can drop the web version.
Re:Microsoft Teams 2 will use half the memory, dropping Elec... by vletal on Saturday June 26, 2021 @09:59AM (#27641904)
Most UI developers I know says that it's "reasonably pleasant", yet the is a shortage of "reasonably good" web developers on the market.
Re:Microsoft Teams 2 will use half the memory, dropping Elec... by olliej on Saturday June 26, 2021 @05:43PM (#27646185)
Electron fails to support even the most basic Mac behaviours, every electron app is immediately recognizable and frustrating.
Re:Microsoft Teams 2 will use half the memory, dropping Elec... by Zababa on Sunday June 27, 2021 @06:40AM (#27650384)
Maybe mac users need to start paying for app instead of complaining about every app that doesn't use "native toolkits" or doesn't "support the most basic Mac behavior'. There's a reason that they don't, it's that mac users that care about this don't pay enough to justify a native app.
Re:Microsoft Teams 2 will use half the memory, dropping Elec... by failwhaleshark on Saturday June 26, 2021 @11:15AM (#27642581)
When and where it's a priority: creating a solid user-experience takes effort. If a project can't manage that when it matters, then their product or service is also going to suck in so many other ways their users will notice. Then native or not, it won't matter when everyone hates them.

Mac and iOS are relatively-straightforward, aren't terribly different, and share development resources.

Android (Kotlin) doesn't often lead to suicidal ideation.

Windows is meh.

Linux is so-so.

> So electron makes plenty of sense to developers

To mostly front-end developers who don't know much about the world outside of a browser.

> , even although it's an egregious resource hog.

Violating nonfunctional requirements to be usable, performant, and efficient.

Re:Microsoft Teams 2 will use half the memory, dropping Elec... by eloff on Saturday June 26, 2021 @04:13PM (#27645406)
> To mostly front-end developers who don't know much about the world outside of a browser.

Just for the record I'm a senior backend developer, who sometimes operates at CTO level in startups, and I suck at front-end development. But still electron makes sense to me. Or react native if it's mobile only.

The state of cross platform development is pretty bad.

Re:Microsoft Teams 2 will use half the memory, dropping Elec... by failwhaleshark on Saturday June 26, 2021 @05:21PM (#27646001)
It wasn't directed personally. The tendency is for front-end developers (the bulk of developers numerically) to treat software development like RMS does with emacs: everything extends from their perspective without consideration of perspectives or paradigms beyond their own. Embedded, native, real-time/mission-critical/fault-tolerance, resource-constrained, widely-compatible, ASIC/FPGA, and/or production-/shipping-scalable.

Cross-platform development will never be improved by N-times duplicated effort of abstraction layers on-top. The best that could happen is for OS developers to agree on common interfaces like UNIX/The Open Group for low-level operations, but for high-level media, UI, and common native development APIs more integrated than a patchwork of libraries like Qt, LibUV, etc.

I've worked on nuclear reactor simulators in F95, embedded industrial GPS equipment, deadline-oriented ad server meta-mediation, Fortune 500 client-facing consulting, compilers, functional programming projects, and now earn a paycheck doing SRE/PE since it's easy money to fund side-hustles.

Re:Microsoft Teams 2 will use half the memory, dropping Elec... by viraptor on Saturday June 26, 2021 @09:40AM (#27641723)
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.
Re:Microsoft Teams 2 will use half the memory, dropping Elec... by kilburn on Saturday June 26, 2021 @07:20PM (#27646925)
It looked interesting to me, but their disnhonesty just threw me back:

> Not a subscription—never expires

> Includes 1 year of free version upgrades

Are you telling me that a third-party slack client will keep working forever without updates? The "not a subscription" message here is effectively moot: this thing will stop working and you will need to pay for "another year of version upgrades".

Re:Microsoft Teams 2 will use half the memory, dropping Elec... by viraptor on Saturday June 26, 2021 @08:06PM (#27647196)
Those are the two common models of proprietary software distribution - subscriptions or one-off payments. Did you actually expect lifetime updates for $20 - i.e. the benefits of subscriptions for the price of one-off purchase?

It's not promising you to work forever without updates, but also it doesn't force you to pay if you're happy and everything still works.

Re:Microsoft Teams 2 will use half the memory, dropping Elec... by kilburn on Monday June 28, 2021 @06:37AM (#27660090)
The big difference here is that nobody should expect this app to continue working without updates.

Contrast this with something like sublime text: years from now you can still expect it to work normally.

What I expect is that if your app will not continue working for a long time then you should not make "lifetime license" one of your selling points unless you are prepared to offer lifetime upgrades too.

Re:Microsoft Teams 2 will use half the memory, dropping Elec... by richardstephens on Saturday June 26, 2021 @09:51AM (#27641845)
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 Elec... by smcnally on Saturday June 26, 2021 @01:48PM (#27644112)
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.
Re:Microsoft Teams 2 will use half the memory, dropping Elec... by nlitened on Saturday June 26, 2021 @09:51AM (#27641842)
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 Elec... by samat on Saturday June 26, 2021 @10:23AM (#27642126)
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 and place on the dev team.

Then they released that app as a Telegram X and then gradually sunset the older app.

Pretty neat on multiple fronts.

Re:Microsoft Teams 2 will use half the memory, dropping Elec... by ratww on Saturday June 26, 2021 @12:07PM (#27643038)
> 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.

Re:Microsoft Teams 2 will use half the memory, dropping Elec... by marcosdumay on Saturday June 26, 2021 @01:43PM (#27644057)
> 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 Elec... by voidfunc on Saturday June 26, 2021 @11:01AM (#27642436)
Yep Telegram the app is perhaps one of the best pieces of software I have used. It really shows what a good team can pull off.
Re:Microsoft Teams 2 will use half the memory, dropping Elec... by jodrellblank on Saturday June 26, 2021 @12:00PM (#27642968)
I've never used Telegram, but I suspect the Teams integration with SharePoint/Office365 and the (terrible) way Teams tries to be cake icing and floor wax by integrating file store, wiki, document library, telephone, whiteboard, plugin app ecosystem and webhook scripting environment with Windows ACLs makes it more complex than an independent chat/call/video call program?
Re:Microsoft Teams 2 will use half the memory, dropping Elec... by kaba0 on Saturday June 26, 2021 @12:05PM (#27643022)
Perhaps a bit? But as others wrote, they have 50 people. How many does Microsoft have (and of course, Google, Facebook are also bad at it)
Re:Microsoft Teams 2 will use half the memory, dropping Elec... by jodrellblank on Saturday June 26, 2021 @12:27PM (#27643251)
Microsoft has 160,000.

Don't get me wrong, I loathe Teams and its laggish bullshit nature as much as the rest of the pitchfork wielding people in this thread, it's just that it's not apples-to-apples comparison with a pure chat/call client and the headcount needed to develop it because of how much extra junk is hiding in Teams.

Re:Microsoft Teams 2 will use half the memory, dropping Elec... by mindri0t on Saturday June 26, 2021 @05:09PM (#27645883)
I agree with your point however it just goes to reinforce that part of the failure of teams is that it kind of does a lot of things but it does all those things really badly. If they had some notion of a product vision, some focus, some opinions and executed on those with a users first attitude then it might not be in such a sorry state and it would probably be a whole lot easier to deliver great native experiences. IMHO a big part of the problem is this idea of just throwing features at applications without designing an actual product that seems to be extremely popular but always dreadful. Do less and deliver excellence, don’t do everything half arsed and throw more adverts at the resulting problem.
Re:Microsoft Teams 2 will use half the memory, dropping Elec... by richardstephens on Saturday June 26, 2021 @09:53AM (#27641859)
Telegram's mac app is pretty good at least, but I don't think it's a serious contender for any 100+ seat company.
Re:Microsoft Teams 2 will use half the memory, dropping Elec... by drclau on Saturday June 26, 2021 @10:03AM (#27641932)
I think GP's point was that it's doable (ie. providing native apps for all platforms), not that Telegram is a good replacement for Teams scenarios.
Re:Microsoft Teams 2 will use half the memory, dropping Elec... by tyingq on Saturday June 26, 2021 @09:42AM (#27641737)
My guess is that because they also have to maintain a web version of Teams, it cuts down the amount of work significantly.
Re:Microsoft Teams 2 will use half the memory, dropping Elec... by therobot24 on Saturday June 26, 2021 @09:40AM (#27641719)
>> 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

Re:Microsoft Teams 2 will use half the memory, dropping Elec... by edflsafoiewq on Saturday June 26, 2021 @09:44AM (#27641769)
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 Elec... by chrisseaton on Saturday June 26, 2021 @09:46AM (#27641783)
> 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 Elec... by ByteWelder on Saturday June 26, 2021 @11:06AM (#27642486)
Native is not a tool, nor a goal. Native is an implication of a user experience and performance. Very few non-native applications provide the same experience and performance as native applications (although there are exceptions and it's not always black and white).

"Native" is the implication that a certain level of comformity is present: the user generally gets an experience that is similar to other native applications.

As you develop with native APIs, and when you follow the best practices for the platform, you end up with a product where the UX is much easier to grasp for the user. Non-native solutions very often have different UI/UX patterns, which leads to users having to learn these patterns before the application becomes understood by them.

Re:Microsoft Teams 2 will use half the memory, dropping Elec... by chrisseaton on Saturday June 26, 2021 @11:21AM (#27642651)
> the user generally gets an experience that is similar to other native applications

This sounds like the goal you want to achieve using native as a tool.

But anyone who struggles to grasp non-native UI and UX is going to struggle to interact with the modern IT environment as there is no standard for web-apps.

Re:Microsoft Teams 2 will use half the memory, dropping Elec... by ptx on Saturday June 26, 2021 @04:10PM (#27645388)
If I order a cup of tea, you could argue that what I actually want is to achieve the goal of drinking something which has the taste, smell and general nutritional profile of tea.

Theoretically, there might exist a cup of coffee that achieves this goal. But I've never seen one, and if you serve me coffee it's almost certainly not going to achieve my goal.

Re:Microsoft Teams 2 will use half the memory, dropping Elec... by richardstephens on Saturday June 26, 2021 @09:57AM (#27641894)
For me personally, it's having a set of UI widgets as consistent as possible with everything else on the platform as the primary concern. Secondarily it's performance / battery life.
Re:Microsoft Teams 2 will use half the memory, dropping Elec... by Barrin92 on Saturday June 26, 2021 @10:21AM (#27642109)
I think this has long stopped being a design goal. The OS is not the primary platform any more which everything orients around, it's an access point to the web. Products are determining design language now.

People don't expect Google to look 'like Windows' just because they're on a Windows OS, they expect Google to look like Material apps across all platforms. There's not 'windows spotify' or 'android spotify' but they expect the app to look the feel the same everywhere, and in that way companies actually benefit from using Electron.

Re:Microsoft Teams 2 will use half the memory, dropping Elec... by pseudalopex on Saturday June 26, 2021 @06:28PM (#27646545)
In my experience the people who decide these things talk about branding. Not user expectations. Phone, tablet, and desktop apps have different interfaces anyway. And few people use more than 1 desktop OS and 1 mobile OS
Re:Microsoft Teams 2 will use half the memory, dropping Elec... by chrisseaton on Saturday June 26, 2021 @10:10AM (#27642006)
I think this argument used to make sense to me as well, but since most apps I interact with are web apps in browsers these days, most of my interactions aren't with native widgets anyway and I don't really care anymore.
Re:Microsoft Teams 2 will use half the memory, dropping Elec... by cudgy on Saturday June 26, 2021 @10:52AM (#27642358)
Many of us have been bludgeoned by web apps to the point of not caring any more … most web apps are slow, twitchy interfaces that shift constantly and the industry loves it because it allows them to utilize the armies of (used to be cheap) web developers but at a heavy cost to the user experience
Re:Microsoft Teams 2 will use half the memory, dropping Elec... by kristiandupont on Saturday June 26, 2021 @10:05AM (#27641954)
As someone who switches between three platforms, I like that Electron apps are consistent and in sync. Back in the day when I was using Skype, I could never get used to either.

I don't know what Slack or Teams would look like with native UI components, but I am pretty sure I would consider it inferior to what we have at the moment. The possibly improved performance and memory footprint would be nice but not enough for me to care about.

Re:Microsoft Teams 2 will use half the memory, dropping Elec... by jodrellblank on Saturday June 26, 2021 @12:25PM (#27643235)
> "What's the underlying goal you want to achieve"

Responds to user input quickly enough to not be frustrating.

Re:Microsoft Teams 2 will use half the memory, dropping Elec... by rado on Sunday June 27, 2021 @02:29AM (#27649143)
Yes. Using laggy apps, I don't feel like working, it feels like a struggle, hence frustration.
Re:Microsoft Teams 2 will use half the memory, dropping Elec... by Hamuko on Saturday June 26, 2021 @09:50AM (#27641835)
>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 Elec... by MaxBarraclough on Saturday June 26, 2021 @12:07PM (#27643037)
It's the memory bloat that stands out to me. Many modern laptops have 8GB of RAM. (Curiously this number hasn't really changed in the last 9 years.) 500MB of bloat isn't a trivial fraction of that.

Also, an application that runs constantly in the background, is under a greater obligation to make efficient use of system resources.

> judging by all of the Electron apps failing in these departments, I guess you really do need native apps.

I'd put that differently: solutions heavily based on web technologies seem to consistently fail to be anywhere near as efficient as solutions that use conventional toolkits. (Sometimes someone will suggest this isn't true if the web-based solution is well implemented, but they are never able to give an example of such an application.) On most platforms, Qt doesn't count as being truly native, but it's still far more efficient than Electron.

Re:Microsoft Teams 2 will use half the memory, dropping Elec... by MattGaiser on Saturday June 26, 2021 @09:54AM (#27641862)
> small bundle sizes

Space are not precious anymore. Nor is bandwidth.

Re:Microsoft Teams 2 will use half the memory, dropping Elec... by toast0 on Saturday June 26, 2021 @02:03PM (#27644257)
BestBuy sells some Windows laptops with 64 GB eMMC. Space is precious on those. Chrome devices often ship with 16 GB; if Microsoft could make Windows viable at that size, they could push the absolute low end prices down a smidge and keep more users.

I get 60 Mbps down and an upgrade would be $50k. Bandwidth is relatively precious to me.

Re:Microsoft Teams 2 will use half the memory, dropping Elec... by chrisseaton on Saturday June 26, 2021 @03:02PM (#27644809)
> BestBuy sells some Windows laptops with 64 GB eMMC.

I would suggest that people are likely not attempting to use enterprise-grade collaboration software on these machines, so that's not a problem.

Re:Microsoft Teams 2 will use half the memory, dropping Elec... by Hamuko on Saturday June 26, 2021 @04:43PM (#27645649)
Re:Microsoft Teams 2 will use half the memory, dropping Elec... by betaby on Saturday June 26, 2021 @10:18AM (#27642071)
Both are very expensive on mobile.
Re:Microsoft Teams 2 will use half the memory, dropping Elec... by Hamuko on Saturday June 26, 2021 @09:56AM (#27641875)
Says who? A Surface Laptop 4 comes with a 256 GB SSD. And the Surface Pro 7 comes with a 128 GB SSD.
Re:Microsoft Teams 2 will use half the memory, dropping Elec... by criddell on Saturday June 26, 2021 @10:33AM (#27642196)
Something that's a resource hog will likely consume a lot of battery as well. That's a big deal for something you want running all the time.
Re:Microsoft Teams 2 will use half the memory, dropping Elec... by MattGaiser on Saturday June 26, 2021 @09:39AM (#27641713)
Native anything is a lot of work for not a lot of gain as most users of Teams are forced to have it.
Re:Microsoft Teams 2 will use half the memory, dropping Elec... by Hamuko on Saturday June 26, 2021 @09:43AM (#27641750)
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.
Re:Microsoft Teams 2 will use half the memory, dropping Elec... by wongarsu on Saturday June 26, 2021 @09:46AM (#27641787)
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 Elec... by MattGaiser on Saturday June 26, 2021 @09:47AM (#27641795)
Is it all that integrated besides being pre-downloaded?
Re:Microsoft Teams 2 will use half the memory, dropping Elec... by Bancakes on Saturday June 26, 2021 @09:46AM (#27641789)
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 Elec... by Mary-Jane on Saturday June 26, 2021 @09:59AM (#27641908)
What 'greater good' can possibly be achieved by having to literally write the same app 5 different times?
Re:Microsoft Teams 2 will use half the memory, dropping Elec... by hulitu on Saturday June 26, 2021 @11:38AM (#27642787)
You have work to do. And you get paid. No work - you're fired.
Re:Microsoft Teams 2 will use half the memory, dropping Elec... by ratww on Saturday June 26, 2021 @12:15PM (#27643125)
They could at least be trying to use the native multi-platform technologies they have bought/developed, like Xamarin or MAUI.
Re:Microsoft Teams 2 will use half the memory, dropping Elec... by Bancakes on Saturday June 26, 2021 @10:07AM (#27641984)
Going through the sunk cost of making 5 different GUI's and maybe wrapping some syscalls/API for the same 90% core app, resulting in minimal resource usage. It's the correct computerscientific approach and companies like Microsoft can (and should) commit to it. Breaking changes nowadays are too few and far between.
Re:Microsoft Teams 2 will use half the memory, dropping Elec... by MattGaiser on Saturday June 26, 2021 @10:02AM (#27641930)
I don't think RAM conservation is high on anyone's list of initiatives to improve the world. The resource consumption of Electron is mostly of interest to computer scientists who like to see how small and efficient they can make something. But in this case, it does not really matter.
Re:Microsoft Teams 2 will use half the memory, dropping Elec... by ratww on Saturday June 26, 2021 @12:13PM (#27643106)
No. It also matters to the users of the laptop and to the people who have to buy it, as using too much RAM can lead to slowness due to swapping and can make older laptops unusable.

It's basically having a third-party forcing programmed obsolescence at your device.

Re:Microsoft Teams 2 will use half the memory, dropping Elec... by hulitu on Saturday June 26, 2021 @11:37AM (#27642776)
> The resource consumption of Electron is mostly of interest to computer scientists who like to see how small and efficient they can make something. But in this case, it does not really matter.

It matters to sysadmins. Some people need to also work on the computer and when Teams uses all memory they will close it.