Raven is a new systems and application programming language designed to combine the performance and control of C++, the safety and modern features of Rust, the readability of Python, the structure of Java, and the simplicity of Go.
https://raven.ufazien.com ↗// readme
A modern programming language built with Rust.
Fast, safe, expressive, and easy to read.
· · ·
Why Raven
- Compiled to native machine code through Cranelift, into a single static binary.
- Static typing with generics, traits, and sum types checked by an exhaustive
match. - A tracing garbage collector and
Result/Optioninstead ofnull. - Goroutines and channels that run in parallel across CPU cores (an M:N scheduler over a multi-threaded collector), with mutexes, wait groups, and
select, and a C FFI for native libraries. - A package manager (
rvpm), one canonical formatter, and a VS Code extension.
Quick Example
struct User {
name: String,
age: Int,
}
fun greet(user: User) -> String {
return "Hello ${user.name}, you are ${user.age}"
}
fun main() {
let u = User { name: "Raven", age: 2 }
print(greet(u))
}
Install
Download the installer or archive for your platform from the releases page:
- Linux:
.deb,.rpm, or.tar.gz - Windows:
.msior.zip
This installs the raven compiler and the rvpm package manager…