Wing is a programming language created in 2022 by Elad Ben-Israel.
#472on PLDB | 2Years Old |
git clone https://github.com/winglang/wing
A programming language for the cloud โ๏ธ A unified programming model, combining infrastructure and runtime code into one language โก
bring cloud;
let queue = new cloud.Queue(timeout: 2m);
let bucket = new cloud.Bucket();
let counter = new cloud.Counter(initial: 100);
queue.on_message(inflight (body: str): str => {
let next = counter.inc();
let key = "myfile-${next}.txt";
bucket.put(key, body);
});