Rust at the Core - Accelerating Polyglot SDK Development

QCon San Francisco 2025

Session Rust

Rust at the Core - Accelerating Polyglot SDK Development

Monday Nov 17 / 03:55PM PST, Seacliff ABC at Hyatt Regency, San Francisco

Abstract

Developing SDKs for your users in multiple languages can come at a high cost - especially if you need to implement complex logic client side, but traditionally options for sharing logic across those languages have been quite limited.

Rust provides a means of defining shared logic usable from multiple languages, much like you could with C, without having to… write C. Combined with an IDL for representation of shared objects, you have a powerful means to keep your language-specific layer thin.

In this presentation I’ll explain the architecture of Temporal’s open source SDKs, and how we use it to centralize some extremely complex logic across 5 user-facing SDKs written in different languages.

Topics will include:

  • What Rust helps us with
  • IDL choices and serialization concerns
  • Asynchronous task representations across language boundaries
  • Compiling to WebAssembly to avoid native extension issues
  • Staying idiomatic in the host language
  • Limitations and pitfalls

Interview

My session is about how devs who need to work in multiple languages can leverage Rust as a safe, modern, foundation for shared logic. Thereby keeping their language-specific layers thinner. This is by no means a new technique, but Rust provides a much safer and more convenient alternative to C.

The language landscape slowly, but inexorably, continues to expand. Developers expect to be met where they are, in their language of choice. The techniques in my talk allow library developers to more efficiently expand their coverage to additional languages than they could otherwise. Additionally, relatively recent technologies like WebAssembly unlock new and powerful alternatives to shipping native code, and Rust is at the forefront of that ecosystem.

Communicating between the native code and the language layer is nontrivial, especially when many languages are involved. Supporting a large matrix of operating systems and architectures can be a challenge, as can packaging and shipping the native extensions (for related reasons). I'll cover some techniques for solving these problems.

Immediately is a hard goal - but hopefully attendees will come away with some ideas for how they can either refactor an existing multi-language project to reduce its complexity, or a battle plan for any new project with such needs. They may also decide to familiarize themselves with Rust if they aren't already, which can be useful not only for the scenarios my talk covers, but possible usages of Rust beyond that.

QCon's long history stands out to me. It has a reliable reputation for delivering quality content, and avoids being overly marketing-heavy or trend-chasing. It appeals to senior engineers who are in search of genuinely deep technical content. 

Topics

Rust Programming languages SDKs Polyglot Development Shared Libraries
76% senior dev or higher
1:11 speaker ratio
60+ practitioners

QCon San Francisco 2025 is a three day conference for senior software engineers, architects and team leads. An international program committee of working engineers selects every session. Patterns and practices, not products and pitches.

Share

From the same track

Monday 17 November

10:35 Ballroom BC Session AI Designing AI Platforms for Reliability: Tools for Certainty, Agents for Discovery Aaron Erickson Senior Manager and Founder of the DGX Cloud Applied AI Lab @NVIDIA, Previously Engineer @ThoughtWorks, VP of Engineering @New Relic, CEO and Co-Founder @Orgspace 11:45 Ballroom BC Session Fleet Management Confidently Automating Changes Across a Diverse Fleet Casey Bleifer Senior Software Engineer @Netflix 13:35 Seacliff ABC Session AI/ML Secure Software Supply Chain: Risk Prediction at the Speed of Development Bishwajeet Paul Architect, Platform Engineering @JPMorgan Chase - Specializing in Solving Complex Challenges for the Developer Community 14:45 Pacific DEKJ Session CI/CD Keeping the Mainline Green Across Diverse Language Monorepos Dhruva Juloori Senior Software Engineer @Uber, Core Contributor to SubmitQueue (Uber's CI System at Scale), Expert in Machine Learning, Distributed Systems, and Developer Productivity 15:55 Seacliff ABC Session Rust Rust at the Core - Accelerating Polyglot SDK Development Spencer Judge Engineering Manager @Temporal Technologies, previously Senior Software Engineer @Transparent Systems, Senior Software Engineer @ Tableau Software 17:05 Ballroom A Session Vibe Coding Directing a Swarm of Agents for Fun and Profit Adrian Cockcroft Technology Advisor and Consultant @OrionX.net, Previously VP Open Source and Sustainability @Amazon, Cloud Architect @Netflix, Distinguished Engineer @eBay