News for hackers. Stuff that matters.
Re:Apple Orders Entire Supply of TSMC's 3nm Chips for iPhone... by deanc on Wednesday February 22, 2023 @08:22AM (#34895020)
> Compared to 5nm process, the first-generation 3nm process can reduce power consumption by up to 45%, improve performance by 23% and reduce area by 16% compared to 5nm, while the second-generation 3nm process is to reduce power consumption by up to 50%, improve performance by 30% and reduce area by 35%.

What kind of real-world impact are we likely to see on the 3nm chips for the new iPhone and M3 macs? These figures seem outstanding and generationally impactful if true.

Re:Apple Orders Entire Supply of TSMC's 3nm Chips for iPhone... by nsteel on Wednesday February 22, 2023 @08:27AM (#34895070)
> reduce power consumption by up to 50%, improve performance by 30% and reduce area by 35%

To be clear, you don't get all three.

Also, are these Apple's numbers? They are better than what TSMC say (1st gen) 3nm silicon provides:

> N3 technology will offer up to 70% logic density gain, up to 15% speed improvement at the same power and up to 30% power reduction at the same speed as compared with N5 technology

https://www.tsmc.com/english/dedicatedFoundry/technology/log...

Re:Apple Orders Entire Supply of TSMC's 3nm Chips for iPhone... by jb1991 on Wednesday February 22, 2023 @08:35AM (#34895179)
I’m curious why not? Apple Silicon so far has improved performance, and reduced power consumption. Does that mean that it’s a larger chip than the others that came before it?
Re:Apple Orders Entire Supply of TSMC's 3nm Chips for iPhone... by maven29 on Wednesday February 22, 2023 @08:44AM (#34895303)
They got there by skimping on IO
Re:Apple Orders Entire Supply of TSMC's 3nm Chips for iPhone... by manmal on Wednesday February 22, 2023 @09:06AM (#34895657)
Please elaborate. IO is really not an issue in the M* machines I‘ve used - on the contrary.
Re:Apple Orders Entire Supply of TSMC's 3nm Chips for iPhone... by adgjlsfhk1 on Wednesday February 22, 2023 @11:40AM (#34898256)
none of the M1 laptops let you use multiple external monitors and all of the M1 products have much lower limits on storage than PCs.
Re:Apple Orders Entire Supply of TSMC's 3nm Chips for iPhone... by dev_tty01 on Wednesday February 22, 2023 @01:45PM (#34900594)
Not true. Depending upon the processor choice, M1, M1 pro, or M1 max, you get 1, 2, or 4 external monitors. Up to 64 GB ram. Do you really need more than 64 GB? The number of users who actually need more are a very small part of the market.
Re:Apple Orders Entire Supply of TSMC's 3nm Chips for iPhone... by jb1991 on Wednesday February 22, 2023 @03:42PM (#34902368)
And the M1 Ultra even offers up to 128 GB RAM -- and that is also unified with GPU RAM.
Re:Apple Orders Entire Supply of TSMC's 3nm Chips for iPhone... by ihateolives on Wednesday February 22, 2023 @10:58PM (#34906581)
The price of RAM is absolutely bonkers though. If i ever need more than 16GB of RAM and more than 512GB of storage, I'll strongly consider moving back to Thinkpads or something.
Re:Apple Orders Entire Supply of TSMC's 3nm Chips for iPhone... by amoss on Wednesday February 22, 2023 @08:57AM (#34895526)
There is a trade-off between the three kinds of improvements. It is possible to pick some points (for example) that give a less than maximum power reduction as well as a less than maximum speed improvment. I think the comparison would be the Apple Silicon that they released is larger than a (hypothetical) alternative that only improved performance but kept the other two constant.
Re:Apple Orders Entire Supply of TSMC's 3nm Chips for iPhone... by DennisP on Wednesday February 22, 2023 @09:40AM (#34896257)
Maybe X*Y*Z=K but K increases over time. Ten years ago, we couldn't do what we can do now.
Re:Apple Orders Entire Supply of TSMC's 3nm Chips for iPhone... by warrenm on Wednesday February 22, 2023 @09:05AM (#34895649)
"Speed" != "Performance"

'70% logic density gain' sounds like 'reduce area by 35%' to me

The only one that might not line up is 'reduce power consumption by up to 50%' vs 'up to 30% power reduction at the same speed as compared with N5 technology'

...but you have to know what's being compared before deciding the numbers do (or don't) make sense

Re:Apple Orders Entire Supply of TSMC's 3nm Chips for iPhone... by SuchAnonMuchWow on Wednesday February 22, 2023 @09:26AM (#34896021)
About the area, keep in mind that not every part of a chip is composed of dense logic:

Typically, sram (cache memories for example) doesn't scale as much as core logic, and interconnect (connections between the cores, DDR, etc...) almost don't scale at all.

This is highly dependent on the design of the SoC, but the core logic is rarely the largest of the three, so you will not see a 35% reduction of the total area of the chip: only of the areas the most densely packed with logic. What you could have for example is a 35% more powerful neural network accelerator in the same area as the previous generation. But you will not have 35% bigger cache.

Re:Apple Orders Entire Supply of TSMC's 3nm Chips for iPhone... by nsteel on Wednesday February 22, 2023 @11:07AM (#34897737)
Have you seen the 3nm SRAM scaling? It's really depressing. It won't bother CPUs too much but other devices are going to struggle to scale.
Re:Apple Orders Entire Supply of TSMC's 3nm Chips for iPhone... by hajile on Wednesday February 22, 2023 @10:05PM (#34906208)
N3 scaling? There's literally zero scaling.

N3 is a stop-gap as TSMC is behind on their N2 GAA process. It's not so different from Intel's 14nm++++++ where it was dramatically better than before, but still not enough.

Re:Apple Orders Entire Supply of TSMC's 3nm Chips for iPhone... by warrenm on Wednesday February 22, 2023 @12:08PM (#34898755)
> About the area, keep in mind that not every part of a chip is composed of dense logic

No, but improving density still makes it smaller (for an otherwise-"identical" offering) :)

Re:Apple Orders Entire Supply of TSMC's 3nm Chips for iPhone... by ARandomerDude on Wednesday February 22, 2023 @11:07AM (#34897748)
> "Speed" != "Performance"

Can you elaborate?

Re:Apple Orders Entire Supply of TSMC's 3nm Chips for iPhone... by warrenm on Wednesday February 22, 2023 @12:07PM (#34898737)
Sure

Start with processor pipelining, branch prediction, speculative execution, etc

Then move to multiple CPUs/CPU cores

A practically-linear program (ie hardly any unpredictable branching) can be run ~5x faster on a 5-stage-pipelined CPU than an unpipelined CPU

Liekwise, parallelizable tasks can benefit from multiple CPUs/cores, whereas non-parallelizable tasks will not (much)

And then you have performance-per-watt vs raw hertz count: today, most people seem to care more about performance-per-watt than raw "performance"

Ie, ceteris peribis, a 30w 4 core CPU at 1Ghz is going to be more favorably viewed than a 100w 6 core CPU at 1.8Ghz - you can throw 12 "low power", "slower" cores at the problem for ~10% less power draw than the "high power", "faster" cores

Then you can also look at the relative efficiency of different CPU platforms and/or microcode changes in a single platform: that was the major selling point of Apple's anti-Intel ads 15-20 years ago - the PowerPC was "faster" than the Pentium because it was "more efficient" at several families of tasks (even though the raw clock speed of the PPC was typically lower than the comparable Pentium offerings)

This comes up with the Apple M-series CPUs vs the Intel chips they replaced - they may not be "faster" (in raw ghz), but they're more performant

Re:Apple Orders Entire Supply of TSMC's 3nm Chips for iPhone... by nsteel on Wednesday February 22, 2023 @01:41PM (#34900509)
* * *
Re:Apple Orders Entire Supply of TSMC's 3nm Chips for iPhone... by warrenm on Wednesday February 22, 2023 @03:07PM (#34901857)
I don't read it that way - how did you come to that conclusion?
Re:Apple Orders Entire Supply of TSMC's 3nm Chips for iPhone... by turnsout on Wednesday February 22, 2023 @10:02AM (#34896610)
> Also are these Apple's numbers?

Hope it's obvious, but no, they are not Apple's numbers—this is a rumor about unreleased products.

Re:Apple Orders Entire Supply of TSMC's 3nm Chips for iPhone... by nsteel on Wednesday February 22, 2023 @11:04AM (#34897685)
Bizarrely it seems the parent plucked those numbers from a Samsung 3mn press release! That's why they don't make sense in the context of TSMC 3nm. I've never had a presentation from Samsung, I guess they need to say something special.
Re:Apple Orders Entire Supply of TSMC's 3nm Chips for iPhone... by dev_tty01 on Wednesday February 22, 2023 @01:57PM (#34900780)
>To be clear, you don't get all three.

Actually you do. The branding is called FinFlex, but the upshot is that you can use different FETs for different parts of a circuit. So some critical timing bottleneck blocks could be built with performance optimized FETs and other blocks can optimize for low power.

The numbers from TSMC for N3E are +18% speed improvement at same power, -34% power reduction at same speed, and 1.7x density improvement.

https://www.tomshardware.com/news/tsmc-outlines-3nm-roadmap

>Also, are these Apple's numbers?

Ha ha. That's funny. Does Apple ever release any numbers prerelease?

Re:Apple Orders Entire Supply of TSMC's 3nm Chips for iPhone... by thefounder on Wednesday February 22, 2023 @08:28AM (#34895097)
Perhaps more fanless macs. That would be great and make a difference in the user exeprience. Re iphone: I only use mail, safari and chat apps so I doubt I can see any difference.
Re:Apple Orders Entire Supply of TSMC's 3nm Chips for iPhone... by credit_guy on Wednesday February 22, 2023 @08:33AM (#34895160)
> I only use mail, safari and chat apps so I doubt I can see any difference.

You probably also take photos, where Apple automatically applies some Machine Learning tricks.

And wherever Machine Learning is used, more can be used. One day they could put an entire ChatGPT on the iPhone.

Re:Apple Orders Entire Supply of TSMC's 3nm Chips for iPhone... by thefounder on Wednesday February 22, 2023 @11:18AM (#34897928)
>> One day they could put an entire ChatGPT on the iPhone.

That sounds great except I never use siri...(in car commands being the exception).

Re:Apple Orders Entire Supply of TSMC's 3nm Chips for iPhone... by CoolGuySteve on Wednesday February 22, 2023 @08:55AM (#34895486)
History suggests we will see obnoxious hacker news comments about how the M-series processors are some unrivaled alien technology that will be forever unbeaten when it comes to performance followed by AMD releasing a low wattage CPU with better multicore performance about 8 months later (or whenever they get fab capacity anyways).
Re:Apple Orders Entire Supply of TSMC's 3nm Chips for iPhone... by piyh on Wednesday February 22, 2023 @09:41AM (#34896274)
Is there any Windows machine that's fanless and at M1 speeds?
Re:Apple Orders Entire Supply of TSMC's 3nm Chips for iPhone... by EVa5I7bHFq9mnYK on Wednesday February 22, 2023 @11:50AM (#34898438)
I can set my gigabyte laptop to Quiet mode and it's as good as fanless. As to the speed, I can play Doom Eternal with it (it has a mobile 3080 card), which M1 can't.
Re:Apple Orders Entire Supply of TSMC's 3nm Chips for iPhone... by geoffmac on Wednesday February 22, 2023 @12:49PM (#34899624)
So not fanless
Re:Apple Orders Entire Supply of TSMC's 3nm Chips for iPhone... by EVa5I7bHFq9mnYK on Thursday February 23, 2023 @05:09AM (#34908754)
From the point of view of quantum mechanics, if you can't hear the fan, it does not exist)
Re:Apple Orders Entire Supply of TSMC's 3nm Chips for iPhone... by piyh on Monday February 27, 2023 @05:14PM (#34962716)
As good as fanless is not fanless. I want to be able to put my laptop on top of the bed of dust and not have the interior be coated in a second.
Re:Apple Orders Entire Supply of TSMC's 3nm Chips for iPhone... by hbn on Wednesday February 22, 2023 @09:25AM (#34895986)
The first M1 devices released in November 2020.

Where is AMD's competitive chip that came out July 2021?

