forcecharlie
V2EX  ›  GitHub

Github 使用 Electron 重写 Github Desktop

  •  
  •   forcecharlie · May 17, 2017 · 6873 views
    This topic created in 3467 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
    helloSwift
    May 17, 2017
    1
    耗电,之前的功能简单了,不知道会不会添加功能
    helloSwift
    helloSwift
    May 17, 2017
    2
    还是不知道在 sourcetree 和 github desktop 怎么选择,虽然命令行好用,但也想在电脑上备一个 GUI
    justfly
    justfly
    May 17, 2017❤️1
    3
    很不喜欢 Electron 这东西。

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

    说了这么多,我还是选择命令行。
    f12998765
    f12998765
    May 17, 2017
    8
    在用 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
    SuperMild
    May 17, 2017
    9
    @justfly 可能有点误解了,安装包太大可能是打包姿势错误,vscode 也不算一丁点东西了吧,安装包才 35MB
    bayallen
    bayallen
    May 17, 2017
    10
    Github 自己人都不用 Atom ?
    cheetah
    cheetah
    May 17, 2017
    11
    Visual Studio Code.app 176.5M
    justfly
    justfly
    May 17, 2017
    12
    @SuperMild

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

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

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

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