News for hackers. Stuff that matters.
Re:Windows for Arm on M1 Mac Successfully Virtualized by amelius on Friday November 27, 2020 @04:46PM (#25232846)
> In the meantime, it’s almost embarrassing for the rest of the industry just how far ahead Apple’s chips are.

How well is this chip suited for development? E.g. how fast can it do a full parallel compile of (say) gcc, compared to an Intel/AMD machine?

Re:Windows for Arm on M1 Mac Successfully Virtualized by GeekyBear on Friday November 27, 2020 @07:08PM (#25233783)
The battery life is just as impressive as the performance.

>After a single build of WebKit, the M1 MacBook Pro had a massive 91% of its battery left. I tried multiple tests here and I could have easily run a full build of WebKit 8-9 times on one charge of the M1 MacBook’s battery. In comparison, I could have gotten through about 3 on the 16” and the 13” 2020 model only had one go in it.

https://techcrunch.com/2020/11/17/yeah-apples-m1-macbook-pro...

Re:Windows for Arm on M1 Mac Successfully Virtualized by da_big_ghey on Friday November 27, 2020 @04:49PM (#25232871)
A few days ago, there was a story showing that it was twice as fast to compile Rust compared to the 2019 Macbook Pro: https://news.ycombinator.com/item?id=25126394

Since Rust is LLVM-based, there should be a substantial performance improvement for Clang as well.

Re:Windows for Arm on M1 Mac Successfully Virtualized by amelius on Friday November 27, 2020 @05:01PM (#25232951)
Was that a full parallel build (using all available cores)?

Because that's what counts for me, as a developer.

Re:Windows for Arm on M1 Mac Successfully Virtualized by da_big_ghey on Friday November 27, 2020 @05:37PM (#25233175)
I believe so, as cargo defaults to the number of cores, as per this issue: https://github.com/rust-lang/cargo/issues/2805

For what it's worth, this guy noticed a nearly 2x speedup in compiling OpenSSL, which is C code, so I assume GCC or Clang: https://twitter.com/sandofsky/status/1331732592958214145

This suggests, though it does not prove, that the performance improvement for code compilation is likely not exclusive to a single language.

Re:Windows for Arm on M1 Mac Successfully Virtualized by interpol_p on Friday November 27, 2020 @10:42PM (#25235074)
For my purposes it's nearly twice as fast as my maxed out 2018 MBP for development (6-core i9). This is for projects which are mostly C++ / C / Swift

https://twitter.com/twolivesleft/status/1331932956642852864