Re:Apple Orders Entire Supply of TSMC's 3nm Chips for iPhone... by smoldesu on Wednesday February 22, 2023 @10:33AM (#34897162)
AMD had the Ryzen 4800u shipping with a similar power envelope and higher multicore scores. Battery life was a good few hours shorter than the M1, but it was also manufactured on 7nm versus the Apple's 5nm. Performance tends to favor people on the denser node, so it's impressive to see x86 still competitive by modern standards.

If you need further evidence of this pattern, look at Nvidia's ridiculous 40-series cards. More expensive than a used car, but they were able to secure TSMC's 4nm node and annihilate everyone else. Apple did the same thing with M1, and it looks like that's what they're gearing up for with M3.

Re:Apple Orders Entire Supply of TSMC's 3nm Chips for iPhone... by wewtyflakes on Wednesday February 22, 2023 @11:37AM (#34898212)
Customers care about this:

> Battery life was a good few hours shorter than the M1

They do not care about this:

> ...but it was also manufactured on 7nm versus the Apple's 5nm

Re:Apple Orders Entire Supply of TSMC's 3nm Chips for iPhone... by smoldesu on Wednesday February 22, 2023 @04:01PM (#34902662)
I agree. It's worth noting that the 4800u was on store shelves 18 months before the first M1s were released, however. Apple Silicon was released into a market that had had already seen comparable APUs.
Re:Apple Orders Entire Supply of TSMC's 3nm Chips for iPhone... by freehorse on Wednesday February 22, 2023 @06:44PM (#34904778)
> similar power envelope

Power envelopes are reported in very misleading ways by companies, in practice it is not even close. The way they report stuff is having their cake and eat it too: the benchmarks results assume boosting their frequencies above the base one, while the "power envelopes" advertised are on the base frequency. It becomes quite apparent when you run them on battery, where M1/2s continue performing the same as plugged in, and amd/intel laptops underperform, while also not even lasting as much as apple's on battery.

Re:Apple Orders Entire Supply of TSMC's 3nm Chips for iPhone... by dragonelite on Wednesday February 22, 2023 @09:37AM (#34896197)
Yeah i guess its mostly apple buying up the most advance nodes capacity at TSMC. It should be interesting once Intel and AMD get on the same node level as Apple hardware then a comparison can be made.
Re:Apple Orders Entire Supply of TSMC's 3nm Chips for iPhone... by philistine on Wednesday February 22, 2023 @11:37AM (#34898210)
That will never happen. Apple has too much buying power. AMD and Intel don't make the most popular phone in the world, so they can't put down the money to compete for fab space.
Re:Apple Orders Entire Supply of TSMC's 3nm Chips for iPhone... by personjerry on Wednesday February 22, 2023 @09:18AM (#34895870)
What AMD-powered computer is more energy efficient than a M1 for example?
Re:Apple Orders Entire Supply of TSMC's 3nm Chips for iPhone... by zekica on Wednesday February 22, 2023 @09:38AM (#34896221)
Apple M1 Pro vs AMD 5800u - 2 months apart (October vs December 2021). 5nm vs 7nm TSMC. They have comparable performance (60-120% in multi core depending on the task, 90-110% in single core) and the same power draw.
Re:Apple Orders Entire Supply of TSMC's 3nm Chips for iPhone... by Cupprum on Wednesday February 22, 2023 @10:18AM (#34896893)
Where did you get those numbers? According to [1] its not even the same ballpark. To me it seems that even normal m1 is a bit better [2].

[1] - https://nanoreview.net/en/cpu-compare/apple-m1-pro-vs-amd-ry...

[2] - https://nanoreview.net/en/cpu-compare/apple-m1-vs-amd-ryzen-...

Re:Apple Orders Entire Supply of TSMC's 3nm Chips for iPhone... by coffeebeqn on Wednesday February 22, 2023 @09:20AM (#34895892)
What I really want is for them to release a lineup like Aerith - the super efficient Steam Deck SoC for the general market so we get more fun forms of computers
Re:Apple Orders Entire Supply of TSMC's 3nm Chips for iPhone... by moffkalast on Wednesday February 22, 2023 @09:38AM (#34896223)
Ayy lmao
Re:Apple Orders Entire Supply of TSMC's 3nm Chips for iPhone... by tambourine_man on Wednesday February 22, 2023 @10:42AM (#34897321)
Likewise, history will tell you we'll periodically see obnoxious hacker news comments claiming the M-series can’t possibly be better than what the x86 world has to offer.

We’ve been reading for decades that ISAs don’t matter that much anymore, and yet everything that needs good battery life is ARM. Intel was the undisputed manufacturing kind for 40 years or so. Things change.

Re:Apple Orders Entire Supply of TSMC's 3nm Chips for iPhone... by CoolGuySteve on Wednesday February 22, 2023 @01:02PM (#34899865)
I don't know, why did x86 beat PowerPC, MIPS, SPARC, and whatever else in the desktop and server space?

Seems like node size for the price beats everything else which is what we're talking about here.

Apple's anticompetitive practices are not particularly compelling evidence of some inherent architectural superiority.

Re:Apple Orders Entire Supply of TSMC's 3nm Chips for iPhone... by jacooper on Thursday February 23, 2023 @05:57AM (#34909026)
Also not mentioning the myriad of problems that comes with using Arm as you main PC
Re:Apple Orders Entire Supply of TSMC's 3nm Chips for iPhone... by cubefox on Wednesday February 22, 2023 @08:57AM (#34895519)
This comparison is somewhat disingenuous. Why would they compare 3nm to 5mm, when the current TSMC process is 4nm, not 5nm? We don't know how (un)impressive the improvements of the 3nm process are, when we don't know how much of the difference between 5nm and 3nm merely comes from the difference between between 5nm and 4nm.
Re:Apple Orders Entire Supply of TSMC's 3nm Chips for iPhone... by Tagbert on Wednesday February 22, 2023 @11:39AM (#34898244)
From what I have read, 4nm is not really a significant process change and is really just a variant of 5nm. There have been only minimal improvements in chips going form 5nm to 4nm as a result. 3nm really is different.
Re:Apple Orders Entire Supply of TSMC's 3nm Chips for iPhone... by cubefox on Wednesday February 22, 2023 @11:52AM (#34898468)
"There have been only minimal improvements in chips going form 5nm to 4nm as a result."

I'd like to see evidence for that, i.e. that the change from 4nm to 3nm offers significantly larger efficiency improvements than the change from 5nm to 4nm.

