V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
Themyth
V2EX  ›  Apple

对于 arm Mac 有一事不明……老的 x86 软件

  •  
  •   Themyth · 2020-10-20 11:55:40 +08:00 · 5855 次点击
    这是一个创建于 1256 天前的主题,其中的信息可能已经有所发展或是发生改变。
    我想等等 arm mac 但是奈何有个问题不太懂
    就是假如很多 app 没有去适配 arm mac 架构
    那 amr mac 发布后,还能使用之前的 app 吗?譬如微信?
    其次,homebrew 里面装的一些东西 譬如 python scapy Git 还有一些以前编译过的 golang 程序还能跑的起来吗?
    不考虑性能,只考虑能不能用……
    如果可以兼容之前的 x86 程序的话,那倒是可以买个试试
    41 条回复    2020-10-28 09:53:31 +08:00
    lostberryzz
        1
    lostberryzz  
       2020-10-20 12:06:30 +08:00   ❤️ 1
    Rosetta 2

    Rosetta 2 is included as of macOS Big Sur to aid in the Mac transition to Apple Silicon from Intel processors.[1][8] In addition to the just-in-time (JIT) translation support available in Rosetta, Rosetta 2 includes support for translating an application at installation time.[9]

    https://en.wikipedia.org/wiki/Rosetta_(software)#Rosetta_2
    BrettD
        2
    BrettD  
       2020-10-20 12:29:48 +08:00 via iPhone
    x86 软件应该只能用运行时翻译的方式运行。homebrew 那些开源软件在 ARM 上面重新编译就能跑了。
    Themyth
        3
    Themyth  
    OP
       2020-10-20 12:42:21 +08:00
    @lostberryzz 意思是在安装时就可以翻译这个 app 了么?

    @BrettD 那好吧。。到时候上市了看看
    aptx4689
        4
    aptx4689  
       2020-10-20 13:24:50 +08:00
    可以兼容
    Xusually
        5
    Xusually  
       2020-10-20 13:29:38 +08:00
    Homebrew 里面的很多东西都有问题,都需要重新编译。然后现在很多源码还没有适配 arm 处理器,比如现在我的 DTK 的 Homebrew 里面的 [email protected] 就编译不通过,issues 里面很多人也在等。
    wellsc
        6
    wellsc  
       2020-10-20 13:33:25 +08:00
    苹果闭源,理论上大部分兼容性的问题他们都给你搞定了
    holulu
        7
    holulu  
       2020-10-20 13:34:08 +08:00
    刚开始肯定有很多不兼容的,都计划要两年了,实际可能要更久。感觉这个还是看你要用的软件能不能用,如果能用就买 Apple Silicon Mac,不能用还是先用 Intel Mac
    learningman
        8
    learningman  
       2020-10-20 14:39:09 +08:00
    苹果大手一挥干掉 32 位的时候都没出事,估计有解
    gzf6
        9
    gzf6  
       2020-10-20 14:48:11 +08:00
    估计很多 ios 上的软件直接就可以拿来用了,开源软件重新编译个 arm 应该就行
    yangxin0
        10
    yangxin0  
       2020-10-20 15:03:03 +08:00 via iPhone
    只要 Office 和 wechat 适配了我就买。其他不重要,我关心续航,哈哈
    IgniteWhite
        11
    IgniteWhite  
       2020-10-20 15:42:23 +08:00 via iPhone
    我在树莓派里搭了主力 python 服务器。python 主版本支持 arm 很久了,anaconda 和 miniconda 有点没跟上,不过我在用 conda-forge 出的 miniforge,好用的很
    oyjc
        12
    oyjc  
       2020-10-20 15:54:08 +08:00
    wechat 直接运行 iOS 版的就行了,理论上,iOS 应用都支持
    xninan
        13
    xninan  
       2020-10-20 17:04:14 +08:00
    @BrettD 并不是运行时翻译,是安装时翻译
    est
        14
    est  
       2020-10-20 17:06:10 +08:00
    说不定给你个 iPadOS 。
    tomari
        15
    tomari  
       2020-10-20 17:18:51 +08:00
    兼容是新版本 mac 的重点工作之一……
    IgniteWhite
        16
    IgniteWhite  
       2020-10-20 18:01:31 +08:00
    #11 补充一句,以 python 为例,rosetta 转的 x86 binary 和 aarch64 ( 64 位 arm ) binary 要看哪个效率高了。届时会有很多对比讨论的。
    TStealer
        17
    TStealer  
       2020-10-20 18:06:39 +08:00
    非关键软件可以先用 iOS 的版本,关键生产力软件苹果应该给了足够时间厂商去开发。
    我也在等 Mac Silicon,从 9 月等到 10 月,现在听说是 11 月,希望别再鸽我了,不然我就投奔 Wins 了。
    wydinhk
        18
    wydinhk  
       2020-10-20 18:18:52 +08:00
    @yangxin0 wwdc 都展示了,office 应该会出吧? wechat 到时直接运行 iPadOS 版,体验估计更好
    Themyth
        19
    Themyth  
    OP
       2020-10-20 19:22:40 +08:00
    @Xusually Python3.6 3.7 之类的呢? Python 其他的 C++相关库呢?很好奇啊!
    @IgniteWhite 那看来还是有指望的!!!哈哈
    @oyjc 理论上可以跑,但是苹果会不会允许我们使用 iOS 应用呢?
    @est 不是确定了是 macos big sur 么?话说你的网名让我想起我以前想收购的一个域名 e.st,可是这个老外不卖给我。。。
    @TStealer 好吧 同等!据说 11 月 17 日发布会!

    @wydinhk 就怕不让用 iPadOS 的 APP 啊。。。
    wydinhk
        20
    wydinhk  
       2020-10-20 19:40:50 +08:00 via iPhone
    @Themyth 怎么会不让用呢? wwdc 原话是 day 1 就可以从 Mac App Store 下载啊,大多数应用不用适配就可运行
    Themyth
        21
    Themyth  
    OP
       2020-10-20 19:44:21 +08:00
    @wydinhk 哇 这样的话 立马对 ipad Pro+magickeyboard 的套装一点兴趣都木有了!
    towser
        22
    towser  
       2020-10-20 20:13:36 +08:00
    @Themyth 买 arm macbook 为了续航吗,宇宝
    Themyth
        23
    Themyth  
    OP
       2020-10-20 20:15:55 +08:00
    @towser 续航是一方面,主要是为了感觉自己很 geek
    Gcourage
        24
    Gcourage  
       2020-10-20 23:51:40 +08:00 via iPhone
    之前用过 aarch64 的 centos,python 这些都有。但是我也只是基础使用,其他库支持的怎么样记不清楚了。

    感觉还是能用的。再然后 apple 还有他自己的转码工具。
    fatelight
        25
    fatelight  
       2020-10-21 01:20:54 +08:00
    刚出来对于轻度用户影响不大,重度用户恶心一批算一批,光 big sur 老软件的兼容性都差很多,各种闪退,别说 arm 了

    可能玩 ios 游戏和应用更方便,其他就看软件厂商跟进了
    t6attack
        26
    t6attack  
       2020-10-21 01:33:18 +08:00
    Windows RT 不是折腾过一轮了嘛。这是第二轮了。
    reayyu
        27
    reayyu  
       2020-10-21 01:45:04 +08:00
    三年以后再看吧
    NilChan
        28
    NilChan  
       2020-10-21 02:07:16 +08:00 via Android
    @est 这条评论跟你头像很搭
    xuanbg
        29
    xuanbg  
       2020-10-21 04:05:21 +08:00
    @learningman 啥叫没出事,我 steam 上一堆的游戏都不能玩了好吗
    uyun2421
        30
    uyun2421  
       2020-10-21 12:39:54 +08:00 via iPhone
    @xuanbg 真的,arm 架构下 steam 又是一堆游戏玩不了了感觉。
    colordog
        31
    colordog  
       2020-10-21 15:08:17 +08:00
    @oyjc
    @est
    @TStealer
    @wydinhk 微信,qq 直接安装 mac 版本的就行,xcode 安装特别特别慢,jb 全家桶能直接用,jb 的 tool 工具不行,androdi studio 能运行,但是虚拟机不行
    TStealer
        32
    TStealer  
       2020-10-21 16:32:31 +08:00 via Android
    @colordog
    老哥你是有 DTK 吗?
    看来现在不少软件厂已经适配了,按现在的进度 11 月能发布吗?
    mortintojmax
        33
    mortintojmax  
       2020-10-21 18:31:13 +08:00
    @wellsc 苹果除了桌面环境和硬件驱动都是开源的。mac 和 ios 实际的系统都叫 darwin,内核都是 xnu ( mach+freebsd ),区别只有桌面环境不同
    mortintojmax
        34
    mortintojmax  
       2020-10-21 18:32:34 +08:00
    @yangxin0 office 套件不是已经展示过了吗
    mortintojmax
        35
    mortintojmax  
       2020-10-21 18:38:14 +08:00
    大多数应该都是可以的,毕竟有 aarch64 linux 已经铺好路了,苹果提供 apple silicon 支持的开源软件名单里也有 homebrew 和 macports 。
    wellsc
        36
    wellsc  
       2020-10-21 18:58:05 +08:00
    @mortintojmax 之前没说清楚,我的意思是 ios/macos 的开发环境是闭源的
    colordog
        37
    colordog  
       2020-10-21 20:35:04 +08:00
    @TStealer vscode,sketch 不行
    wydinhk
        38
    wydinhk  
       2020-10-21 21:05:10 +08:00
    @colordog vscode 不是早就出了 exploration builds 吗?
    colordog
        39
    colordog  
       2020-10-21 21:08:39 +08:00
    @wydinhk 没用哪个,我指的是直接官网标注 mac 版本直接下载的,另外 studio 好像是因为 cpu 不支持虚拟化,很多人都说支持 ipad 的原生程序,这点我没测过,不敢瞎说
    wydinhk
        40
    wydinhk  
       2020-10-21 21:13:53 +08:00
    @colordog 官网应该还早吧,估计要等发布 arm Mac 了
    Xusually
        41
    Xusually  
       2020-10-28 09:53:31 +08:00
    @Themyth https://github.com/Homebrew/brew/issues/7857
    这里是 DTK 的 homebrew 兼容性列表和改善进度
    [email protected] 在里面已经有 patch 了,我手动改了 formulae,然后又额外禁用了 ipv6 支持才编译通过,不过上游 repo 可能也会尽快 merge

    总之费劲
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   4612 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 49ms · UTC 05:35 · PVG 13:35 · LAX 22:35 · JFK 01:35
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.