Windows, macOS & the Web: Lessons from Cross-platform Development at think-cell
summary
Company ported a 12‑year Windows codebase of 700k lines of code to macOS and then to the Web, and reports concrete fixes: custom high‑level C++ abstractions for rendering, file I/O, mutexes and mouse state; a reimplementation of cross‑platform shared‑memory semantics (file‑lock protocol to emulate Windows reference counting); a compile‑time string translation pipeline (compile-time translations) that emits C++ files; and web apps built with emscripten + TypeScript→C++ bindings so browser code stays type‑safe and reuses native data structures.
AI-written summary · about
chapters (7)
- 0:00Start
- 3:05Write High-Level Abstractions
- 15:24Use Strong Operating System Guarantees
- 23:13Unify State Machines
- 26:29constexpr all the things
- 35:14Build Better Tools (1)
- 41:53#5 Build Better Tools (2)
related talks
01h 08mWindows, Macos & the Web: Lessons From Cross-Platform Development
41mCrossplatform 2019: C ++ as an antagonist in a progressive world
32mC++ Everywhere with WebAssembly
57mC++ on the Web: Let's have some serious fun.
01h 30mApplied WebAssembly: Compiling and Running C++ in Your Web Browser
34mBack to the FUTURE! From C++ to JS
29mWorking with C and C++ in Apple environment
01h 03mA C++ journey from old to modern - Modernising ObjectiveFrame
