~/talk

Snakes in a browser

Talkat PyOhio 2016 · 2016-07-30..07-31· [web-platform, python]
slides:none on file

Explains how Python validation and UI logic move into the browser by shipping bytecode not source and running it on a small JS VM, avoiding heavy interpreters. Compares Brython (~500 KB) and Pypy.js (~10–15 MB) with a lightweight bavia (≈10 KB) that runs CPython bytecode, notes it's slower but responsive enough for validation, and shows a deployed Django site plus a client UI with user-space client ~30–40 lines of Python.

AI-written summary · about

  1. 0:00Introduction
  2. 2:10Whats changed
  3. 4:17JavaScript isomorphic
  4. 4:39Integration libraries
  5. 5:33Isomorphic JavaScript
  6. 6:39Requirements
  7. 7:36History
  8. 8:16Data Model
  9. 8:39Browser
  10. 11:33Python in browser
  11. 13:05Python compiler
  12. 13:40Bataglia
  13. 14:16Running Python in the browser
  14. 15:23The downside
  15. 16:54Can you write apps in Python
  16. 17:05Toga
  17. 19:56Resources
~/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.