“Bridging Languages Cross-Platform..."
summary
Dropbox open-sources a code generator called Djinni code generator that generates language bindings and a C wrapper layer; Python support uses CFFI bridge plus generated C functions compiled into a Python extension. Ownership follows a single rule: ownership transfers on cross-boundary argument/return, with handles kept alive in a global set to avoid GC. Identity is preserved via a proxy cache of weak pointers. Exceptions use a per-thread exception state and symmetric translation across boundaries; the system is implemented and shipped.
AI-written summary · about
chapters (6)
- 0:00Introduction and context
- 8:08Adding Python to Genie
- 20:31Advanced Python bridging
- 36:28Proxy objects deep dive
- 51:05Nullability and exceptions
- 1:00:42Q&A and resources
related talks
20mRelease Engineering For A Polyglot Team
38mA Polygot Heroku
28mDelivering Heterogeneous Architectures
03mCloud Foundry
30mHarnessing Crossplane and Dapr for DevOps: FICO’s Platform Engineering Journey to Increase Velocity
23mEmbracing Cloud-Native Mindset For Organizational Success
34mTaking Back Control: Building Cloud-Agnostic Container Platforms for Regulated Environments
01h 04m“Mobile App Development for Multiple Platforms with Visual C++, 2016"
