by em500 · 6y ago · 0 comments
The crazy thing is that both M1 MacBooks still had 91% battery left after the compile, vs 61% on the 16-inch Pro and 24% on the 13-inch Intel Pro.
[1] https://techcrunch.com/2020/11/17/yeah-apples-m1-macbook-pro... -> "Compiling WebKit"
It's worth noting that cross-compiling is definitely harder in many ways, because you can't always evaluate constant expressions easily at compile-time in the same way your runtime code will, etc, too, and have to jump through hoops.
jar% time x86_64-linux-gnu-gcc --std=c99 -O3 -c insgps14state.c -I inc -I ../../shared/api
x86_64-linux-gnu-gcc --std=c99 -O3 -c insgps14state.c -I inc -I 0.97s user 0.02s system 99% cpu 0.992 total
jar% time x86_64-linux-gnu-gcc --std=c99 -O3 -c insgps14state.c -I inc -I ../../shared/api
x86_64-linux-gnu-gcc --std=c99 -O3 -c insgps14state.c -I inc -I 0.93s user 0.03s system 99% cpu 0.965 total
jar% time x86_64-linux-gnu-gcc --std=c99 -O3 -c insgps14state.c -I inc -I ../../shared/api
x86_64-linux-gnu-gcc --std=c99 -O3 -c insgps14state.c -I inc -I 0.94s user 0.01s system 99% cpu 0.947 total
jar% time x86_64-linux-gnu-gcc --std=c99 -O3 -c insgps14state.c -I inc -I ../../shared/api
x86_64-linux-gnu-gcc --std=c99 -O3 -c insgps14state.c -I inc -I 0.92s user 0.04s system 99% cpu 0.955 total
jar% time arm-linux-gnueabihf-gcc --std=c99 -O3 -c insgps14state.c -I inc -I ../../shared/api
arm-linux-gnueabihf-gcc --std=c99 -O3 -c insgps14state.c -I inc -I 1.43s user 0.03s system 99% cpu 1.458 total
jar% time arm-linux-gnueabihf-gcc --std=c99 -O3 -c insgps14state.c -I inc -I ../../shared/api
arm-linux-gnueabihf-gcc --std=c99 -O3 -c insgps14state.c -I inc -I 1.46s user 0.03s system 99% cpu 1.486 total
jar% time arm-linux-gnueabihf-gcc --std=c99 -O3 -c insgps14state.c -I inc -I ../../shared/api
arm-linux-gnueabihf-gcc --std=c99 -O3 -c insgps14state.c -I inc -I 1.55s user 0.04s system 99% cpu 1.587 total
jar% time arm-linux-gnueabihf-gcc --std=c99 -O3 -c insgps14state.c -I inc -I ../../shared/api
arm-linux-gnueabihf-gcc --std=c99 -O3 -c insgps14state.c -I inc -I 1.44s user 0.03s system 99% cpu 1.471 totalI used to work at intel, and no one I knew there thought ISA mattered at all. That’s just a few people though, so I’m curious if people think there’s something better or worse about the different ISAs as a technology in their own right, or if it’s more about the business interests behind them that matters.
This is not the difference between x86 and ARM -- it's the difference between Intel's team and Apple's (also AMD's). You don't see Qualcomm being competitive even though they also use ARM.
But I would also be a little wary, because ARM systems are way more locked down than x86 systems today.
Intel dying would free up resources for development by other companies.
You fail to realize that this isn't like 3D printing, or other low volume manufacturing. You can't just setup a 100nm Si lithography lab in your spare room and churn out RISC-V chips.
In 5 years - realistically we will have a few high performance(non-mobile) ARM chips manufactured at economic scale. Any other type of disruption would require Intel and AMD to fail and relinquish the supply side capacity... or China investing billions into new chipmaking facilities now.(it takes a few years to build that capacity)
The lithography companies actually have to talk about the measures they take to stop China from stealing their IP on their earnings calls.
China is a manufacturing hub, but its (often government backed) chip companies run low-margin businesses that don't make enough money to invest heavily in R&D. Go look at Apple or Qualcomm's gross margins and compare them to Huawei or Xiaomi.
Instead, they should set up two groups: one to generate new architectures for desktop and server, and another to take the best features of those architectures and make them thermally efficient for use in laptops. The development of these two products should be unconstrained by time, because as we have seen, impossible deadlines delay the possible.
In the past 10 years, most of the chips that amaze me have simply done what was already possible, just with enough thermal efficiency that they can be placed in mobile devices.
Intel dying would be horrible for the world. They have so much institutional knowledge...
With only a completely new/different architecture getting those advances back?
Apple is one of the most capitalistic companies out there, they want you to buy new stuff and they'll try everything they can to force users to upgrade sooner or later
The story is this: a friend of mine is a well respected illustrator and he has been a long time Mac user (at least since I remember)
Few days ago he asked me advices about a new laptop and he asked for a PC because "new Mac OS will not work with my Photoshop version"
He owns a license for Photoshop 6, payed for it and has no need to uograde, especially to the new subscription based licensing
MacOS Sierra doesn't even work with Photoshop CS6
The only option he had to keep using something he owned was to switch platform (Adobe allows platform change upon request)
End of story.
Backwards compatibility has no value until you need it.
Just like an ambulance or a pacemaker.
Uh, I'm guessing you mean CS6 rather than Photoshop 6, the program that came out in 2000.
In any case, Adobe's help page[1] currently reads, "As Creative Suite 6 is no longer sold or supported, platform or language exchanges are not available for it." Since they're certainly not selling or supporting versions older than CS6, it's unlikely your friend is going be able to keep Photoshop CS6 by buying a new PC laptop. (And he sure as hell ain't gonna be able to get a copy of Photoshop 6 to run on Windows 10.)
> Apple is one of the most capitalistic companies out there, they want you to buy new stuff and they'll try everything they can to force users to upgrade sooner or later
That's not wrong, but s/Apple/Adobe and the sentiment is still true. I suppose he'll save money if he gets a cheaper-than-Apple PC laptop, but I don't think he's gonna avoid paying for Creative Cloud.
[1] https://helpx.adobe.com/x-productkb/policy-pricing/exchange-...
It launches on Mojave as well, so I'm pretty sure it works, but I haven't personally used it for any length of time. Catalina is what killed it.
IMO, backwards compatibility in OSX/macOS was perfectly decent for a long time. Most software compiled for Intel that wasn't doing something weird continued to chug on, frequently with significant glitches but not to the point where the software was unusable. Then in Catalina Apple just gave up or something.
The more charitable view is that by not being wedded to backwards compatibility they can make their ecosystem stronger, faster.
See https://medium.learningbyshipping.com/apples-relentless-stra... for some discussion of those tradeoffs.
Twice as fast, using 1/10th the battery life.... and that’s for a part that costs Apple $70 instead of, what, $400?