Re:Apple Orders Entire Supply of TSMC's 3nm Chips for iPhone... by lcvw on Wednesday February 22, 2023 @02:08PM (#34900976)
Those numbers are just for marketing. There is no feature on the chip that is actually 5 nm, 4 nm, or whatever.
Re:Apple Orders Entire Supply of TSMC's 3nm Chips for iPhone... by cubefox on Thursday February 23, 2023 @01:07PM (#34914140)
That's highly irrelevant for my point, which would still stand if the process generations were named differently.
Re:Apple Orders Entire Supply of TSMC's 3nm Chips for iPhone... by Tagbert on Wednesday February 22, 2023 @04:40PM (#34903282)
The chip industry articles I have seen say that 4nm is not mean fully smaller than 5nm and really can be just considered a version of 5nm. I don’t have the background to give you more than that but the message has been consistent across multiple tech writers.

You can see it in the smaller performance gains of 4nm A16 chips vs 4nm A15 chips from Apple.

Re:Apple Orders Entire Supply of TSMC's 3nm Chips for iPhone... by nindalf on Wednesday February 22, 2023 @09:05AM (#34895647)
This is power consumption of (some of) the chips alone. That's pretty good, but the power consumption of the screen, cell radio, bluetooth, accelerometer, microphone, GPS - all of these add up to more than the power consumption by the chip. And not all of them, especially not the screen is going to be affected by TSMC's process change.

Obviously there's many caveats here based on how each person uses their device. But the broad takeaway is - a 45% reduction in power consumption by Apple's chips doesn't result in a corresponding increase in battery life. We'll only know when the final product is shipped.

Re:Apple Orders Entire Supply of TSMC's 3nm Chips for iPhone... by SpacePortKnight on Wednesday February 22, 2023 @12:01PM (#34898629)
Do you have a link which shows the power consumption of all the components you mentioned?

I've seen this comment over and over again, everytime an increase in processor efficiency is talked about and yet those gains usually do result in a very noticiable improvement on battery life.

Re:Apple Orders Entire Supply of TSMC's 3nm Chips for iPhone... by nindalf on Wednesday February 22, 2023 @12:59PM (#34899793)
No, it will have a massive impact on battery life. I only meant to say, a 50% decrease in consumption by CPU doesn't translate to doubling the battery life. All those other things matter too, so maybe it translates to 20-30% more. That's still massive!
Re:Apple Orders Entire Supply of TSMC's 3nm Chips for iPhone... by ytch on Wednesday February 22, 2023 @09:15AM (#34895832)
I've heard that (I'm not experts on this, so correct me if i am wrong) making SRAM is huge different than making processing units (ALU, FPU or others). But CPU needs both SRAM and processing units. Marking always show best case only, therefore the final product won't as good as the marketing numbers.
Re:Apple Orders Entire Supply of TSMC's 3nm Chips for iPhone... by brailsafe on Wednesday February 22, 2023 @09:33AM (#34896132)
It'll help make the lightest and smallest devices even more capable than any other competing laptop. After using my work issued 16" M2 Pro, my 2019 intel mbp is crawlin slow, particularly with Docker. Build times can always be faster, battery life always better, cooling efficiency better.

The real life luxury of just being able to toss a 14" macbook pro that weighs almost nothing into your bag and have a savage development machine with up to 96gb of ram, no fan noise and minimal heat, great battery life, is very valuable.

I've started noticing all the processes that really bog my intel mac down. Indexing, running out of ram, builds, etc.. I was pretty pessimistic about macs for a while, but it feels right now like when they started putting retina displays in them. My previous mac couldn't even smoothly play a 1080p YouTube video very well.

Re:Apple Orders Entire Supply of TSMC's 3nm Chips for iPhone... by Loveaway on Wednesday February 22, 2023 @10:09AM (#34896736)
Similar for me, caved in and bought a M2. It's great and all, gotta say though, not entirely happy with how unbearable the 2019 intel mbp has become.

Yeah, it struggles with YouTube videos and fans are spinning in vacuum cleaner mode. But it didn't in 2019. I feel OS and software updates ruined it. Not what I expect after only about 3 years of use. (obviously it wasn't cheap either)

Oh well, still gave Apple my money, just hope it's a special situation with the chipset transition and not the regular lifespan from now on.

Re:Apple Orders Entire Supply of TSMC's 3nm Chips for iPhone... by tambourine_man on Wednesday February 22, 2023 @10:48AM (#34897422)
What browser are you running? My 2017 Mac runs 4k YouTube videos without a glitch in Safari.
Re:Apple Orders Entire Supply of TSMC's 3nm Chips for iPhone... by coldcode on Wednesday February 22, 2023 @12:05PM (#34898700)
I prefer to use Brave to watch Youtube; it skips most of the ads automatically.
Re:Apple Orders Entire Supply of TSMC's 3nm Chips for iPhone... by brailsafe on Thursday February 23, 2023 @03:41PM (#34916187)
* * *
Re:Apple Orders Entire Supply of TSMC's 3nm Chips for iPhone... by cassianoleal on Wednesday February 22, 2023 @11:04AM (#34897694)
It's worth it being aware that charging those 2019 Intel Macs from the right-hand-side USB-C ports will cause them to overheat and get thermal throttled.

Not saying you're doing that or that they are otherwise great machines (they're not) but they can go from being a steak grill back to being a relatively serviceable computer just by switching the charging port.

Re:Apple Orders Entire Supply of TSMC's 3nm Chips for iPhone... by TexanFeller on Wednesday February 22, 2023 @06:34PM (#34904662)
> charging those 2019 Intel Macs from the right-hand-side USB-C ports will cause them to overheat and get thermal throttled.

Pretty sure you have it backwards, it's charging from the _left_ that causes more throttling.

Re:Apple Orders Entire Supply of TSMC's 3nm Chips for iPhone... by meindnoch on Wednesday February 22, 2023 @09:58AM (#34896545)
For the first year or so, the experience of using these 3nm machines will be unparalleled. Then after most devs switched to using M3 Macs, app performance will regress back to the baseline, making everything slow on M1/M2 machines, and basically unusable on Intel Macs. Paraphrasing the old saying: "What TSMC giveth, Electron taketh"
Re:Apple Orders Entire Supply of TSMC's 3nm Chips for iPhone... by ChrisRR on Wednesday February 22, 2023 @10:03AM (#34896621)
As an embedded developer I'm always surprised that physicists and engineers spend decades pushing the limits of physics, for software devs to come along and make text editors no faster than they were on Windows 3.1
Re:Apple Orders Entire Supply of TSMC's 3nm Chips for iPhone... by meindnoch on Wednesday February 22, 2023 @10:21AM (#34896945)
>no faster

