~/talk

Shaping Electron: We Get By With a Little Help From Our Friends

Talkat NodeConf.EU 2019 · 2019-11-10..11-13· [nodejs, javascript]
slides:none on file

Traces a single API call showOpenDialog from top-level JavaScript through Node.js require into process.electronBinding, into C++ bindings, into V8 objects via gin dictionaries, creating a native V8 promise and calling platform APIs (NSOpenPanel, GTK, IFileOpenDialog). Describes an actual migration away from process.binding to linked bindings around Node 12, shows how returned objects contain a boolean cancelled and file paths, and demonstrates a working dialog implementation that resolves a promise with those values.

AI-written summary · about

  1. 0:00Introduction
  2. 0:49Overview
  3. 2:26Dependencies
  4. 3:41Dialogue
  5. 4:42Flow
  6. 6:06Platform Specific APIs
  7. 7:08Importing Modules
  8. 8:14Export Module
  9. 9:38Electron Binding
  10. 9:59How Electron Binding Works
  11. 11:22Linked Binding
  12. 13:10Electron v8
  13. 14:09initialize function
  14. 14:47gin helper
  15. 15:40gin dictionary
  16. 16:28set method
  17. 17:13native implementation
  18. 18:07platformspecific implementation
  19. 19:16enhanced gin dictionary
  20. 20:17resolving file paths
  21. 20:48conclusion
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.