关于 Apple M1 的群众意见每日汇总 [码农方向][2020.11.19]

2020-11-19 09:20:25 +08:00
 zckevin

通过 CrossOver 运行 Windows 应用

We’re making it official: @codeweavers CrossOver/Wine runs 32- and 64-bit Windows apps/games on Apple Silicon Macs! And it works today!

Big thanks to the Rosetta folks at Apple and everyone at CodeWeavers for their hard work on this.

https://twitter.com/stroughtonsmith/status/1329207532154445825

https://www.codeweavers.com/blog/jwhite/2020/11/18/okay-im-on-the-bandwagon-apple-silicon-is-officially-cool

Golang 在 Apple M1 下的使用笔记,来自 Filippo Valsorda (Go Team Security Lead)

M1 first impressions 24h in:

《 Developing on Apple Silicon 》 https://docs.google.com/document/d/1iWUstb66v66tTVxQWNMZ1BehgNzEmykzqDCUp5l8ip8/edit

For developing in Go on Apple Silicon, there's two main issues to be aware of:

IDA 在 M1 Mac 上运行良好,来自 Checkra1n 团队成员 @qwertyoruiopz

M1 is actually pretty good, can’t believe the base air can handle ida like this https://twitter.com/qwertyoruiopz/status/1329152951294844932

so far so good. there’s some issues overall (eg brew currently doesn’t work well on it), but these will be sorted out and Rosetta 2 is just magic.

i just copied over my install from mac pro, so this is under rosetta 2. i’ll check later if there’s anything from hexrays in that regard

Accelerating TensorFlow Performance on Mac

https://blog.tensorflow.org/2020/11/accelerating-tensorflow-performance-on-mac.html

Google releases Apple Silicon-optimized version of Chrome for Mac

https://9to5google.com/2020/11/18/chrome-mac-apple-silicon/

If you want to use Chrome on new Macs with Apple M1 chips, head to https://google.com/chrome/ and download the Apple Silicon version we released in M87 today! https://twitter.com/elvin_not_11/status/1328816326542905345

Does it ARM? A list of reported app support for Apple Silicon

https://doesitarm.com

https://github.com/ThatGuySam/doesitarm

M1 Mac 合盖后依然保持运行,来自 Yachen Liu

写了非常简单的一小段代码验证了一下早上的观点,确认即使在电池供电且合盖的状态下,M1 设备 CPU 依然会定期的保持活跃,和 iDevice 一样,而且这个活跃不是系统特权。

第二张图是旧的 MBA,合盖后几分钟内依然活跃,然后就彻底休眠了。 (代码中 counter 忘 ++ 了,忽略…) https://twitter.com/Blankwonder/status/1328952885841960960

关于 Rosetta 2,来自 Hector Martin

Also, remember that Apple cheated with their control over the CPU for Rosetta 2. Getting R2 x86 performance on any other ARM is impossible, due to the memory model mismatch. You have to massively slow down all loads and stores.

So Apple straight up implemented the x86 consistency model on their cores. That's the kind of high-impact detail that makes or breaks emulation performance for a different arch. Did they do this for any other x86-isms? Nobody knows so far.

https://twitter.com/marcan42/status/1328940797174099970

Also, everyone please stop eating up Apple's marketing bullshit and calling Rosetta 2 an "Ahead-of-Time Translator, Not An Emulator" as if it is some Fundamental Difference that Makes It Fast.

It's a JIT emulator, with a cache, with opportunistic partial ahead of time warming.

https://twitter.com/marcan42/status/1328956667548082177

Rosetta 2 runs everything under the correct memory model

“Excited” to hear about all the data races now that people will actually execute all their code under ARMs memory model

woah wait huh i never considered whether rosetta 2 does the necessary synchronization of x86

https://twitter.com/gsnedders/status/1328710885028884481

8046 次点击
所在节点    Apple
34 条回复
charseer
2020-11-19 15:37:51 +08:00
emacs 有支持吗
mh
2020-11-19 16:57:09 +08:00
@Richardyyz #10 同感,打算把 3070 卖了买 m1 的 air
Z1ppo
2020-11-19 17:08:43 +08:00
我主要做 Data Science,现在的痛点是 Arm 平台缺少开源的 Fortran 90 编译器,而且 LLVM 里的 flang 也没有开发完成。现在做的项目里有 20%是用 Fortran 写的,所以在原生支持 Fortran 前应该只能观望了。
MAKF
2020-11-19 17:28:23 +08:00
@love 主要是闲钱多也没地方花,充值就是了
Damenly1
2020-11-19 17:35:41 +08:00
@charseer 有的, brew install emacs-mac
tsanie
2020-11-19 18:07:19 +08:00
@Gandum
@InternetExplorer
android 模拟器目前有点难搞吧,sdk 那个模拟器是用 intel haxm 加速的。。arm 镜像又卡的无法自理
不过实体机调试应该没问题。
Gandum
2020-11-19 19:04:58 +08:00
@tsanie 我是希望有使用硬件虚拟化的 Android 虚拟机,这样远比 x86 上面模拟运行 Android 来的快,既然 WWDC 已经演示了 Linux 虚拟机,那么同根同源的 Android 应该也不是问题,等一波 Parallels Desktop
agagega
2020-11-19 20:12:44 +08:00
@Z1ppo 除了商业的,支持 F90 的好像就 GCC 了吧
mxalbert1996
2020-11-19 20:51:49 +08:00
@Gandum @InternetExplorer
你在 x86 上模拟的也是 x86 版的安卓,所以其实没区别。
charseer
2020-11-19 21:34:59 +08:00
@Damenly1 能跑吗,我看搜到的都说还不行
imgbed
2020-11-19 22:05:48 +08:00
node 、git 这些能运行吗?
anguiao
2020-11-19 22:09:07 +08:00
大家赶紧买,生态就靠你们来完善了。
我 9 代 i7 + 32G 的 Windows 笔记本还够用两年,等坑填完了我再买。
coolmenu
2020-11-20 06:42:00 +08:00
CocoaPods
arch -x86_64 sudo gem install ffi
Damenly1
2020-11-20 09:15:39 +08:00
@charseer 我就只试了没加载任何 mode 的 emacs,其他的 config 我回去试试

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://www.v2ex.com/t/726960

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX