~/lightning

Why maintaining winit is hard

Lightningat Rust Belt Rust 2019 · 2019-10-18..10-19· [rust, developer-experience]
links:none on file
slides:none on file

winit maintenance is about grappling with platform quirks not abstractions: Windows and macOS start inner event loops during resize, iOS only offers a run that never returns, and WebAssembly requires returning from main and handing the closure to the browser. fixes include per-window threads, a single shared event-loop struct, closures passed into OS callbacks, process aborts to emulate exit, and a JS exception trick to unify wasm — each hack works in practice and frustrates clean API design.

AI-written summary · about

~/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.