Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Electron Now

Cheng Zhao
November 06, 2017

Electron Now

Electron Tokyo MeetUp 2017.

Cheng Zhao

November 06, 2017
Tweet

More Decks by Cheng Zhao

Other Decks in Programming

Transcript

  1. Electron Now
    at Electron Tokyo MeetUp, 2017

    View full-size slide

  2. about me
    ‣ $IFOH;IBP
    ‣ (JU)VC[DCFO[
    ‣ DSFBUPSPG&MFDUSPOGSBNFXPSL
    ‣ MJWJOHJO5PLZP

    View full-size slide

  3. topics
    ‣ QSPCMFNTPG&MFDUSPO`TEFWFMPQNFOUBOEIPX
    XFBSFTPMWJOHUIFN
    ‣ IPX&MFDUSPO`TEFWFMPQNFOUJTHPJOH

    View full-size slide

  4. problem:
    the project was relying on 1 people

    View full-size slide

  5. the project was relying on 1 people
    ‣ &MFDUSPOXBTNPTUMZNBJOUBJOFECZPOMZEFWFMPQFS
    ‣ GFXQFPQMFVOEFSTUBOETUIFIBDLTPG&MFDUSPO
    ‣ UIFSFBSFUPPNBOZJTTVFTGPSEFWFMPQFSUPIBOEMF

    View full-size slide

  6. now
    ‣ (JU)VCIJSJOHNPSFQFPQMF

    &MFDUSPOUFBNOPXIBTEFWFMPQFST
    ‣ DPNQBOJFTVTJOH&MFDUSPOBMTPXPSLJOHPO&MFDUSPO

    .JDSPTPGUBOE4MBDLIBWFEFEJDBUFEUFBNTXPSLJOH
    PO&MFDUSPO

    View full-size slide

  7. problem:
    too slow to add features / fix bugs

    View full-size slide

  8. too slow to add features / fix bugs
    ‣ &MFDUSPOJTCBTFEPO$ISPNJVNBOE/PEFKT

    FMFDUSPO@CVHTDISPNJVN@CVHTOPEF@CVHT
    ‣ &MFDUSPOJTBQMBUGPSN

    FWFSZPOFXBOUTEJ⒎FSFOUGFBUVSFT
    ‣ XFIBWFWFSZMJNJUFESFTPVSDFT

    View full-size slide

  9. now
    ‣ XFNBLF&MFDUSPOFBTZUPXPSLPO

    CFUUFSEPDT CVJMETFSWFST FBTJFSXPSLqPXTʜ
    ‣ JGZPVBSFBCJHDPSQBOEXBOUBOFXGFBUVSF
    USZXPSLJOHPOJUZPVSTFMG

    View full-size slide

  10. problem:
    too slow to upgrade Chrome

    View full-size slide

  11. too slow to upgrade Chrome
    ‣ &MFDUSPOIBTNVMUJQMFQBUDIFTPO$ISPNJVN
    ‣ BEEJOHBGFBUVSFPSpYJOHBCVHJO&MFDUSPO
    DBOSFTVMUJOBOFXQBUDIPO$ISPNJVN
    ‣ VQHSBEJOH$ISPNFJTQBJOGVMBOEUBLFTMPUTPG
    UJNF
    ‣ JUXBTIBOEMFECZPOMZEFWFMPQFS

    View full-size slide

  12. now
    ‣ UIFSFJTB.JDSPTPGUUFBNGPDVTJOHPO$ISPNF
    VQHSBEFTJO&MFDUSPO
    ‣ *`NGSFFEGSPNUIF$ISPNFVQHSBEFIFMM

    View full-size slide

  13. problem:
    Electron was bloating

    View full-size slide

  14. Electron was bloating
    ‣ FWFSZPOFXBOUTUPBEETPNFUIJOHUP&MFDUSPO
    ‣ OFXGFBUVSFTNBLFDPEFIBSEUPNBJOUBJO
    ‣ $ISPNFVQHSBEFTCFDPNFIBSEFS
    ‣ &MFDUSPONBZSVOTMPXFS

    View full-size slide

  15. now
    ‣ VODPNNPOOFXGFBUVSFTTIPVMECFIJEFECFIJOE
    CVJMEqBHT
    ‣ XFXJMMIBWFB3'$QSPDFTTGPSBSHVBCMFOFX
    GFBUVSFTJOGVUVSF

    View full-size slide

  16. making Electron more secure

    View full-size slide

  17. less crashes
    ‣ XJMMUVSOPOUIFEFCVHBTTFSUJPOTPG$ISPNJVN
    ‣ XJMMVTF001*'TGPSXFCWJFX

    IUUQTXXXDISPNJVNPSHEFWFMPQFSTEFTJHO
    EPDVNFOUTPPQJGSBNFT
    ‣ XJMMVTF1M[/BWJHBUF

    IUUQTEPDTHPPHMFDPNEPDVNFOUE
    D48GQ+*6OJC2,65.X-&7Y:;1IV-/V@X
    ULPL6&

    View full-size slide

  18. more secure
    ‣ $ISPNJVNTFDVSJUZQBUDIFTBSFCBDLQPSUFEUP
    TUBCMFWFSTJPOT
    ‣ XJMMXBSOXIFO/PEFKT"1*TBSFFYQPTFEUP
    SFNPUFXFCTJUFT
    ‣ XJMMNBLFXFCWJFXTFDVSFCZEFGBVMU

    View full-size slide

  19. teams working together

    View full-size slide

  20. code owners
    ‣ EJ⒎FSFOUQBSUTPGDPEFIBWFUIFJSPXOFST
    ‣ QVMMSFRVFTUTNVTUCFSFWJFXFECZUIFDPEF`TPXOFST
    ‣ QVMMSFRVFTUTBSFSFWJFXFEGBTUFS

    View full-size slide

  21. maintainers group
    ‣ B4MBDLDIBOOFMGPS&MFDUSPONBJOUBJOFST
    ‣ BTLHSPVOEXBUFS!HJUIVCDPNGPSJOWJUBUJPOJG
    ZPVBSFEFWFMPQJOHQSPEVDUTPO&MFDUSPO

    View full-size slide

  22. Electron mini-summits
    ‣ UXJDFQFSZFBS
    ‣ BMMNBJOUBJOFSTHFUUPHFUIFSGPSPOFXFFLUP
    EJTDVTTQSPCMFNTBOEEFWFMPQNFOUPG&MFDUSPO
    ‣ pSTUUXPXFSFJO4BO'SBODJTDPBOE5PLZP
    OFYUUJNF1SBHVF

    View full-size slide

  23. if you want to work on Electron,
    email [email protected]

    View full-size slide