Roto: A Statically-Typed Embedded Scripting Language for Rust

2025-05-21
Roto: A Statically-Typed Embedded Scripting Language for Rust

Roto is an embedded scripting language for Rust applications, designed to be simple, fast, and reliable. Born from the need for more flexible filtering in Rotonda, a Rust-based BGP engine, Roto allows users to write complex filters with ease. It's statically typed, JIT-compiled, and hot-reloadable, ensuring performance and safety. Roto seamlessly integrates with Rust, allowing direct registration of Rust types and methods, eliminating costly serialization. While still under development, Roto offers documentation and examples for those interested in experimenting.

Development