News for hackers. Stuff that matters.
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.