6 ms·
Interesting to see this is from zcbenz, who was the initial creator of Electron. Slack's desktop app, which is based on Electron, is often criticized for its me
by polpo 9y ago
Interesting to see this is from zcbenz, who was the initial creator of Electron. Slack's desktop app, which is based on Electron, is often criticized for its memory and CPU usage, so I'm wondering if the creation of Wey and its underlying Yue library are an answer/atonement for that.
- GoneToThailand 9y agoIt is so damn ugly that I prefer to keep my fans spinning the whole day than looking to that every day.
- bb88 9y agoOn the github page, he writes this: > Normally for multiple teams with heavy traffics, Wey should not have any significant CPU usage, and RAM ussage is usually under 100MB. However if you have a team with more than 10k users in it, the memory usage may increase a lot. Bloaty technologies was what made MS great in the 80's/90's, because 18 months later, the speed of the CPU would double. I feel like we should think hard about optimizing for memory/cpu again.
- JustSomeNobody 9y agoNow that Moore's Law is dead, that time is coming. We can't afford to be wasteful. Not that we ever should have, but we've spent over a decade now catering to "developer productivity", now it's time to put the user role back in the forefront.
- qznc 9y agoThe last time I checked (roughly a year ago) Moore's law was still holding.
- chacham15 9y agoNot sure why the downvotes. Moores law[1] refers to the number of transistors that are on the die. With the decreasing size of the transistors, this has remained true. Despite that, clock speeds have stopped growing thereby leading to serial performance not increasing as fast as it had in the past. [1] https://en.wikipedia.org/wiki/Moore%27s_law https://en.wikipedia.org/wiki/Moore%27s_law
- opencl 9y agoGPUs were stuck on 28nm for over 5 years before 16nm one launched. Intel has been stuck on 14nm for three and a half years and counting. This has certainly not been anything close to doubling every 18 months.
- SlowBro 9y agoTo repeat: Moore’s law is about transistor count, not size. From the Wikipedia article linked in the comment above yours: “Moore's law is the observation that the number of transistors in a dense integrated circuit doubles approximately every two years.” Transistors can stay the exact same size for twenty years as long as the die size grows, and Moore’s law still holds.
- opencl 9y agoBut the die size didn't grow at nearly that rate, large dies remain very expensive to make. For example, comparing the HD7970 and RX 390X, similarly positioned GPUs released 4 years apart in 2011 and 2015, transistor count grew ~50% from 4.3 billion to 6.2 billion. https://www.anandtech.com/show/5261/amd-radeon-hd-7970-review https://www.anandtech.com/show/5261/amd-radeon-hd-7970-revie... https://www.anandtech.com/show/9387/amd-radeon-300-series/3 https://www.anandtech.com/show/9387/amd-radeon-300-series/3
- SlowBro 9y ago> But the die size didn't grow at nearly that rate, large dies remain very expensive to make. But again, did transistors double in count on any processor, not just GPUs? If so, Moore held. Yes, according to this chart: https://en.m.wikipedia.org/wiki/Moore's_law#/media/File%3AMoore's_Law_Transistor_Count_1971-2016.png https://en.m.wikipedia.org/wiki/Moore's_law#/media/File%3AMo...
- opencl 9y agoI mean if you want to go with the highest transistor count chip currently in existence, that would obviously be the 512Gb flash chips with ~170 billion transistors. Or if you want to constrain it to 'processors' that would be the 30 billion transistor Altera FPGAs. Which have been available for 3 years. No CPU yet has exceeded the 10 billion transistor count of the Sparc M7, also released 3 years ago. The Tesla P100, two years old, retains the highest GPU transistor count at 15 billion. It's meaningless to compare these totally different types of chips that end up with extremely different transistor densities on the same node due to the wiring requirements.
- derefr 9y ago> Not that we ever should have You say that like people were making these bloaty apps for the good of humanity—trying to make them objectively perfect, but falling short. While FOSS is done with that mindset, FOSS isn’t usually where bloat comes from. Bad engineering is usually the result of overriding business concerns: being first to market, iterating quicker than your competitors, having more reach on more platforms with less expense, etc. More features before feature polish, and user-visible polish before good architecture. Even without Moore’s law, this incentive is still in place. It not just has a slight countervailing force of nobody wanting to run apps that take too many resources. What that means in practice is that apps will still be as bloated as possible (or rather, with as little optimization done as possible) while still managing to not choke the machines they’re on.
- vokep 9y agoMoore's law is alive and well. If it is slowing at all it is evidently due to monopoly/lack of competition more than anything else. It feels like Moore's law is dead because there actually were a few more laws at play which have died. We went from exponential-exponential to just exponential, which feels like going from exponential to linear from our perspective, but is not the death of Moore's law. Can't make transistors smaller? just add more! Speed of light becoming a problem? Stack em! Speed of light and heat becoming a problem again? Stack cores, improve multi-core architecture in both hardware/software and enjoy another many decades of Moore's law. It won't be dieing any time soon
- Terretta 9y agoIf it’s slowing? Intel says it is. And Moore said dying in next decade. Wikipedia: Moore's law is an observation and projection of an historical trend and not a physical or natural law. Although the rate held steady from 1975 until around 2012, the rate was faster during the first decade. In general, it is not logically sound to extrapolate from the historical growth rate into the indefinite future. For example, the 2010 update to the International Technology Roadmap for Semiconductors, predicted that growth would slow around 2013, and in 2015 Gordon Moore foresaw that the rate of progress would reach saturation: "I see Moore's law dying here in the next decade or so." Intel stated in 2015 that the pace of advancement has slowed, starting at the 22 nm feature width around 2012, and continuing at 14 nm. Brian Krzanich, CEO of Intel, announced, "Our cadence today is closer to two and a half years than two." Intel is expected to reach the 10 nm node in 2018, a three-year cadence. He cited Moore's 1975 revision as a precedent for the current deceleration, which results from technical challenges and is "a natural part of the history of Moore's law." More background in recent article here on 40 years of processor performance: https://www.eejournal.com/article/fifty-or-sixty-years-of-processor-developmentfor-this/ https://www.eejournal.com/article/fifty-or-sixty-years-of-pr... HN: https://news.ycombinator.com/item?id=16750733 https://news.ycombinator.com/item?id=16750733
- qznc 9y agoHow much RAM does wee-slack use? https://github.com/wee-slack/wee-slack https://github.com/wee-slack/wee-slack
- 4gotmyaccount10 9y agothanks for linking this, I was looking for a way to intergrate slack into weechat without using the irc gateway since they are dropping support for that
- toomanybeersies 9y agoThe price of RAM has actually gone up in the past 5 years, so that's not a terrible idea.