In terms of latency it's usually slower by an order of magnitude.

There should be a law that mandates developers to use at least two generations older hardware than the average consumer.

Re:Apple Orders Entire Supply of TSMC's 3nm Chips for iPhone... by totetsu on Wednesday February 22, 2023 @10:30AM (#34897098)
I want my ps2 keyboard port back
Re:Apple Orders Entire Supply of TSMC's 3nm Chips for iPhone... by marcosdumay on Wednesday February 22, 2023 @11:43AM (#34898299)
USB doesn't have to be this slow. Some slowness is required, but not this much. (And USB3 doesn't have to be slower than PS2.)

What we get is a result of nobody on the entire stack giving a shit. It's not a technological limitation.

Re:Apple Orders Entire Supply of TSMC's 3nm Chips for iPhone... by toast0 on Wednesday February 22, 2023 @11:48AM (#34898388)
ps2 keyboard/mouse support is still there on modern x86; but you have to carefully shop for motherboards. And if you also want a ps2 mouse, you'll probably need a splitter, 2x ps2 ports on a single board seems to be no longer available.
Re:Apple Orders Entire Supply of TSMC's 3nm Chips for iPhone... by ticviking on Wednesday February 22, 2023 @12:17PM (#34898956)
Doing development work on a 10 year old ThinkPad dramatically changed how I think about performance in my software.

With a tiny bit of attention to performance you can do insane things

Re:Apple Orders Entire Supply of TSMC's 3nm Chips for iPhone... by neatze on Wednesday February 22, 2023 @10:11AM (#34896772)
Why it is so surprising, when delivery of product/solution in most cases prioritized over quality/efficiency to very large degree, eg. good enough delivery in 3 month is more profitable, then perfect product in year or so.
Re:Apple Orders Entire Supply of TSMC's 3nm Chips for iPhone... by papruapap on Wednesday February 22, 2023 @10:43AM (#34897331)
Can we stop the hyperboling? The amount of multitasking we can do on consumer computers today is nowhere close what is what possible only 10 years ago.

About text editors... you can use blazing fast editors if you want like cli-base ones, notepad++ or sublimetext... If devs are not using those to code anymore there may be reasons, right?

Re:Apple Orders Entire Supply of TSMC's 3nm Chips for iPhone... by pietroq on Wednesday February 22, 2023 @11:09AM (#34897771)
Fun fact: Turbo Pascal was 38KB and that included the editor, compiler and debugger. It was lightning fast, compiling 10s of kSLOC in mere seconds on a 4.77MHz single-thread 8088 with 640KB of RAM. Now to build a Hello World full stack web app it can take 10+ minutes on a modern PC with 4GHz 16 core CPU and 64GB of RAM :)
Re:Apple Orders Entire Supply of TSMC's 3nm Chips for iPhone... by shepherdjerred on Wednesday February 22, 2023 @11:30AM (#34898116)
> Now to build a Hello World full stack web app it can take 10+ minutes on a modern PC with 4GHz 16 core CPU and 64GB of RAM :)

That's a bit of an exaggeration. What stack's hello world takes 10 minutes to build?

Re:Apple Orders Entire Supply of TSMC's 3nm Chips for iPhone... by grogenaut on Wednesday February 22, 2023 @12:45PM (#34899524)
depending on your network, `npx create-react-app --template typescript` might take 10-15 minutes easily.
Re:Apple Orders Entire Supply of TSMC's 3nm Chips for iPhone... by shepherdjerred on Wednesday February 22, 2023 @10:22PM (#34906316)
Well, yes, given an infinitely slow network any action depending on the network can take an infinite amount of time.

Since the discussion is around CPU hardware improvements, I don't think network speeds are too relevant.

Re:Apple Orders Entire Supply of TSMC's 3nm Chips for iPhone... by grogenaut on Friday February 24, 2023 @07:16PM (#34932182)
but isn't it? We've moved a ton of the compute to using the network and I think that makes things a lot slower than they need to be... and a lot less optimized. And along with that, since we have essentially infinite storage we havne't gotten good at trimming the fat... this is yet another thing that steals from our compute.
Re:Apple Orders Entire Supply of TSMC's 3nm Chips for iPhone... by andreigheorghe on Wednesday February 22, 2023 @11:21AM (#34897975)
cool story, now try writing a "Hello World full stack web app" in turbo pascal.
Re:Apple Orders Entire Supply of TSMC's 3nm Chips for iPhone... by yborg on Wednesday February 22, 2023 @11:31AM (#34898129)
And another Youtube video is born...
Re:Apple Orders Entire Supply of TSMC's 3nm Chips for iPhone... by tokinonagare on Wednesday February 22, 2023 @02:38PM (#34901426)
It's actually quite easy if you can find a networking library: bind and listen on a socket on port 80, read text until you get GET / HTTP/1.1, discard whatever comes after, write back a response containing "Hello World" in the correct format (few lines of text) and that's it! A new full stack web app is born.
Re:Apple Orders Entire Supply of TSMC's 3nm Chips for iPhone... by PragmaticPulp on Wednesday February 22, 2023 @12:01PM (#34898627)
> Now to build a Hello World full stack web app it can take 10+ minutes on a modern PC with 4GHz 16 core CPU and 64GB of RAM :)

You’re doing something extremely wrong if this is the case.

Or more likely, the people complaining about “10 minute” web app compile times are just repeating hyperbole they found in other cynical comments.

Re:Apple Orders Entire Supply of TSMC's 3nm Chips for iPhone... by prophesi on Wednesday February 22, 2023 @01:55PM (#34900755)
Compiling a web app takes seconds as well. The common complaint is the resources needed to run the app as a consumer, particularly when most of the apps you use are all instances of chromium.
Re:Apple Orders Entire Supply of TSMC's 3nm Chips for iPhone... by user3939382 on Wednesday February 22, 2023 @12:08PM (#34898764)
In many cases developer resources are more expensive than hardware or network resources and the decreased efficiency of modern software reflects that.

