Skip to main content
Sifr is a compiled language that lets you write familiar Python-style code and get native Rust performance in return. If your Sifr program compiles, it works — the compiler enforces static typing, safe error handling, and ownership before a single line of your code ever runs.

Introduction

Installation

Quickstart

Type System

CLI Overview

Packages

Get up and running in three steps

1

Install Sifr

Run the official installer script to download a prebuilt binary for your platform, verify its checksum, and add sifr to your shell’s PATH.
curl -fsSL https://sifr.sh/install | sh
2

Write your first .sifr file

Create a file called hello.sifr and add a main function. Sifr uses Python syntax, so if you know Python, you already know the basics.
hello.sifr
def main():
    print("Hello from Sifr!")
3

Run it

Use sifr run to compile and execute your program in a single command. When you are ready to ship, sifr build produces a standalone native binary.
sifr run hello.sifr