Make room for the work.
W is designed to eliminate intermediate objects, fuse operations, and specialize hot paths. Less data moving around. More work getting done.
W is a heapless, general-purpose language for fast execution and a featherweight footprint.
A DIFFERENT FOUNDATION
W is designed to eliminate intermediate objects, fuse operations, and specialize hot paths. Less data moving around. More work getting done.
Temporary storage is reused. Results are constructed in their destinations. W takes a different approach to memory, without a garbage collector.
Explicit numeric types, familiar functions, and inference for ordinary code. A precise language that feels approachable from the first line.
THE SHAPE OF W
A function, a loop, a result. W keeps the familiar building blocks and rethinks what sits beneath them.
fn / mut / while / rt
pub fn sum(limit: i32): i32 {
mut total: i32 = 0
mut index: i32 = 0
while index < limit {
total += index
index += 1
}
rt total
}STILL TAKING SHAPE