We can all agree software is not as resource efficient as it used to be on the whole.

Beyond that we’d have to discuss specific examples and benchmarks.

Re:Apple Orders Entire Supply of TSMC's 3nm Chips for iPhone... by cosmojg on Wednesday February 22, 2023 @12:46PM (#34899536)
I'm simultaneously grateful that we value developer time and wellbeing over software performance and appalled that we too often forget the relationship between software performance and developer time and wellbeing.
Re:Apple Orders Entire Supply of TSMC's 3nm Chips for iPhone... by a_wild_dandan on Wednesday February 22, 2023 @01:50PM (#34900672)
I almost exclusively use "glutenous" apps (browser, VSCode, Spotify, Discord, etc.) and have yet to experience these Electron performance issues decried in HN comment crusades. Everything is perfectly snappy. Ditto for my acquaintances. The ROI on these optimizations likely wouldn't matter for the overwhelming majority of folk.

I could be wrong. I often am. But I suspect that Electron consumes far more resources in the minds of HN users than it does in most computers.

Re:Apple Orders Entire Supply of TSMC's 3nm Chips for iPhone... by Strom on Wednesday February 22, 2023 @06:20PM (#34904512)
It's possible you and your acquaintances can't tell. Similarly some people claim they can't tell a difference between a 720p video and higher. Or that they can't tell a difference between 128 kbps CBR MP3 and higher.

However the differences are real and have been measured. [1] [2] You are welcome to argue that the performance work isn't worth prioritizing, but don't fall into the trap of claiming the performance gap doesn't exist.

--

[1] https://pavelfatin.com/typing-with-pleasure/

[2] https://danluu.com/input-lag/

Re:Apple Orders Entire Supply of TSMC's 3nm Chips for iPhone... by mrguyorama on Wednesday February 22, 2023 @01:13PM (#34900065)
My 2006 Vista machine, with two cores at 2.6ghz quite simply multitasked better than my current ryzen 5 3600 based machine. The one simple reason why is that all the programs I ran on that machine were native, while all the apps we run nowadays are blobs of javascript in a dumb chrome window.

Eclipse ran better on my $600 laptop in 2012 than pycharm runs on my 6 core 2019 macbook. Also, on my macbook, high cpu activity causes constant pops in my audio, which is just a thing that happens with macbooks that people just ignore apparently.

Re:Apple Orders Entire Supply of TSMC's 3nm Chips for iPhone... by redsaz on Wednesday February 22, 2023 @02:16PM (#34901084)
My recollection of Vista was that everybody was complaining of its performance compared to XP because so much switched to .net-based apps, slogging everything down. It wasn't until Win7 that everybody was happy (it could even run on netbooks).
Re:Apple Orders Entire Supply of TSMC's 3nm Chips for iPhone... by jiggawatts on Wednesday February 22, 2023 @03:00PM (#34901746)
The new Notepad on Windows struggles to open files just a few hundred MB in size and visibly stutters and freezes when doing not much on a high end gaming PC.

It is apparently an iron law of the Universe that all available computer pier must be wasted.

Re:Apple Orders Entire Supply of TSMC's 3nm Chips for iPhone... by fennecfoxy on Friday February 24, 2023 @07:09AM (#34923678)
I'd say that's _because_ it's an old app that hasn't been rewritten ground up to take advantage of modern hardware resources.
Re:Apple Orders Entire Supply of TSMC's 3nm Chips for iPhone... by jiggawatts on Tuesday February 28, 2023 @05:39AM (#34967843)
I'm talking about the NEW Notepad, which has been rewritten from the ground up to waste modern hardware resources.
Re:Apple Orders Entire Supply of TSMC's 3nm Chips for iPhone... by LeBit on Friday February 24, 2023 @08:07AM (#34924080)
Typing in Obsidian is often excruciatingly slow. It is an electron app.

Typing in Sublime Text is always fast. Except for the first line which is the title of the tab. After that, it is fast.

I often switch to ST to type, then copy and paste to the slow app.

It's kinda nuts.

Re:Apple Orders Entire Supply of TSMC's 3nm Chips for iPhone... by dangus on Wednesday February 22, 2023 @10:31AM (#34897136)
I wonder if there's a baseline for cynical comments about application performance?

Because it sure seems like this exact comment is a tinnitus-like constant ringing noise amongst the tech community.

Re:Apple Orders Entire Supply of TSMC's 3nm Chips for iPhone... by brundolf on Wednesday February 22, 2023 @11:53AM (#34898490)
It's really just HN
Re:Apple Orders Entire Supply of TSMC's 3nm Chips for iPhone... by rcarr on Wednesday February 22, 2023 @10:46AM (#34897381)
The rust community seem to be leading the fightback on this but I think it'll be about 5 years before there's a big switch over. If I owned a popular electron app, I would definitely be thinking about starting to write a Rust version or migrating to Tauri because if you're not then somebody will be. Once that Rust version hits feature parity with your core functionality people will end up jumping ship for the faster, shinier version, just like people jumped ship from Atom to VSCode. Big Electron hitters like the aforementioned VSCode seem to be banking on people switching over to cloud which I'm not sure I see the majority doing. I find the UX of using VSCode in the browser not that great.

I'm already in the minority because I do all my work in Sublime Text so I might be completely wrong about all this, but this is how I suspect it will play out.

Re:Apple Orders Entire Supply of TSMC's 3nm Chips for iPhone... by LeanderK on Wednesday February 22, 2023 @11:19AM (#34897955)
I find VSCode to be responsive and snappy and I am on older hardware (Mid 2014 macbook pro). I don't go overboard with thousands of extensions though, but I like the flexibility and use a few "more heavy" extensions like the jupyter extension. I have to say I am very satisfied by my editor and I can not really understand the VSCode hate.

But I only use python and no demanding software like docker.

Re:Apple Orders Entire Supply of TSMC's 3nm Chips for iPhone... by PragmaticPulp on Wednesday February 22, 2023 @12:05PM (#34898699)
> If I owned a popular electron app, I would definitely be thinking about starting to write a Rust version or migrating to Tauri because if you're not then somebody will be. Once that Rust version hits feature parity with your core functionality people will end up jumping ship for the faster, shinier version, just like people jumped ship from Atom to VSCode.

