V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
forcecharlie
V2EX  ›  GitHub

Github 使用 Electron 重写 Github Desktop

  •  
  •   forcecharlie · May 17, 2017 · 6365 views
    This topic created in 3277 days ago, the information mentioned may be changed or developed.

    Github 正在使用 Electron 重写 Github Desktop。之前,在 Windows 和 macOS 上,Github 分别用各自平台的技术实现其客户端,如 Windows 使用 WPF。

    Github Blog: https://github.com/blog/2362-announcing-git-integration-for-atom-and-github-desktop-beta

    Github 工程师 blog: https://githubengineering.com/how-four-native-developers-wrote-an-electron-app/

    Atom 也有 Github 集成 https://github.atom.io/

    Github Desktop 项目地址: https://github.com/desktop/desktop 使用 TypeScript + React 并且注意到,应该大部分开发者使用 Visual Studio Code 开发。

    很有意思。

    21 replies    2017-07-05 21:42:41 +08:00
    helloSwift
        1
    helloSwift  
       May 17, 2017
    耗电,之前的功能简单了,不知道会不会添加功能
    helloSwift
        2
    helloSwift  
       May 17, 2017
    还是不知道在 sourcetree 和 github desktop 怎么选择,虽然命令行好用,但也想在电脑上备一个 GUI
    justfly
        3
    justfly  
       May 17, 2017   ❤️ 1
    很不喜欢 Electron 这东西。

    做出来的东西体验违和不说,卡,耗内存,一丁点的功能都 100M 安装包。。。
    jy02201949
        4
    jy02201949  
       May 17, 2017
    想想 Atom 就觉着以后 Github Desktop 会越来越卡的
    notes
        5
    notes  
       May 17, 2017 via Android
    visual stuido code 认可度这么高吗,我都想试试了
    qqjt
        6
    qqjt  
       May 17, 2017
    Electron 这玩意据说是一坨翔啊
    DoraJDJ
        7
    DoraJDJ  
       May 17, 2017 via Android
    现在 electron 的风评挺差的,前面几楼都可以看出来了。

    说了这么多,我还是选择命令行。
    f12998765
        8
    f12998765  
       May 17, 2017
    在用 GitKraken,也是 Electron 编写的 Git GUI

    在最新的更新日志中有一句:

    Oh, and checkout operations are as much as 3 times faster than SlowTree, err... I mean SourceTree (including their latest v2).
    SuperMild
        9
    SuperMild  
       May 17, 2017
    @justfly 可能有点误解了,安装包太大可能是打包姿势错误,vscode 也不算一丁点东西了吧,安装包才 35MB
    ferrum
        10
    ferrum  
       May 17, 2017
    Github 自己人都不用 Atom ?
    cheetah
        11
    cheetah  
       May 17, 2017
    Visual Studio Code.app 176.5M
    justfly
        12
    justfly  
       May 17, 2017
    @SuperMild

    不知道是不是我们平台差异原因 我这里 vscode 176M 其中 Electron Framework.framework 112M

    Electron 的一些其他应用大都 120M 左右 其中 Electron Framework.framework 110M+

    这东西类似 JRE 或者 .NET Framework 只不过人家安装为系统库,安装后所有应用都可以使用,这东西每个 APP 都得带上。
    corvofeng
        13
    corvofeng  
       May 17, 2017 via Android
    你写任你写
    dremy
        14
    dremy  
       May 17, 2017 via Android
    同样是基于 electron,不知道为啥 atom 卡的一比,vscode 丝毫不卡,神负优化?
    uxstone
        15
    uxstone  
       May 17, 2017
    好事!
    Leafove
        16
    Leafove  
       May 17, 2017
    electron 解决的问题应该是有没有,用来重写原本已经用本地代码开发好的东西简直智障
    我选命令行
    Kilerd
        17
    Kilerd  
       May 17, 2017
    @f12998765 GitKraken 挺好的
    forcecharlie
        18
    forcecharlie  
    OP
       May 17, 2017
    @dremy 这个没有具体分析过,不过我的看法是 VSCode 团队经验更加丰富( Eclispe JDT,《设计模式》 作者 Erich Gamma 这样的大牛),然后投入也比 ATOM 团队要多,实际上 VSCode 的核心 Monaco 项目已经在 VS Online 使用很久。https://microsoft.github.io/monaco-editor/

    然后我觉得 TypeScript 与 Atom 使用 CoffeScript 相比 也是一大优势
    AZ2000
        19
    AZ2000  
       May 17, 2017 via Android
    看起来不错啊
    dexterzzz
        20
    dexterzzz  
       May 17, 2017
    要知道 vs code 的开发团队是什么人,开发语言是 typescript
    cctrv
        21
    cctrv  
       Jul 5, 2017
    我無法接受新版本!!!我堅持老版。
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   3266 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 72ms · UTC 13:14 · PVG 21:14 · LAX 06:14 · JFK 09:14
    ♥ Do have faith in what you're doing.