~/talk

Windows, Macos & the Web: Lessons From Cross-Platform Development

Talkat ACCU 2021 Online · 2021-03-10..03-13· [c-and-cpp]
slides:none on file

Porting ~700k lines from Windows to macOS and then to the web yields concrete solutions: lightweight C++ abstractions for rendering, i18n, file I/O, mouse events, RPC and error reporting that enforce identical semantics across platforms; a file-lock backed shared memory approach because boost::interprocess leaves lingering POSIX objects and macOS lacks robust mutexes; compile-time translation lookup via compile-time MurmurHash lookup and template specializations; persistent asserts plus a crash reporter that emits Mach core dumps for symbolicated server-side analysis; and a TypeScript→C++ binding generator that targets Emscripten so web UIs reuse type-safe C++ — changes that measurably reduce cross-platform bugs and improve quality.

AI-written summary · about

  1. 0:00Start
  2. 3:45Find the Right Level of Abstraction in Your Code
  3. 9:13Create a Temporary File
  4. 16:07Smart Pointers
  5. 17:59Command Line Tool
  6. 30:37User Interface Programming on Mac Os and Windows
  7. 34:25State Machine
  8. 36:06Text Translation
  9. 49:40Error Reporting
  10. 50:44Writing a Mini Dump
  11. 52:55How Do We Find Hard To Reproduce Bugs That Depend on the User's Specific Setup
  12. 1:05:33Code Sharing
~/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.