Rook
v1.0
Docs
Examples
Playground
I come from
JavaScript
TypeScript
Go
Русский
RU
Get started
Rook
Docs
Examples
Playground
Examples
Map editor
Edit an island, route resource deliveries and compare three ways for four regions to exchange state.
Catalog relay
Compare copied objects, delta messages and shared structures with verified worker measurements.
Image filters on every core
Five filters of a 1600 × 900 picture, on one thread and on every processor with go for.
A long job you can cancel
Fifty million numbers checked on another processor: progress through a channel, a page that stays free, and cancel() that stops the goroutine mid-loop.
Live import progress across workers
Two workers validate independent batches and publish their results to one shared record. The page reads progress as each batch completes.
JSON checked against a type
An order from an API checked when the program runs: decode gives a typed Order, or an error that says where the JSON does not fit.
Uploads three at a time
Three uploaders take files from one channel; a try that hangs is aborted by abortSignal(after(…)), and a failed one is tried again later.
Search as you type
Each key starts a search that waits for a pause and aborts the one before, and a log shows which answers got through: select, after, done and decode.
Map editor
Loading the island…