Sublime Text was always faster than all of these (and still is) but that’s not why people are picking text editors.

Tauri is great for certain use cases but it’s not even close to a replacement for Electron at this point (having used both).

Optimizing for speed above all else is the kind of thing that appeals to a subset of programmers, but most people just don’t care about at all as long as it’s fast enough. Products like VSCode are more than fast enough for all but a few people who like to count milliseconds.

Re:Apple Orders Entire Supply of TSMC's 3nm Chips for iPhone... by rcarr on Wednesday February 22, 2023 @01:42PM (#34900531)
> Sublime Text was always faster than all of these (and still is) but that’s not why people are picking text editors.

Personally, I think VSCode has massive adoption because it's free and it's easiest to configure which both appeal to newcomers. The other camp that like VSCode are the nomads who like to work in the cloud. The senior devs I've met generally prefer either Jetbrains or Sublime, depending on if they like a maximal or minimal setup. And then there's the hardcore camp who can get on with Vim and Emacs. I don't know how the latter do it personally, I've tried multiple times to get something similar in functionality to Sublime/VSCode with them and it is always a monumentally frustrating fuck about.

> Tauri is great for certain use cases but it’s not even close to a replacement for Electron at this point (having used both).

I agree but it will definitely be ready within 5 years.

> Optimizing for speed above all else is the kind of thing that appeals to a subset of programmers, but most people just don’t care about at all as long as it’s fast enough. Products like VSCode are more than fast enough for all but a few people who like to count milliseconds.

I do agree with this to an extent but another reason I'm a big Sublime Text fan is the interface. I really appreciate the lack of screen clutter compared to VSCode and especially compared to Jetbrains.

Re:Apple Orders Entire Supply of TSMC's 3nm Chips for iPhone... by Strom on Wednesday February 22, 2023 @06:39PM (#34904719)
> most people just don’t care about at all as long as it’s fast enough

People care about speed. Even non-technical people. Every non-technical person I know that has bought a new computer even though they already had one was because of performance. People care about performance so much that they are replacing their whole device! That costs a significant amount of money and comes with a real hassle of transferring their data.

I think people use VSCode over Sublime because of its features, not because they don't care about the speed. It's certainly what got me to migrate from Sublime to VSCode. Sublime is so much faster, but it just doesn't do the things that I want my editor to do. I would instantly switch away from VSCode to a faster alternative if it actually had the subset of VSCode features I care about.

Re:Apple Orders Entire Supply of TSMC's 3nm Chips for iPhone... by rcarr on Thursday February 23, 2023 @03:35PM (#34916116)
What can’t you get Sublime to do that VSCode can? I’m intrigued because I went the other way from VSCode to Sublime
Re:Apple Orders Entire Supply of TSMC's 3nm Chips for iPhone... by Strom on Friday February 24, 2023 @07:22AM (#34923753)
An example of a feature I use very frequently would be find in files. Sublime does sort of have this, but the ergonomics are worlds apart.

In VSCode the search gets refined as I type, the results are in a sidepanel and clicking on a result will change the main editor's view to that location in that file.

In Sublime I have to first define which files are even subject to the search. There are options to add folders or to search all currently open files, however a bizarre omission of searching all the files in the currently open project, which is what I almost always want and how VSCode works by default.

Then I have to type out the search term, which is sometimes needlessly precise - because in VSCode thanks to the incremental search I sometimes already see that there are no results or just a few results when I've typed in only a small prefix of what I was going to.

Once the search is done, in Sublime the results are opened as a pseudo-file in a new tab and clicking on a result switches away to a different file tab. It works, sure, but it's very inconvenient for cases where I want to quickly click through a bunch of resulting files to see which is the one I actually wanted. Lots of switching back-and-forth between file tabs, as opposed to VSCode where it's all done in a single view context with the results always visible in the sidepanel. This is especially annoying in Sublime when a search result is in a file that I already have open but is very far from the search result pseudo-file tab. This means that to get back to the search results I can't even just switch the file tab, I need to first scroll through the open files tabs to even find the pseudo-file.

So in short, I guess I would describe Sublime's search as a sort of middle point between using grep and VSCode. It's serviceable, but annoying and wastes my time.

Re:Apple Orders Entire Supply of TSMC's 3nm Chips for iPhone... by rcarr on Friday February 24, 2023 @08:50AM (#34924460)
> In Sublime I have to first define which files are even subject to the search. There are options to add folders or to search all currently open files, however a bizarre omission of searching all the files in the currently open project, which is what I almost always want and how VSCode works by default.

Sublime 100% does this because I use it everyday. You just have to use command + shift + f, type whatever you want and hit enter and it will search all files in the open project by default. Only time it won't do this is if there's something in the "where" input from a previous search.

I find the VSCode search results packed in like sardines and like the greater amount of context you with Sublime tab which generally means I get to find what I'm looking for without having to click through to check. I've got a keyboard shortcut set to jump between the entries which makes it feel a bit snappier to cycle through results as well. All personal preference at the end of the day though.

Re:Apple Orders Entire Supply of TSMC's 3nm Chips for iPhone... by ozarker on Wednesday February 22, 2023 @12:26PM (#34899157)
5 years sounds optimistic
Re:Apple Orders Entire Supply of TSMC's 3nm Chips for iPhone... by rcarr on Wednesday February 22, 2023 @01:28PM (#34900309)
You've got stuff like the following that are coming along nicely so might not be as far down the road as you think:

- https://zed.dev/releases

- https://lapce.dev

Re:Apple Orders Entire Supply of TSMC's 3nm Chips for iPhone... by circuit10 on Wednesday February 22, 2023 @12:39PM (#34899409)
I don’t see why Tauri would necessarily be faster, from what I understand the main difference is that it uses a browser bundled with OS where possible but that’s not necessarily a faster browser than Chromium
Re:Apple Orders Entire Supply of TSMC's 3nm Chips for iPhone... by rcarr on Wednesday February 22, 2023 @01:58PM (#34900819)
https://tauri.app/v1/references/benchmarks/

I will admit there doesn't seem to be as much in it as I thought there was.

Re:Apple Orders Entire Supply of TSMC's 3nm Chips for iPhone... by creatable on Wednesday February 22, 2023 @05:15PM (#34903726)
Tauri is not inherently faster. On the largest platform (Windows), Tauri scores similar performance numbers to Chromium. Why? Because it's still Blink under the hood, since the system browser is Edge.

