8 ms·
I’m very critical when a company like Slack cannot find the time and resources to make native clients. I’m so #%^*ing tired of it taking three Mississippis to s
by Waterluvian 5y ago
I’m very critical when a company like Slack cannot find the time and resources to make native clients. I’m so #%^*ing tired of it taking three Mississippis to show a channel I click on.
But on the whole, I don’t think the armchair critics truly appreciate how Electron reduces the cost by at least an order of magnitude. It’s a brilliant tool for shipping early and fast. My only criticism with these start-up use cases is that these Electron apps can often just be websites.
- n8cpdx 5y agoI can’t think of any reason not to use Slack exclusively as a website. I’ve been doing it for years now, and it’s a better experience IMO. For Teams, the only disadvantage is you can’t share your screen and video simultaneously when running as a tab; but I find the screen sharing experience to be better otherwise when running as a browser tab. Also: all of these “shitty” Electron apps work just as well on Linux as they do everywhere else. That is a huge advantage. I’ve got a significant amount of software that is realistically only on Linux because of electron.
- CitrusFruits 5y agoIi run Slack outside of a tab and in its app format because it's easier to navigate to using keyboard shortcuts and OS level features. That may not be enough for you, but it's plenty reason for me, and I imagine many others.
- ozfive 5y agoSlack in browser tab user here. Got sick of the app and how slow it was pretty fast. It's just not worth it.
- codefined 5y agoNot a Slack user here. Is the app version _slower_ than the website? I assumed that since Electron is only a little bit more than a Chromium wrapper that they would have identical performance.
- wowokay 5y agoLong time slack app user here, I don’t know how you guys organize your slack but performance has never been an issue for our organization, I don’t think it would run any better then it currently does if it were an os native app, of course my machine isn’t a toaster.
- BeefWellington 5y agoIt's not just the app being slower than the website, it's what it does to the rest of your machine. Contained within a tab Slack can only use a set amount of resources allotted by the browser. Whereas installing the app means it can go full hog.
- BHSPitMonkey 5y agoOne Chromium runtime managing five tabs is more efficient than five Chromium runtimes running one site each (because those instances aren't able to share anything with one another).
- TheOtherHobbes 5y agoIsn't the native app just the Electron code repackaged for native, and not a true ground-up native app at all? If the code is based on HTML/js/CSS and not Swift/Obj-C/C++ (etc) then you're really creating a web app running in a native microbrowser. Which is very much not the same thing as writing OS and system calls directly - not least because it will be much slower.
- Stratoscope 5y agoWith Chrome or Edge, you can take any web page and turn it into a standalone "app" that lives in the start menu and can be pinned to the taskbar and Alt-Tabbed to, etc. In the Chrome menu, select More Tools / Create Shortcut... and edit the title and check the Open as Window box. In Edge, select Apps / Install this site as an app. Edge has a lot more options here than Chrome. You can pin it to the Taskbar or Start, create a desktop shortcut, and set it to auto-start. (You can do those manually with a Chrome shortcut if you know your way around the Start menu and Startup folder, but it's easier in Edge.) I don't see a similar option in Firefox. No idea about Safari. If anyone knows about those browsers, please comment. And having posted this comment, I am now wondering why I am still running the Slack app. I think I will try making it an Edge app!
- emodendroket 5y agoI don't understand. What benefit does this have over running the app?
- mrweasel 5y agoIt ensures that when a website crash your browser or grinds everything to a halt, then it will take down the other “apps” as well. That one of the reasons I don’t use the Google Chats PWA , when the browser misbehave, it will affact PWAs as well.
- Stratoscope 5y agoSome people in the thread said they preferred running Slack in a browser tab instead of the Electron app, perhaps to avoid the memory overhead of a separate browser instance. The comment I replied to described a preference for the app because of OS navigation, e.g. Alt+Tab, a separate taskbar icon, etc. This Chrome shortcut or Edge app trick lets you combine these approaches, running the website in your browser but giving the site its own main window that you can pin to the taskbar, set to auto-run, and navigate to like a native app.
- emodendroket 5y ago
- gruez 5y ago>For Teams, the only disadvantage is you can’t share your screen and video simultaneously when running as a tab; but I find the screen sharing experience to be better otherwise when running as a browser tab. did they fix multi-stream video yet? last time I checked in the browser version you could only see one video stream (ie. webcam), whereas on the desktop app you could see multiple.
- n8cpdx 5y agoLast I used it I could see multiple people simultaneously. I could even do Together Mode, but it seemed to be rendered on a server somewhere and streamed, rather than done locally. Maybe they were doing that with webcams and I just didn’t notice. The main reason I was using the browser was so I could use Stylus to make it compact just like Slack. That’s another benefit of the browser approach, but ideally it would not be so obviously inferior to competitors.
- nmstoker 5y agoLots of tools are better as websites - however underhand motives often mean mobile apps get pushed more and have done for years. Inevitably someone pops up to say "but what about essential feature X that you can't do well on the web" even though it's rarely genuinely essential or it's a worthwhile trade-off. My GP surgery uses a fantastic website for streamlining comms where you'd never want to install an app that would be rarely used. It's so well integrated that they could ping me the link during a call and I had details back to them seconds later so I got a decision there and then as we spoke rather than breaking flow state and delaying it by days as they used to. Funnily enough my dentist has a similar kind of app relating to pre-appt preparation - perhaps there's a fight back for common sense in these slightly more serious fields?
- 2143 5y agoYes I have felt this before. There are plenty of native mobile apps out there that are better off as web apps. If it's a service that people use constantly, then there may be some merits in using an app. But more often that not there are plenty of things people use once-in-a-long-while that should probably be just a website. For instance I know a place (outside the US, not naming the place because that's not relevant) that has a mobile app just to highlight the local tourist spots. It just shows pictures and text description. There's no AR/VR stuff or anything. Neither can it reserve tickets for any of those places. In my opinion that should just have been a static website!
- grishka 5y agoI use Discord in a browser tab. Much better than the app. Loads instantly and reuses the one instance of Chromium I'm always running anyway.
- emodendroket 5y agoI have to use it constantly and it's easy to lose a tab compared to a standalone app, plus notifications. Reason enough for me.
- pjmlp 5y agoMaybe desktop Linux should get its act together to make a target that everyone else actually feels like targeting instead of grasping to the relevance of someone dropping Electron bombs as the true path to happiness, or emulating Windows games for that matter.
- norman784 5y agoI disagree, Teams in Linux (it might be on purpose) the app is way cut out, you can't request control (or was a few months ago), you can see less simultaneous videos at the same time (iirc was 2 or 4), so no, with the app you have almost zero advantages in Linux over the browser version.
- meetups323 5y agoUsually they are websites. That's kinda the whole point... Spotify's desktop app is the same as open.spotify.com, Discord's is the same as discord.com, VS Code's is the same as vscode.dev, Slack is the same as.. something. But yeah, instead of those companies all needing 5 separate engineering teams (Web, Mac, Windows, iOS, Android, and you're joking if you think they'll make a Linux native app), they just make a website. You're welcome to use the websites instead of the desktop apps for any of those, though you'll lose some OS integration capability.
- deft 5y agoSlack isn't feature complete in their webapp if they even still have it. vscode.dev is new, the app existed for a long time. In practice, its the reverse; it allows you to turn an app into a website and add yet another supported platform.
- kelnos 5y ago> Slack isn't feature complete in their webapp if they even still have it. It isn't? I use it daily and haven't noticed anything missing, except that voice calls don't work on Firefox, which is fine, because I never use them.
- deft 5y agoIt isn't, except it is. lol.
- kevincox 5y agoActually the newest Firefox ships with a user-agent override for slack so that voice calls work now. But same, I haven't noticed any missing features from the web version.
- meetups323 5y agoThis is something I think many HN'ers don't understand. For a good amount of modern web functionality, being supported in Firefox is less a matter of "do testing in firefox and make sure things work there" as much as it is "have a very popular product and good marketing team so that you can convince the firefox team to whitelist your domain in their internal maps of `what cool things should X domain be allowed to do`". People see that Slack works in Firefox, but Joe's Voice Calls.Com doesn't, and blame Joe for not supporting firefox. In reality it's firefox that doesn't support Joe.
- seanp2k2 5y agoHey, look, it's simple: just spend $5k on a new top-of-the-line M1 Max MacBook, then it'll be as fast as IRC was on a 133Mhz MMX Pentium 1. Slack is great; it's like "hey, we took IRC and added inline images, now it's three orders of magnitude slower". Google Sheets is great in the same way: "hey, we took Excel and removed half the features plus now it's a few orders of magnitude slower BUT EASIER TO SHARE THINGS". Spotify is similar: "Like WinAmp, but slow, but with a subscription you can listen to most of what you want immediately and share things easily." These are in ascending order of their actual value compared to their predecessors, I guess. Distributing the load of webapps makes sense if you've ever had to run a few thousand web servers running PHP apps, but yeah, running a framework server-side to render the page again and calling it modern is just kinda...the same thing we had before with a fresh coat of paint and more levels of abstraction. Back in the day, we had CPAN, PEAR, and PECL. Now we have NPM and approximately 18 trillion modules. You can get stuff that does all kinds of useful types of manipulation, but under the hood some of it is still just a wrapper around some combination of zlib, FFmpeg, OpenSSL, and maybe Boost, plus TensorFlow or OpenCV (which can use FFmpeg) these days. The amount of truly novel problems we're solving still seems low. "what Andy giveth, Bill taketh away", or I guess these days, "What Lisa giveth, Sundar taketh away"?
- dragonwriter 5y ago> I’m very critical when a company like Slack cannot find the time and resources to make native clients. It's not a matter of finding resources, it's a matter of finding that to be the best use of resources. Obviously they could have native apps for major desktop platforms with the energy put into the Electron app, and performance would probably be better, but would they have feature parity? And if you increase the resources, would the best use of that increase be into maintaining native apps for each platform of Electron?
- JetAlone 5y agoI agree with Waterluvian. I believe feature parity is less important than the basic HCU of a responsive interface for the most basic features. Some of the most recent features they've added, like the "WYSIWYG"ification of the input box were arguably more disruptive to my use of Slack than any benefit it offered. If a good baseline performance for basic features like chat, image sharing and calls are achieved, then later into the lives of these clients the kinds of features that would lose out on parity ought to be more niche. Things like the presence of huddles (arguably just a different kind of call), bot command interface tooltips, and the ability to draw on shared screen. Maintenance is a real challenge, but one that delivers the value of good HCU and performance on dev machines; a worthwhile operating cost to provide a product that is harder to unseat. Better performing programs also save memory for the rest of the user's programs like containers and IDEs, which can get pretty resource-hungry. I think with the recent chip shortage, supply chain issues and potential catastrophes in the future with Taiwan, there's a pinch that will force us to be more resource efficient on a per-machine basis at least for a while. And we may find out that there are miraculous things we can do on the individual machines we have, with what felt like very little processing power, once we're forced to adapt away from overvirtualized, shallow quick-to-market apps. EDIT: on further consideration, I'm wondering if it's not possible within things like electron, to have some kind of "just in time" style hybrid infrastructure where the most basic features are augmented to run native code quickly for the most heavily used parts on the most common platforms? I don't know enough to say.
- dachryn 5y agoI agree Electron is a great way to serve tons of end users. But lets not exaggerate, there are 4 main systems to target: iOS, Android, Windows and Mac. Its not that insane to have 4 well optimized applications, instead of 1 mediocre-fits-all approach. The problem is more recruitment and internal mobility I guess. If you have 4 teams, experts in their domains, you will have 4 teams 'fighting' each other over the UI, working in their silo's, harder to maintain feature parity... But thats organisational.
- martinald 5y agoI'm actually surprised either Microsoft, Slack or a new startup in the space haven't made a native app yet. Wouldn't even need to be all of them; Teams could be a native Windows app and keep the electron one for mac/linux/mobile. Or Slack could make a native Mac one first. Seems quite mad considering the use/value of the tools and the absolutely enormous user base they have.
- cheschire 5y agoTeams moved to Edge instead of Electron. Your point still stands though. Not sure why they decided this was the way. https://techcommunity.microsoft.com/t5/microsoft-teams/teams-2-0-moves-away-from-electron-to-embrace-edge-webview2/m-p/2484565 https://techcommunity.microsoft.com/t5/microsoft-teams/teams...
- int_19h 5y agoBecause they already have a codebase that uses HTML for UI, and a team that's proficient in it? It's also worth remembering that HTML UI is technically "native" on Windows since Win8, where HTML/JS was one of the three stacks supported by all the new WinRT stuff - and, indeed, the one most heavily pushed.
- norman784 5y agoConsidering that in Mac you have universal app (so in theory your iOS app can easily become a Mac app), but they don't want, even they opt-out from the universal app program so you can't install the mobile app in the desktop. But they didn't migrate because isn't critical for their business, Teams is just a bonus, but Outlook is 100% native app in Mac and works great, because they can't afford to lose customers with an electron version of Outlook.
- kelnos 5y ago> I’m very critical when a company like Slack cannot find the time and resources to make native clients. I think they could, but they've decided it wouldn't be a good use of that time and those resources. The Electron app was probably written when Slack was a much smaller company, with less time and fewer resources. Now that they have more time and resources, they can choose to spend that on adding features and acquiring more users, or they can spend it on rewriting their entire app three times (ok, two times; I assume if they decided to go native they wouldn't spend the time on a Linux app). And remember this entire app isn't the app they started with; it has a lot more features than that one did. It frustrates me too; with the exception of Signal Desktop, I've banished Electron-based apps from my machine (if I had more time on my hands, I would write -- and then spend a ton of tedious, thankless time maintaining and updating -- a native Signal Linux app). I use the Slack webapp in my browser, and it works just fine. And that's also the weird thing: I don't get why so many people use the Electron-based desktop apps, when the webapp has all the same features.
- StillBored 5y agoBut on the whole, I don’t think the armchair critics truly appreciate how Electron reduces the cost by at least an order of magnitude. Compared to what? Java? Have you used c#.net, or for that matter Delphi or VB6 in their heydays? To me, I look at electron and I would put it roughly on par with QT. Although, like the vb vs delphi argument, i think electron gives you a good initial boostrap and makes you feel productive, but then when you start to hit problems they are very difficult to solve. Vs QT which is harder to get started in, but once you have the core up an running its possible to bolt things on fairly rapidly. I've not written anything in lazurus other than toys, but many of the problems I had with it just a couple years ago seems to be mostly fixed. AKA, its been quietly getting more robust everytime I install a new version.. So, I would be interested in a fair electron vs lazurus comparison from someone who has spent significant time in both.
- nooorofe 5y agoWhat about running those apps on Android and iPhones?
- sofixa 5y agoThere's still a huge advantage for Electron - it's still fundamentally the same tech underneath - HTML, CSS, JS. Any semi-competent web developer can use Electron and ship cross-platform apps with it, and heck, lots of code can be shared between Electron apps and the web "app". None of the other options provide these facilities.
- novok 5y agoIMO OS vendors could create an electron detection mechanism and start making electron instances use shared libraries and memory for their browser instances as part of a swap in the kernel. When you remove the "virtual OS container" that come with every electron app (their browser instance), you remove a significant amount of resource waste they have. Then they're pretty much QT apps written in python in the level of performance and memory they use. It's kind of a shame that chrome apps didn't become a thing and electron app installers would detect if you have chrome and just install themselves as chrome apps vs an electron app. That would've been another legit alternatives.
- aembleton 5y agoIf the OS doesn't get updated, then some of those electron apps might stop working properly as they are expecting to target a particular version of Chromium.
- novok 5y agoIt would be a bit smarter and generalized than that, it would detect new chromium 'version bases' and differentiate based on that. Eventually it will stop working, but if you don't update your OS after a certain point, new app versions wouldn't work anyway, or they would fall back into standard mode.
- knubie 5y ago> I’m so #%^*ing tired of it taking three Mississippis to show a channel I click on. I can guarantee you whatever is causing Slack to take 3 seconds to load a channel has nothing to do with it being built on Electron and, all else being equal, would probably have the same problem if it was built as a native app.
- andrei_says_ 5y agoI use both discord and slack in their website form. Am I missing anything by not downloading the electron apps?
- aembleton 5y agoI found I the needed Slack application for screen sharing; although might just be Firefox stopping it.