Examples

I/O & Networking

Get Started Build, install, backend selection, first coroutine program, reading lines and bytes.

Echo Client/Server Async TCP echo server with per-client TVoidTask handlers. Echo client using TLineReader, TByteWriter, TByteReader. Backend selection walkthrough.

Market Data Feed Full wss:// WebSocket client: DNS → TCP → TLS → WebSocket upgrade → subscribe → read loop. Kraken real-time ticker demo.

Networking — DNS, HTTP, WebSocket, SSL/TLS, Subprocess Recipes for every networking primitive:

Actor System

Actor System All three actor styles (IActor, ICoroActor, IBehaviorActor + TBehavior) with code examples. TActorContext API reference. Local and distributed setup. POD vs non-POD message serialization. Benchmarks.

Benchmarks

I/O Benchmarks vs libevent echo-server throughput on epoll / kqueue / IOCP / select across Linux, macOS, and Windows.

Real-World Usage