Overview
Explore a conference talk from CppCon 2022 that delves into bringing a mobile C++ codebase to the web using Djinni, a tool for generating cross-language interface bindings. Learn how Snap added WebAssembly support to Djinni, enabling the exposure of C++ code to JavaScript and TypeScript in web browsers. Discover the process behind Snapchat's successful transition of their large mobile C++ codebase to desktop web applications with minimal changes. Gain insights into Djinni's inner workings, its role in the development of Snapchat for Desktop Web, and how to leverage this open-source tool for your own web projects. Follow along as the speaker, Li Feng, a seasoned C++ developer and maintainer of Snap's Djinni project, demonstrates the Genie workflow, presents a live demo, and explains the implementation details, including JavaScript implementation and data marshalling techniques.
Syllabus
Introduction
Genie workflow
Live demo
Implementation
JavaScript Implementation
Marshalling Data
Taught by
CppCon