Most active commenters
  • maccard(15)
  • CelestialMystic(3)

←back to thread

837 points turrini | 45 comments | | HN request time: 0.718s | source | bottom
Show context
titzer ◴[] No.43971962[source]
I like to point out that since ~1980, computing power has increased about 1000X.

If dynamic array bounds checking cost 5% (narrator: it is far less than that), and we turned it on everywhere, we could have computers that are just a mere 950X faster.

If you went back in time to 1980 and offered the following choice:

I'll give you a computer that runs 950X faster and doesn't have a huge class of memory safety vulnerabilities, and you can debug your programs orders of magnitude more easily, or you can have a computer that runs 1000X faster and software will be just as buggy, or worse, and debugging will be even more of a nightmare.

People would have their minds blown at 950X. You wouldn't even have to offer 1000X. But guess what we chose...

Personally I think the 1000Xers kinda ruined things for the rest of us.

replies(20): >>43971976 #>>43971990 #>>43972050 #>>43972107 #>>43972135 #>>43972158 #>>43972246 #>>43972469 #>>43972619 #>>43972675 #>>43972888 #>>43972915 #>>43973104 #>>43973584 #>>43973716 #>>43974422 #>>43976383 #>>43977351 #>>43978286 #>>43978303 #
_aavaa_ ◴[] No.43972050[source]
Except we've squandered that 1000x not on bounds checking but on countless layers of abstractions and inefficiency.
replies(6): >>43972103 #>>43972130 #>>43972215 #>>43974876 #>>43976159 #>>43983438 #
Gigachad ◴[] No.43972215[source]
Am I taking crazy pills or are programs not nearly as slow as HN comments make them out to be? Almost everything loads instantly on my 2021 MacBook and 2020 iPhone. Every program is incredibly responsive. 5 year old mobile CPUs load modern SPA web apps with no problems.

The only thing I can think of that’s slow is Autodesk Fusion starting up. Not really sure how they made that so bad but everything else seems super snappy.

replies(40): >>43972245 #>>43972248 #>>43972259 #>>43972269 #>>43972273 #>>43972292 #>>43972294 #>>43972349 #>>43972354 #>>43972450 #>>43972466 #>>43972520 #>>43972548 #>>43972605 #>>43972640 #>>43972676 #>>43972867 #>>43972937 #>>43973040 #>>43973065 #>>43973220 #>>43973431 #>>43973492 #>>43973705 #>>43973897 #>>43974192 #>>43974413 #>>43975741 #>>43975999 #>>43976270 #>>43976554 #>>43978315 #>>43978579 #>>43981119 #>>43981143 #>>43981157 #>>43981178 #>>43981196 #>>43983337 #>>43984465 #
1. maccard ◴[] No.43972605[source]
Slack, teams, vs code, miro, excel, rider/intellij, outlook, photoshop/affinity are all applications I use every day that take 20+ seconds to launch. My corporate VPN app takes 30 seconds to go from a blank screen to deciding if it’s going to prompt me for credentials or remember my login, every morning. This is on an i9 with 64GB ram, and 1GN fiber.

On the website front - Facebook, twitter, Airbnb, Reddit, most news sites, all take 10+ seconds to load or be functional, and their core functionality has regressed significantly in the last decade. I’m not talking about features that I prefer, but as an example if you load two links in Reddit in two different tabs my experience has been that it’s 50/50 if they’ll actually both load or if one gets stuck either way skeletons.

replies(11): >>43972862 #>>43972991 #>>43974559 #>>43975093 #>>43975226 #>>43975364 #>>43976220 #>>43976593 #>>43978681 #>>43981815 #>>43984373 #
2. aloha2436 ◴[] No.43972862[source]
I'm on a four year old mid-tier laptop and opening VS Code takes maybe five seconds. Opening IDEA takes five seconds. Opening twitter on an empty cache takes perhaps four seconds and I believe I am a long way from their servers.

On my work machine slack takes five seconds, IDEA is pretty close to instant, the corporate VPN starts nearly instantly (although the Okta process seems unnecessarily slow I'll admit), and most of the sites I use day-to-day (after Okta) are essentially instant to load.

I would say that your experiences are not universal, although snappiness was the reason I moved to apple silicon macs in the first place. Perhaps Intel is to blame.

replies(5): >>43973037 #>>43974066 #>>43974668 #>>43975101 #>>43975345 #
3. yetihehe ◴[] No.43972991[source]
> are all applications I use every day that take 20+ seconds to launch.

I suddenly remembered some old Corel Draw version circa year 2005, which had loading screen enumerating random things it loaded and was computing until a final message "Less than a minute now...". It most often indeed lasted less than a minute to show interface :).

