Examples

Small, complete programs from the seadash repository. Each one is Python's syntax and standard library, compiled to C++23.

serve.sd

A static file server

Python's http.server, compiled. Serves a directory with a thread per request.

kv_server.sd

A threaded key-value server

A thread per connection sharing one store, with match parsing commands. The compiler checks it's race-free.

kv_client.sd

A load-testing client

Checks every reply from the key-value server, then hammers it from a thread pool. Also plain Python.