BlogsTemporalCore SDK Development

Core SDK Development

Core SDK Development

2
posts
2021–2025

Temporal is developing a new Core SDK in Rust to serve as a shared foundation for all language-specific SDKs. This aims to reduce duplicated logic, improve maintainability, and ensure high performance and reliability across languages. The Core SDK handles complex state reconciliation and event history processing, abstracting this logic away from individual language SDKs. Rust was chosen for its performance, safety, and ability to compile to WASM, enabling easier integration with various languages. This post details how Codex by OpenAI was used to improve the Java SDK, including fixing bugs, implementing missing features (like counting workflow executions using search attributes), and adding end-to-end tests, demonstrating the potential for AI agents to contribute to SDK development and readiness for agentic contributions.

2025

Improving our Java SDK with Codex by OpenAI

5/17/2025

This post details how Codex by OpenAI was used to improve the Java SDK, including fixing bugs, implementing missing features (like counting workflow executions using search attributes), and adding end-to-end tests. It also discusses the creation of AGENTS.md files to guide AI agents in understanding and interacting with codebases, and mentions that Temporal is used to power Codex's own reliability and scalability.

2021

Why Rust powers Temporal’s new Core SDK

4/20/2021

This post details the technical challenges in building Temporal SDKs, specifically the need for a shared core library to handle complex event history reconciliation and state machine logic. It explains the decision to build this Core SDK in Rust, highlighting Rust's advantages in performance, safety, and cross-language integration (via FFI and potential WASM compilation). The post outlines the architecture of a Temporal worker and the state machines involved, emphasizing that this core logic is language-agnostic. It also announces upcoming alpha releases of the Node.js SDK and plans to port the Go SDK to this new Rust core.