Javascript, WebViews and C++
“If You Can’t Beat Them, Join Them”
This talk is an "everything you need to know" about the pros, cons, tricks, tips and gotchas of using a WebView and javascript in your native C++ app or plugin.
Over the last few years, more and more developers have been drawn to web-technology for their GUIs because HTML/CSS/JS is so ubiquitous, has great tools, a huge ecosystem, and is fast to iterate on. However, gaffer-taping a WebView onto some back-end code written in C++ can be complicated.
After 30 years of writing UIs (and UI frameworks) in C++, I've spent the last couple of years migrating to WebViews in several projects. This talk is a brain-dump of what you need to know about this from the perspective of an audio/realtime C++ developer.
I'll cover the essential best-practices of how to create and manage mixed C++/JS projects, lessons learned, gotchas, benchmarks, top tips, and all the pros and cons you might be wondering about if you're a "web-curious" C++ coder.
Julian Storer
Founder
Cmajor Software Ltd
I'm the creator of JUCE, Tracktion, Cmajor and CHOC 🙂