~/talk

Javascript, the GNOME way

Talkat JSConf EU 2011 · 2011-10-01..10-02· [javascript, web-platform]
links:none on file
slides:none on file

GNOME Shell uses JavaScript as glue to 30k lines of JS hooked to ~40k lines of C and runs in production on millions of desktops; the stack extracts C APIs with GObject Introspection into .gir/.typelib files and loads them at runtime via GRepository and libffi, with gjs wrapping SpiderMonkey (and a JSCore seed port); demos include a GTK GUI and a Clutter+GStreamer webcam implemented in 52 lines of code and a websocket server; current pain points are module import semantics and sparse binding documentation.

AI-written summary · about

  1. 0:00Start
  2. 3:37Genome Shell
  3. 8:00Share Binding Infrastructure
  4. 11:02Foreign Function Interface
  5. 15:51Annotate the Code
  6. 17:03Validating the Return Value
  7. 20:45Writing Javascript
  8. 25:12Kill the Event Loop
  9. 36:12Important Modules
  10. 40:23Native Modules
  11. 41:37Functions
  12. 42:20Object Methods
  13. 44:14Documentation
  14. 45:49How To Synchronize Our Community with the Rest of the World
  15. 49:48Current Issues
  16. 50:17Final Thoughts
~/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.