Hacker News new | past | comments | ask | show | jobs | submit login

I'm no fanboy (but, admittedly, a Mac user), but this was a pretty rough comparison.

Linux can't make use of half of the specialized chips and functions in the M2.

I suppose, if someone needed an article to learn that M2 hardware isn't needed for linux, you have your confirmation. But was that ever in question?




What do you mean by specialised chips and functions? The tests here are running pretty generic code where there's no M2 magic that could speed them up. The unsupported hardware in Asahi currently is just extra hardware, not the basic CPU operation.

Then again, there are some features supported by Asahi but not macos https://twitter.com/marcan42/status/1556297295838453760


My understanding is that using the XCode compiler and libraries means that your could could very much wind up using co-processors that other compilers and codebases aren't aware of and aren't able to take advantage of.


Absolutely not. The M architecture with their Firestorm and Icestorm cores are basically a big.LITTLE architecture. Some cores are made for low power, energy efficient work with a lower frequency, while others are made to run at full blast. There are no magic coprocessors to run on.

The goal of the benchmark is to run the two exact same binaries, not to make one that uses all of Apple's ARM extensions and one with AVX-512 to see who can go fastest in the best conditions.


This isn't strictly true. Apple has other co-processors and some custom instructions (eg, matrix instructions). If you use their compiler and code, they can offload some calls to these while if you used another compiler and different libraries, these co-processors will be completely unused in all cases.


Using clang won't get you any of those things. Autovectorization is mostly mythical.

Calling into a system BLAS library might, but most benchmarks wouldn't do that.




Consider applying for YC's Spring batch! Applications are open till Feb 11.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: