Overview
Explore type-safe web development with C++ in this 50-minute conference talk from Meeting C++ 2022. Dive into the world of WebAssembly as a popular target platform for C++ developers and learn how emscripten simplifies porting native applications. Discover the challenges of working with JavaScript APIs and DOM manipulation in a type-safe manner. Gain insights into "typescripten," an open-source tool built on TypeScript interface definition files and compiler API to create type-safe C++ wrappers for emscripten. Understand how this tool enables access to over 7,000 JavaScript libraries with type safety in C++. Examine the design principles behind C++ wrappers that aim to resemble TypeScript or JavaScript code. Explore the complexities of translating prototype-based JavaScript and TypeScript semantics into a type-based language like C++. Learn about the challenges faced and decisions made in developing this framework for seamless integration of C++ and web technologies.
Syllabus
Type safe web development with C++ - Sebastian Theophil - Meeting C++ 2022
Taught by
Meeting Cpp