News for hackers. Stuff that matters.
Re:When a rewrite isn’t: rebuilding Slack on the desktop by pwinnski on Monday July 22, 2019 @12:45PM (#20499768)
Electron makes it a desktop app. That part has not changed.
Re:When a rewrite isn’t: rebuilding Slack on the desktop by 0xDEEPFAC on Monday July 22, 2019 @03:22PM (#20501392)
Yea.. I would say Slack is an electron "client" or something like that - just like I would say Java programs are "clients" of the JVM.

Both are only "native desktop applications" if you squint your eyes.

Re:When a rewrite isn’t: rebuilding Slack on the desktop by nottorp on Monday July 22, 2019 @12:56PM (#20499885)
Just because you don't see the browser it doesn't mean it's not still there.

No, js/html "applications" are not desktop apps, they're web pages. Doesn't matter how you hide it.

Re:When a rewrite isn’t: rebuilding Slack on the desktop by paxys on Monday July 22, 2019 @01:38PM (#20500337)
If an app is running on its own and not in a web browser, it is a desktop app. The language or framework it is written in does not matter. Do you consider VS Code a web page as well? What about Spotify?
Re:When a rewrite isn’t: rebuilding Slack on the desktop by lpcvoid on Monday July 22, 2019 @02:43PM (#20500963)
Actually, yeah, I would argue that specially Spotify is simply a website bundled with some chromium.
Re:When a rewrite isn’t: rebuilding Slack on the desktop by nottorp on Monday July 22, 2019 @04:52PM (#20502215)
If you don't see the browser it doesn't mean it isn't there. There's always some chrome instance rendering the html and interpreting the js. Extremely wasteful. (Right now Slack seems to use 600 MB ram on my desktop).

And yes, VS code is a web site by my definition. Not an application.

Re:When a rewrite isn’t: rebuilding Slack on the desktop by batina on Monday July 22, 2019 @03:14PM (#20501292)
Correct! I don't get why people are scared of writing native applications. It's not that hard.
Re:When a rewrite isn’t: rebuilding Slack on the desktop by mtarnovan on Monday July 22, 2019 @02:37PM (#20500899)
Not sure why you were downvoted. I agree with this definition. This is the main point of the whole discussion about the Slack client being bloated, consuming huge amounts of memory (and sometimes CPU) etc.
Re:When a rewrite isn’t: rebuilding Slack on the desktop by bdcravens on Monday July 22, 2019 @01:04PM (#20499976)
Ditto for Cordova/Ionic in the mobile space. And to a lesser degree, React Native.
Re:When a rewrite isn’t: rebuilding Slack on the desktop by theredbox on Monday July 22, 2019 @12:59PM (#20499924)
Is Sublime Text a native app or a web page?
Re:When a rewrite isn’t: rebuilding Slack on the desktop by guessmyname on Monday July 22, 2019 @01:07PM (#20500017)
Sublime Text is 100% a native desktop application written in C++ with the Skia graphics library [1][2].

However, only a tiny fraction of Skia’s functionality is actually used, just for rasterizing lines and blitting images. Font rendering is done by using the underlying platform APIs to do the glyph rasterisation. The editor also exposes an ABI/API that plugins can use via Python scripts. C++ provides the cross-platform functionality, Skia provides the cross-platform UI, custom code was written to target specific parts of the UI in macOS (using Cocoa) and Linux (using GTK). A tiny web driver is used to render a super-minimal set of HTML tags for tooltips.

[1] https://news.ycombinator.com/item?id=11689481

[1] https://skia.org/

Re:When a rewrite isn’t: rebuilding Slack on the desktop by bdcravens on Monday July 22, 2019 @01:04PM (#20499978)
Native. VS Code is a web page by this definition however.