Skip to content

Brass

Ownership without lifetime annotations, errors you cannot ignore, and permissions for files, processes and the network. Compiles to C.
import http
import net
let access = net.access().public_only()
let reply = try http.get(&access, &"https://example.com/")
print(reply.status)

Safe by construction

Moves and borrows are checked, data races are compile errors, and every error must be handled.

Permissions

Files, processes and the network are reached through permissions that only the main file can create.

Untrusted input

Text from outside stays Untrusted until it passes a check, like path_inside or html_escaped.

Markdown all the way down

Every page here is plain Markdown generated from the repository, so people and AI agents read the same thing.