{"id":39333,"date":"2019-07-23T09:09:34","date_gmt":"2019-07-23T09:09:34","guid":{"rendered":"http:\/\/icloud.pe\/blog\/?guid=a84b90d31fb875d5610bece65554ca1a"},"modified":"2019-07-23T09:09:34","modified_gmt":"2019-07-23T09:09:34","slug":"slack-gives-desktop-app-performance-driven-makeover","status":"publish","type":"post","link":"https:\/\/icloud.pe\/blog\/slack-gives-desktop-app-performance-driven-makeover\/","title":{"rendered":"Slack gives desktop app performance-driven makeover"},"content":{"rendered":"<p><span class=\"field field-name-field-author field-type-node-reference field-label-hidden\"><br \/>\n      <span class=\"field-item even\"><a href=\"https:\/\/www.cloudpro.co.uk\/authors\/bobby-hellard\">Bobby Hellard<\/a><\/span><br \/>\n  <\/span><\/p>\n<div class=\"field field-name-field-published-date field-type-datetime field-label-hidden\">\n<div class=\"field-items\">\n<div class=\"field-item even\"><span class=\"date-display-single\">23 Jul, 2019<\/span><\/div>\n<\/p><\/div>\n<\/div>\n<p class=\"short-teaser\">\n<a href=\"https:\/\/www.cloudpro.co.uk\/\" title=\"\" class=\"combined-link\"><\/a><\/p>\n<div class=\"field field-name-body\">\n<p> Slack has unveiled a new version of its desktop app that&#8217;s reportedly faster and more efficient thanks to a complete rebuild of the platform&#8217;s underlying technology.<\/p>\n<p>This will be rolled out to users in an update for Slack&#8217;s Windows and macOS\u00a0desktop app.\u00a0It promises big performance improvements, such as loading 33% faster and using 50% less RAM use than before, according to the company.<\/p>\n<p>Over the course of 2018, Slack worked on shifting the web and desktop clients &#8211; which essentially use the same codebase &#8211; to a modern stack and away from jQuery and other technologies it used when first launched in 2012. The result is that Slack will no longer create a standalone copy for each workspace and take up RAM for each instance.<\/p>\n<p>There&#8217;s a bit of risk-taking in this update as rewriting or changing the code of a platform can be extremely problematic. The desktop version of Slack is its oldest client, and as such, a few internal cracks were starting to show in the foundation, according to Slack engineers Mark Christian and Johnny Rodgers.<\/p>\n<p>&#8220;Conventional wisdom states that rewrites are best avoided, but sometimes the benefits are too great to ignore,&#8221; the pair wrote in a <a href=\"https:\/\/slack.engineering\/rebuilding-slack-on-the-desktop-308d6fe94ae4\" >blog post<\/a>. &#8220;One of our primary metrics has been memory usage and the new version of Slack delivers&#8230;&#8221;<\/p>\n<p>&#8220;These results have validated all of the work that we&#8217;ve put into this new version of Slack and we look forward to continuing to iterate and make it even better as time goes on,&#8221; the engineers continued.\u00a0<\/p>\n<p>Part of the update included adopting React, a popular JavaScript, as Slack&#8217;s original user interface (UI) was built using HTML templates. These often need to be manually built whenever underlying data changed and the engineers said it was a &#8220;pain&#8221; to keep both data model and UI in sync.<\/p>\n<p>The new update has kept the existing codebase but created a more modern section of it that the engineers have called &#8220;future-proof&#8221; and has been added incrementally. All UI components have been built with React and this code is both &#8220;multi-workspace aware&#8221; and also loads lazily, without adding unnecessary data &#8211; which is why the loading speed has improved.<\/p>\n<p>Since launching, Slack has become the go-to comms app for startups and is often accused of enabling an <a href=\"https:\/\/www.itpro.co.uk\/flexible-working\/33782\/the-dangers-of-nighttime-slacking\" >&#8216;always-on&#8217; work culture<\/a>. Such is its popularity, the company recently went public and has become a key rival to some of the biggest tech companies around.<\/p>\n<p>Currently, its main competitor is <a href=\"https:\/\/www.cloudpro.co.uk\/collaboration\/8154\/microsoft-teams-now-bigger-than-slack\" >Microsoft Teams, which recently overtook Slack in terms of users, hitting 13 million<\/a> &#8211; three million more than Slack. <\/p>\n<\/p><\/div>\n","protected":false},"excerpt":{"rendered":"<p>      Bobby Hellard<\/p>\n<p>        23 Jul, 2019    <\/p>\n<p>       Slack has unveiled a new version of its desktop app that&#8217;s reportedly faster and more efficient thanks to a complete rebuild of the platform&#8217;s underlying technology.<br \/>\nThis will be rolled out to&#8230;<\/p>\n","protected":false},"author":403,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"class_list":["post-39333","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/icloud.pe\/blog\/wp-json\/wp\/v2\/posts\/39333","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/icloud.pe\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/icloud.pe\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/icloud.pe\/blog\/wp-json\/wp\/v2\/users\/403"}],"replies":[{"embeddable":true,"href":"https:\/\/icloud.pe\/blog\/wp-json\/wp\/v2\/comments?post=39333"}],"version-history":[{"count":2,"href":"https:\/\/icloud.pe\/blog\/wp-json\/wp\/v2\/posts\/39333\/revisions"}],"predecessor-version":[{"id":39341,"href":"https:\/\/icloud.pe\/blog\/wp-json\/wp\/v2\/posts\/39333\/revisions\/39341"}],"wp:attachment":[{"href":"https:\/\/icloud.pe\/blog\/wp-json\/wp\/v2\/media?parent=39333"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/icloud.pe\/blog\/wp-json\/wp\/v2\/categories?post=39333"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/icloud.pe\/blog\/wp-json\/wp\/v2\/tags?post=39333"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}