If you do that and open slack immediately afterwards it feels painful instantly. The difference in how it feels is quite scary.
There is NO "mandatory" electron apps... But there is some great software made with electron that has become very popular.
I am confident if something has been made with electron, there is native alternatives out there. Don't like slack? Then use IRC.
Don't like my joystick to keyboard/mouse remapper with an electron frontend? Then don't, use one of the many alternatives (Too bad if they don't provide what you are looking for and no one of them seems to be able to modulate output in order to emulate analog controls. But at least it was written by a pro!)
I do not use Slack. I use self-hosted Mattermost as a replacement of Slack, I use IRC, and I use Element (formerly known as Riot.im).
That only works if you can control what others use (maybe not in the case of Slack, but that's the exception as messengers go).
What people don't understand is that it's not a "mentality", it's an economic imperative.
It makes sense, business wise, to "throw more hardware at it", and "lowering the barrier to entry" obviously also means that somebody can develop something with lower costs/faster time to market.
It's not a question of spoiled devs.
It's a question of savvy business people.
People not understanding this don't understand how economics works.
Native does basically nothing for me that matters when it comes to accomplishing things. Just OS lock-in. Loading a little faster or being a little snappier is a small consolation.
Some people don’t care about coffee, caffeine and brown slop is good enough.
Some people do care. I feel the difference in native and it’s worth it for apps you spend lots of time in.
Electron and Qt are not in the same league.
No, they're certainly not. Qt takes a lot of effort to produce apps that look like garbage on every OS while Electron takes no effort to produce apps that look great everywhere. VLC Media Player - arguably the most popular Qt app - looks like dog shit.
Qt will have you coding in an old shitty programming language or using duct-tape and glue to bind it to a more popular language while Electron will have you coding in the most popular programming language and getting things done in a fraction of the time.
Qt is register-ware that is moving closer to being closed-source while Electron is 100% open source.
This is why, the devs who settle for Electron more often than not are not interested in doing cross browser support either.
This! The old joke of Eight Megabytes And Constantly Swapping for Emacs is not relevant today any more. Same will happen with Electron, developer productivity will trump anything.
Especially the fact that the “hardware resources” isn’t even your cost it’s your customers cost.
Doesn't it kinda make you think, just a little?
The hubris is frightening.
What I don't get is why they don't want to make a native macOS client, or Windows client. For Linux I get that they don't necessarily know if it should be GTK, QT, should they adopt KDE standards or Gnome, something else maybe? I can see why they would like Electron in that case.
For something like the Mac... They could do a fantastic client, it would use very little memory, play nice with the OS and be fast. Their users would notice and love it.
The file search uses `ripgrep` which is written in Rust. But that is it as far as I know.
I'm not surprised that Slack's memory use tends to explode.
Here's a naive comparison
~/workspace/iOS Project(develop)
time subl .
________________________________________________________
Executed in 75.46 millis fish external
usr time 21.45 millis 106.00 micros 21.34 millis
sys time 14.84 millis 659.00 micros 14.18 millis
~/workspace/iOS Project(develop)
time code .
________________________________________________________
Executed in 4.18 secs fish external
usr time 123.39 millis 99.00 micros 123.29 millis
sys time 175.07 millis 585.00 micros 174.49 millisCloser to IntelliJ than to Sublime, in my experience.
Is there something remotely comparable to VSCode's debugger view on Sublime for instance?
With the C/C++ and CMake Tools extensions installed, VSCode is an IDE that provides pretty much the same features as Xcode (for some features Xcode is ahead, and for others VSCode).
XCode needs about 12 seconds to start into a C/C++ project (on my mid-2014 13"MBP), while VSCode needs 3 (and yes I start into both fairly frequently from the command line). When actually working in the IDEs, for some things XCode feels slicker, for others VSCode. All in all, XCode really isn't a good argument in the whole "Electron vs Native debate" (and the same is true for VSCode vs Visual Studio btw).
VSCode itself doesn't fall over, but code completion and error highlighting are painfully slow to catch up and several of the extensions that provide that functionality regularly crash out.
It LAGS a lot. I work on Xcode Swift projects and the difference is amazing (and Xcode is quite crap). Auto-complete or sometimes just opening a file takes seconds. (I know my project has a bit more complexity that a normal react/node app, but still...)
Yes, but doesn't this also mean that an Apple Silicon-native Electron instantly makes all Electron apps that much faster on that architecture, as opposed to having individual authors update (or not) their apps?