Hello Fastly Community! ![]()
We’re thrilled to announce the Beta release of the official C++ SDK for Fastly Compute!
Why C++ at the Edge?
Our SDK combines the gold standard performance of C++ with Fastly’s WebAssembly (Wasm) runtime, offering:
-
Blazing-fast execution: Achieve microsecond cold-start times with low-level, efficient Wasm bytecode.
-
Memory-Safe C++: Leverage the isolation of Wasm’s sandbox for safer edge applications.
-
Lower operational costs: Use CPU resources efficiently while maintaining top-tier performance.
Cool Use Cases
Here’s how you can deploy C++ logic to the edge:
Gaming: Build latency-critical features like matchmaking APIs and real-time player state synchronization.
IoT & High-Tech: Process vast telemetry streams and run predictive maintenance calculations directly at the edge.
Interactive Media: Implement advanced cryptography, real-time ad-stitching, or compression algorithms.
What Does the SDK Offer?
This SDK is designed to feel familiar to seasoned C++ engineers, with industry-standard bindings to Fastly’s powerful edge computing tools, such as KV Stores and Config Stores. It also supports polyglot development, allowing seamless integration of C++ with other languages like Rust or JavaScript.
How to Get Started
Visit our GitHub repository for the SDK: https://github.com/fastly/compute-sdk-cpp
Explore the documentation and examples.
We want to hear your feedback and help you succeed, so don’t hesitate to start a conversation below! Feel free to share your initial thoughts, questions, or ideas for exciting use cases.
Cheers,
The Fastly Team