Valen is a programming language that aims to be not only fast and memory-safe, but also easy and flexible.
NOTE: Valen is still a prototype and barely past the proof-of-concept stage. There are holes and sharp edges. For example, String and HashMap require some more Rust-interop work. After a few months of solidifying and stabilizing, we'll release a 0.1 version that's nice and usable for basic cases. Stay tuned!
Our plans for Valen:
Cell, RefCell, etc.git clone https://github.com/valen-lang/valen ~/valencd ~/valencargo build --bin valecmkdir ~/my_valen_projectcd ~/my_valen_projectmkdir srcsrc/main.valen containing exported func main() int { return 42; }~/valen/target/debug/valec build --no-std --builtins-dir-override ~/valen/src/builtins/resources main=srcbuild/mainecho $? (should be 42)git clone https://github.com/valen-lang/rust ~/rustcd ~/rustgit checkout per-instance-mir (This is the branch with our rustc patches)config.toml:
[llvm]
download-ci-llvm = false
link-shared = true
./x build./x build --stage 2rustup toolchain link rustc-for-valen ~/rust/build/host/stage1ln -sf ~/rust/build/host/stage0/bin/cargo ~/rust/build/host/stage1/bin/cargogit clone https://github.com/valen-lang/valen ~/valencd ~/valencargo +rustc-for-valen build --features rust_interop --bin valenc-rs --bin valenmkdir ~/my_valen_projectcd ~/my_valen_projectValen.toml:
[project]
name = "test_project"
version = "0.1.0"
edition = "2021"
[rust-dependencies]
chrono = "0.4"
[[bin]]
name = "main"
source = "src/main.valen"
src/main.valen:
import chrono.TimeDelta;
exported func main() i64 {
d = TimeDelta.seconds(42i64);
return d.num_seconds();
}
COMPANION_RUSTC=$(rustup which --toolchain rustc-for-valen rustc) ~/valen/target/debug/valen build --manifest-path Valen.tomltarget/valen-build/target/debug/mainecho $? (should be 42)Let us know if the above sequence of commands doesn't work for you.
Valen is the successor to the Vale programming language.
Thank you to everyone who sponsored Vale! Vale existed because of your support, and Valen exists because Vale existed. Thank you to all of Vale's sponsors:
(top 24 of 25)
376 followers · starred Oct 2026
480 followers · starred Sep 2026
309 followers · starred Sep 2026
130 followers · starred Oct 2026
Valen is a programming language that aims to be not only fast and memory-safe, but also easy and flexible.
NOTE: Valen is still a prototype and barely past the proof-of-concept stage. There are holes and sharp edges. For example, String and HashMap require some more Rust-interop work. After a few months of solidifying and stabilizing, we'll release a 0.1 version that's nice and usable for basic cases. Stay tuned!
Our plans for Valen:
Cell, RefCell, etc.git clone https://github.com/valen-lang/valen ~/valencd ~/valencargo build --bin valecmkdir ~/my_valen_projectcd ~/my_valen_projectmkdir srcsrc/main.valen containing exported func main() int { return 42; }~/valen/target/debug/valec build --no-std --builtins-dir-override ~/valen/src/builtins/resources main=srcbuild/mainecho $? (should be 42)git clone https://github.com/valen-lang/rust ~/rustcd ~/rustgit checkout per-instance-mir (This is the branch with our rustc patches)config.toml:
[llvm]
download-ci-llvm = false
link-shared = true
./x build./x build --stage 2rustup toolchain link rustc-for-valen ~/rust/build/host/stage1ln -sf ~/rust/build/host/stage0/bin/cargo ~/rust/build/host/stage1/bin/cargogit clone https://github.com/valen-lang/valen ~/valencd ~/valencargo +rustc-for-valen build --features rust_interop --bin valenc-rs --bin valenmkdir ~/my_valen_projectcd ~/my_valen_projectValen.toml:
[project]
name = "test_project"
version = "0.1.0"
edition = "2021"
[rust-dependencies]
chrono = "0.4"
[[bin]]
name = "main"
source = "src/main.valen"
src/main.valen:
import chrono.TimeDelta;
exported func main() i64 {
d = TimeDelta.seconds(42i64);
return d.num_seconds();
}
COMPANION_RUSTC=$(rustup which --toolchain rustc-for-valen rustc) ~/valen/target/debug/valen build --manifest-path Valen.tomltarget/valen-build/target/debug/mainecho $? (should be 42)Let us know if the above sequence of commands doesn't work for you.
Valen is the successor to the Vale programming language.
Thank you to everyone who sponsored Vale! Vale existed because of your support, and Valen exists because Vale existed. Thank you to all of Vale's sponsors:
(top 24 of 25)
376 followers · starred Oct 2026
480 followers · starred Sep 2026
309 followers · starred Sep 2026
130 followers · starred Oct 2026