The instances in which Tauri is faster are when you write your business logic in Rust and your frontend logic in JS.

Simply switching to Tauri will not instantly speed up your app.

Re:Apple Orders Entire Supply of TSMC's 3nm Chips for iPhone... by LeanderK on Wednesday February 22, 2023 @11:12AM (#34897827)
I use a mid 2014 MacBook pro. I spend my days in vscode, a terminal and safari. So far it's still going strong. It's sometimes laggy, of course, and the battery life is really bad, but in general it's still a machine that can be worked with.
Re:Apple Orders Entire Supply of TSMC's 3nm Chips for iPhone... by rcarr on Wednesday February 22, 2023 @01:52PM (#34900698)
Last November, I went from a Late 2013 MacBook Pro to an M1 MacBook Pro and it's phenomenal. Sure, I could get by on the Late 2013 but everything is so much better on the new one, I would hate to go back. I can easily code for an entire day now without having to worry about charging, makes a massive difference if you work outside the house a lot. I'm even thinking of upgrading again whenever these M3s come out because the performance and energy efficiency increases sound nuts. My advice would be to upgrade whenever you can. Even just 'little' things like being able to highlight and copy text out of photos and screenshots make it a vastly better experience.
Re:Apple Orders Entire Supply of TSMC's 3nm Chips for iPhone... by LeanderK on Wednesday February 22, 2023 @03:50PM (#34902502)
I would love to upgrade, the short battery life is just really immensely frustrating because I need my laptop a lot outside the house too. And it is often slow, especially with too many tabs open. But it's way too much money for me right now. My comment was more a reply to:

> Then after most devs switched to using M3 Macs, app performance will regress back to the baseline, making everything slow on M1/M2 machines, and basically unusable on Intel Macs

which I felt can't be true because my laptop is ancient by modern standards but still usable. Not as snappy as I would like it to be, but also not terrible or unusable.

Re:Apple Orders Entire Supply of TSMC's 3nm Chips for iPhone... by skybrian on Wednesday February 22, 2023 @11:47AM (#34898384)
This doesn’t make sense. VS Code works fine on a 2010 iMac that’s so old that Apple doesn’t support the OS anymore.

I’m starting to see less software support, though. I should put Linux on it.

Re:Apple Orders Entire Supply of TSMC's 3nm Chips for iPhone... by PragmaticPulp on Wednesday February 22, 2023 @11:59AM (#34898579)
> Then after most devs switched to using M3 Macs, app performance will regress back to the baseline, making everything slow on M1/M2 machines, and basically unusable on Intel Macs.

This is one of those HN comments that has me feeling like I live in a different world than the commenter. What Electron apps are you using that are really that slow? I use several of the popular Electron and CEF apps on a daily basis and everything is fast.

The exceptions are anything that loads over a network. Spotify, Slack, and others can feel “slow” when the content is loading from a backend over the internet, but obviously that’s not the fault of the UI

Re:Apple Orders Entire Supply of TSMC's 3nm Chips for iPhone... by ticviking on Wednesday February 22, 2023 @12:20PM (#34899005)
When was the last time you used them on a $200 laptop like your cousin picked up cheap to take to college?

Or tried to help students use an electron IDE on a computer with 8Gb and a 2 ghz 10 year old processor that their dad saved to buy secondhand to help his kid not need to work overtime at the factory to keep food on the table?

Electon is only fast on developer and gamer tier hardware.

Try running this stuff on the hardware steam says is the average gamer and see how fast it actually feels.

Re:Apple Orders Entire Supply of TSMC's 3nm Chips for iPhone... by ihateolives on Wednesday February 22, 2023 @10:52PM (#34906543)
Having used second hand laptops almost exclusively for 20 years and having helped friends to do the same I'm pretty confident saying that 90% of the time the slowness is botched Windows installation and the lack of computer hygiene. Not always, but in overwhelmingly majority of cases.
Re:Apple Orders Entire Supply of TSMC's 3nm Chips for iPhone... by mrguyorama on Wednesday February 22, 2023 @01:16PM (#34900120)
Do you reboot every day?
Re:Apple Orders Entire Supply of TSMC's 3nm Chips for iPhone... by nemetroid on Wednesday February 22, 2023 @04:50PM (#34903422)
When i switch back and forth between two channels in Slack, it takes a noticeable amount of time. I’d say 300-400 ms or so. Is it significantly faster for you, or do you consider that to be fast?
Re:Apple Orders Entire Supply of TSMC's 3nm Chips for iPhone... by LeBit on Friday February 24, 2023 @08:09AM (#34924093)
Obsidian.
Re:Apple Orders Entire Supply of TSMC's 3nm Chips for iPhone... by andrei_says_ on Wednesday February 22, 2023 @08:07PM (#34905468)
I know this is a joke but I’ve heard many variations and - how does Electron taketh?

Is the codebase getting de-optimized with time? Is it badly architectures extensions? Is the JS runtime becoming slower?

Re:Apple Orders Entire Supply of TSMC's 3nm Chips for iPhone... by fennecfoxy on Friday February 24, 2023 @07:15AM (#34923718)
I think it's proliferation as well. If I look at what I'm using day to day: VSCode, Postman, Slack, Teams, Spotify are usually all open; they're all Electron.

People definitely don't optimise their Electron apps as well as they could for time reasons, normally not too bad if you're running 1 Electron app, but if you're running several then it becomes more obvious.

Tbh it's a old/new software design principle I guess. We all hear the stories of some 386 machine in the basement running some fortran program that hasn't been touched in years; whereas modern JS-based codebases are expected to be constantly updated. I've worked in JS my whole career & it's very rare to see a project that's one & done like software used to be.

Maybe old software did get updated, but in long release cycles, version 1, 1.1 etc. Now JS-based software is updated (sometimes) every day!

Re:Apple Orders Entire Supply of TSMC's 3nm Chips for iPhone... by hajile on Wednesday February 22, 2023 @10:04PM (#34906201)
I think TSMC N3 will be underwhelming. It offers a shrink of logic transistors, but ZERO shrink to SRAM meaning one of Apple's biggest advantages (massive caches) isn't going to have much room to improve.