V8 Ignition Interpreter and TurboFan pipeline Ignition Interpreter: optimized performance for peak‑memory and low‑memory Turborfan: optmizer for more powerfuloptimizing compiler of ES.next 14
V8 ECMAScript support Symbol.species c l a s s M y A r r a y e x t e n d s A r r a y { / / O v e r w r i t e s p e c i e s t o t h e p a r e n t A r r a y c o n s t r u c t o r s t a t i c g e t [ S y m b o l . s p e c i e s ] ( ) { r e t u r n A r r a y ; } } v a r a = n e w M y A r r a y ( 1 , 2 , 3 ) ; v a r m a p p e d = a . m a p ( x = > x * x ) ; c o n s o l e . l o g ( m a p p e d i n s t a n c e o f M y A r r a y ) ; / / f a l s e c o n s o l e . l o g ( m a p p e d i n s t a n c e o f A r r a y ) ; / / t r u e 16
V8 ECMAScript support (cont') Function name inference c l a s s C o n t a i n e r { . . . S y m b o l . i t e r a t o r { . . . } . . . } l e t c = n e w C o n t a i n e r ; / / L o g s " [ S y m b o l . i t e r a t o r ] " . c o n s o l e . l o g ( c [ S y m b o l . i t e r a t o r ] . n a m e ) ; 17
V8 ECMAScript support (cont') Symbol.hasInstance, custom instanceof behavior c l a s s M y A r r a y { s t a t i c [ S y m b o l . h a s I n s t a n c e ] ( i n s t a n c e ) { r e t u r n A r r a y . i s A r r a y ( i n s t a n c e ) ; } } c o n s o l e . l o g ( [ ] i n s t a n c e o f M y A r r a y ) ; / / t r u e 18
V8 ECMAScript support (cont') for‑of, loop iterating over iterable objects (including Array, Map, Set, String, TypedArray, arguments l e t i t e r a b l e = [ 1 0 , 2 0 , 3 0 ] ; f o r ( l e t v a l u e o f i t e r a b l e ) { v a l u e + = 1 ; c o n s o l e . l o g ( v a l u e ) ; } / / 1 1 / / 2 1 / / 3 1 19
async / await / / p r o m i s e f u n c t i o n l o g F e t c h ( u r l ) { r e t u r n f e t c h ( u r l ) . t h e n ( r e s p o n s e = > r e s p o n s e . t e x t ( ) ) . t h e n ( t e x t = > { c o n s o l e . l o g ( t e x t ) ; } ) . c a t c h ( e r r = > { c o n s o l e . e r r o r ( ' f e t c h f a i l e d ' , e r r ) ; } ) ; } / / a s y n c / a w a i t v e r s i o n t r y { c o n s t r e s p o n s e = a w a i t f e t c h ( u r l O p e n S o u r c e c o n s o l e . l o g ( a w a i t r e s p o n s e . t e x t ( ) ) ; } c a t c h ( e r r ) { c o n s o l e . l o g ( ' f e t c h f a i l e d ' , e r r ) ; } } s Custom elements V1‑ Mobile target features: Pointer event, persistent storage, rich notification Web Share API, Web Bluetooth API, WebVR, WebGL 2.0 21
Today Open Source Apps Sarah‑Seo/Inpad An 'alt+space' launcher for Windows 윈도우즈 스크린세이버 샘플 Touchbar sample rhysd/electron‑touchbar‑example electron‑builder 를 이용한 일렉트론 자동 업데이트 앱 23
Today Open Source Packages OAuth authenticates your Electron app React Hot Module Loading forge beta site: Electron Forge Spell Check, 한글가능 Automatically move Electron apps to the Applications directory Platform detection for Electron, Web Browser and Node Quickly inspect an element at mouse position Templates bundled with Electron Forge 27