4. Cthulhu_ ◴[] No.43973037[source]
VS Code defers a lot of tasks to the background at least. This is a bit more visible in intellij; you seem to measure how long it takes to show its window, but how long does it take for it to warm up and finish indexing / loading everything, or before it actually becomes responsive?

Anyway, five seconds is long for a text editor; 10, 15 years ago, sublime text loaded and opened up a file in <1 second, and it still does today. Vim and co are instant.

Also keep in mind that desktop computers haven't gotten significantly faster for tasks like opening applications in the past years; they're more efficient (especially the M line CPUs) and have more hardware for specialist workloads like what they call AI nowadays, but not much innovation in application loading.

You use a lot of words like "pretty close to", "nearly", "essentially", but 10, 20 years ago they WERE instant; applications from 10, 20 years ago should be so much faster today than they were on hardware from back then.

I wish the big desktop app builders would invest in native applications. I understand why they go for web technology (it's the crossplatform GUI technology that Java and co promised and offers the most advanced styling of anything anywhere ever), but I wish they invested in it to bring it up to date.

replies(3): >>43973596 #>>43975270 #>>43978628 #
5. _Algernon_ ◴[] No.43973596{3}[source]
>Anyway, five seconds is long for a text editor; 10, 15 years ago, sublime text loaded and opened up a file in <1 second, and it still does today. Vim and co are instant.

Do any of those do the indexing that cause the slowness? If not it's comparing apples to oranges.

replies(1): >>43974979 #
6. ◴[] No.43974066[source]
7. crubier ◴[] No.43974559[source]
HOW does Slack take 20s to load for you? My huge corporate Slack takes 2.5s to cold load.

I'm so dumbfounded. Maybe non-MacOS, non-Apple silicon stuff is complete crap at that point? Maybe the complete dominance of Apple performance is understated?

replies(3): >>43974998 #>>43975421 #>>43975873 #
8. vel0city ◴[] No.43974668[source]
It's probably more so that any corporate Windows box has dozens of extra security and metrics agents interrupting and blocking every network request and file open and OS syscall installed by IT teams while the Macs have some very basic MDM profile applied.
replies(1): >>43983833 #
9. maccard ◴[] No.43974979{4}[source]
Riders startup time isn’t including indexing. Indexing my entire project takes minutes but it does it in the background.
10. bflesch ◴[] No.43974998[source]
Most likely the engineers at many startups only use apple computers themselves and therefore only optimize performance for those systems. It's a shame but IMO result of their incompetence and not result of some magic apple performance gains.
11. xboxnolifes ◴[] No.43975093[source]
That sounds like a corporate anti-virus slowing everything down to me. vscode takes a few seconds to launch for me from within WSL2, with extensions. IntelliJ on a large project takes a while I'll give you that, but just intelliJ takes only a few seconds to launch.
replies(1): >>43975122 #
12. maccard ◴[] No.43975101[source]
This is my third high end workstation computer in the last 5 years and my experience has been roughly consistent with.

My corporate vpn app is a disaster on so many levels, it’s an internally developed app as opposed to Okta or anything like that.

I would likewise say that your experience is not universal, and that in many circumstances the situation is much worse. My wife is running an i5 laptop from 2020 and her work intranet is a 60 second load time. Outlook startup and sync are measured in minutes including mailbox fetching. You can say this is all not the app developers fault, but the crunch that’s installed on her machine is slowing things down by 5 or 10x and that slowdown wouldn’t be a big deal if the apps had reasonable load times in the first place.

13. maccard ◴[] No.43975122[source]
Vscode is actually 10 seconds, you’re right.

I have no corp antivirus or MDM on this machine, just windows 11 and windows defender.

14. maccard ◴[] No.43975226[source]
For all the people who are doubting that applications are slow and that it must just be me - here [0] is a debugger that someone has built from the ground up that compiles, launches, attaches a debugger and hits a breakpoint in the same length of time that visual studio displays the splash screen for.

[0] https://x.com/ryanjfleury/status/1747756219404779845

15. rtkwe ◴[] No.43975270{3}[source]
Sublime Text isn't an IDE though so comparing it to VS Code is comparing grapes and apples. VS Code is doing a lot more.
replies(2): >>43975459 #>>43982775 #
16. thewebguyd ◴[] No.43975345[source]
5 seconds is a lot for a machine with an M4 Pro, and tons of RAM and a very fast SSD.

There's native apps just as, if not more, complicated than VSCode that open faster.

The real problem is electron. There's still good, performant native software out there. We've just settled on shipping a web browser with every app instead.

replies(1): >>43975416 #
17. conradfr ◴[] No.43975364[source]
All those things takes 4 seconds to launch or load on my M1. Not great, not bad.
replies(1): >>43978597 #
18. maccard ◴[] No.43975416{3}[source]
There is snappy electron software out there too, to be fair. If you create a skeleton electron app it loads just fine. A perceptible delay but still quick.

The problem is when you load it and then react and all its friends, and design your software for everything to be asynchronous and develop it on a 0 latency connection over localhost with a team of 70 people where nobody is holistically considering “how long does it take from clicking the button to doing the thing I want it to do”

19. bloomca ◴[] No.43975421[source]
I use Windows alongside my Mac Mini, and I would say they perform pretty similarly (but M-chip is definitely more power efficient).

I don't use Slack, but I don't think anything takes 20 seconds for me. Maybe XCode, but I don't use it often enough to be annoyed.

replies(1): >>43976352 #
20. maccard ◴[] No.43975459{4}[source]
I disagree. Vs code uses plugins for all its heavy lifting. Even a minimal plugin setup is substantially slower to load than sublime is, which can also have an LSP plugin.
21. mike_hearn ◴[] No.43975873[source]
Yes it is and the difference isn't understated, I think everyone knows by now that Apple has run away with laptop/desktop performance. They're just leagues ahead.

It's a mix of better CPUs, better OS design (e.g. much less need for aggressive virus scanners), a faster filesystem, less corporate meddling, high end SSDs by default... a lot of things.

replies(1): >>43982677 #
22. conductr ◴[] No.43976220[source]
IMO they just don't think of "initial launch speed" as a meaningful performance stat to base their entire tech stack upon. Most of these applications and even websites, once opened, are going to be used for several hours/days/weeks before being closed by most of their users
23. maccard ◴[] No.43976352{3}[source]
I have an i9 windows machine with 64GB ram and an M1 Mac. I’d say day to day responsiveness the Mac is heads and tails above the windows machine, although getting worse. I’m not sure if the problem is the arm electron apps are getting slower or if my machine is just aging
replies(1): >>43978432 #
24. Aurornis ◴[] No.43976593[source]
> Slack, teams, vs code, miro, excel, rider/intellij, outlook, photoshop/affinity are all applications I use every day that take 20+ seconds to launch.

> On the website front - Facebook, twitter, Airbnb, Reddit, most news sites, all take 10+ seconds to load or be functional

I just launched IntelliJ (first time since reboot). Took maybe 2 seconds to the projects screen. I clicked a random project and was editing it 2 seconds after that.

I tried Twitter, Reddit, AirBnB, and tried to count the loading time. Twitter was the slowest at about 3 seconds.

I have a 4 year old laptop. If you're seeing 10 second load times for every website and 20 second launch times for every app, you have something else going on. You mentioned corporate VPN, so I suspect you might have some heavy anti-virus or corporate security scanning that's slowing your computer down more than you expect.

replies(1): >>43978436 #
25. homebrewer ◴[] No.43978432{4}[source]
It's Windows. I'm on Linux 99% of the time and it's significantly more responsive on hardware from 2014 than Windows is on a high end desktop from 2023. I'm not being dramatic.

(Yes, I've tried all combinations of software to hardware and accounted for all known factors, it's not caused by viruses or antiviruses).

XP was the last really responsive Microsoft OS, it went downhill from then and never recovered.

replies(1): >>43978530 #
26. accrual ◴[] No.43978436[source]
> heavy anti-virus or corporate security scanning that's slowing your computer down more than you expect.

Ugh, I personally witnessed this. I would wait to take my break until I knew the unavoidable, unkillable AV scans had started and would peg my CPU at 100%. I wonder how many human and energy resources are wasted checking for non-existant viruses on corp hardware.

replies(3): >>43978638 #>>43980296 #>>43983788 #
27. maccard ◴[] No.43978530{5}[source]
My current machine I upgraded from win10 to win11 and I noticed an across the board overnight regression in everything. I did a clean install so if anything it should have been quicker but boot times, app launch times, compile times all took a nosedive on that update.

I still think there’s a lot of blame to go around for the “kitchen sink” approach to app development where we have entire OS’s that can boot faster than your app can get off a splash screen.

Unfortunately, my users are on windows and work has no Linux vpn client so a switch isn’t happening any time soon.

28. maccard ◴[] No.43978597[source]
Even 4-5 seconds is long enough for me to honestly get distracted. That is just so much time even on a single core computer from a decade ago.

On my home PC, in 4 seconds I could download 500MB, load 12GB off an SSD, perform 12 billion cycles (before pipelining ) per core (and I have 24 of them) - and yet miro still manages to bring my computer to its knees for 15 seconds just to load an empty whiteboard.

29. maccard ◴[] No.43978628{3}[source]
> You use a lot of words like "pretty close to", "nearly", "essentially", but 10, 20 years ago they WERE instant; applications from 10, 20 years ago should be so much faster today than they were on hardware from back then.

11 years ago I put in a ticket to slack asking them about their resource usage. Their desktop app was using more memory than my IDE and compilers and causing heap space issues with visual studio. 10 years ago things were exactly the same. 15 years ago, my coworkers were complaining that VS2010 was a resource hog compared to 10 years ago. My memory of loading photoshop in the early 2000’s was that it took absolutely forever and was slow as molasses on my home PC.

I don’t think it’s necessarily gotten worse, I think it’s always been pathetically bad.

replies(1): >>43979772 #
30. maccard ◴[] No.43978638{3}[source]
In a previous job, I was benchmarking compile times. I came in on a Monday and everything was 10-15% slower. IT had installed carbon black on my machine over the weekend, which was clearly the culprit. I sent WPA traces to IT but apparently the sales guys said there was no overhead so that was that.
31. m-schuetz ◴[] No.43978681[source]
How does your vscode take 20+ seconds to launch? Mine launches in 2 seconds.
32. genewitch ◴[] No.43979772{4}[source]
Photoshop for windows 3.11 loads in a couple seconds on a 100mhz pentium. Checked two days ago.
replies(1): >>43981215 #
33. tbihl ◴[] No.43980296{3}[source]
I used to think that was the worst, but then my org introduced me to pegging HDD write at 100% for half an hour at a time. My dad likes to talk about how he used to turn on the computer, then go get coffee; in my case it was more like turn on machine, go for a run, shower, check back, coffee, and finally... maybe.
34. maccard ◴[] No.43981215{5}[source]
That was 30 years ago, not 10.
replies(1): >>43981543 #
35. genewitch ◴[] No.43981543{6}[source]
"early 2000s" was at least 22 years ago, as well. Sorry if this ruins your night. 100mhz 1994 vs 1000mhz in 2000, that's the only parallel i was drawing. 10x faster yet somehow adobe...
replies(1): >>43981810 #
36. maccard ◴[] No.43981810{7}[source]
Ah sorry - I’m in my mid 30s so my early pc experiences as a “power user” were win XP, by which point photoshop had already bolted on the kitchen sink and autodesk required a blood sacrifice to start up.
37. Mashimo ◴[] No.43981815[source]
Odd, I tested two news sides (tagesschau.de and bbc.com) and both load in 1 - 2 seconds. Airbnb in about 4 - 6 seconds though. My reddit never gets stuck, or if it does it's on all tabs because something goes wrong on their end.
38. TingPing ◴[] No.43982677{3}[source]
Qualcomm CPUs outperform Apple now, Apple was just early and had exclusivity for manufacturing 3nm at TSMC.
39. makapuf ◴[] No.43982775{4}[source]
VScode isn't an IDE either, visual studio is one. After that it all depends what plugins you loaded in both of them.
40. CelestialMystic ◴[] No.43983788{3}[source]
Every Wednesday my PC becomes so slow it is barely usable. It is the Windows Defender scans. I tried doing a hack to put it on a lower priority but my hands are tied by IT.
replies(1): >>43985002 #
41. CelestialMystic ◴[] No.43983833{3}[source]
This is exactly it. My Debian Install on older hardware than my work machine is relatively snappy. The real killer is the Windows Defender Scans once a week. 20-30% CPU usage for the entire morning because it is trying to scan some CDK.OUT directory (if I delete the directory, the scan doesn't take nearly as long).
42. jen20 ◴[] No.43984373[source]
> This is on an i9

On which OS?

replies(1): >>44014430 #
43. accrual ◴[] No.43985002{4}[source]
Same. I had nearly full administrative privs on the laptop, yet I get "Access denied" trying to deprioritize the scan. We got new hardware recently, so we should be good until the scanners catch up and consume even more resources...
replies(1): >>43989319 #
44. CelestialMystic ◴[] No.43989319{5}[source]
You basically have no control over it. I don't mind it doing a virus scan but could it do it out of hours.

People wonder why I don't run Windows outside of gaming and it because I don't really know what the system is doing anymore.

45. maccard ◴[] No.44014430[source]
Windows 11. It was windows 10 before that and it was still bad but definitely got worse with win11. Unsure if it win10 vs win11 was the culprit or a windows defender change happened at the same time.