Please rotate your tablet to be horizontal.

You can dismiss this notice but please note that this experience has not been designed for mobile devices and so will be less than optimal

Back To Schedule

Bringing a Mobile C++ Codebase to the Web

10:30 - 11:30 Friday 16th September 2022 MDT Summit 1 / Online E
Beginner
Intermediate
Advanced
Networking & Web

Djinni is a tool for generating cross-language interface bindings between C++ and other languages. At Snap we managed to add full featured WebAssembly support to it. This means the same interface definitions for mobile platforms can now expose C++ code to Javascript and TypeScript code running in web browsers.

This work has helped bring Snap's large mobile C++ code base to the web with minimal change. It is the foundation of the recently released Snapchat for Desktop Web. And it is currently available on Github (https://github.com/snapchat/djinni).

In this talk you will see how Djinni enabled Snapchat to reuse our mobile C++ codebase in a browser app, how it works under the hood, and how you can use this open source tool in your own web projects.

Li Feng

Software EngineerSnap Inc.

Li has been writing software in C++ for over 20 years. He is currently a software engineer at Snap and the maintainer of Snap's open source Djinni project.