Hasty Briefsbeta

Bilingual

Roto: A Compiled Scripting Language for Rust

a year ago
  • #Rust
  • #Scripting Language
  • #Embedded Development
  • Roto is a compiled, statically typed scripting language designed for Rust applications, offering speed and reliability.
  • Developed for Rotonda, a BGP engine in Rust, Roto enables complex route filtering beyond configuration language capabilities.
  • Key features include static typing, JIT compilation with cranelift, hot-reloadability, and tight Rust integration for performance.
  • Roto scripts can use custom types and methods provided by the host application, like AddrRange in the example.
  • The language supports both conventional functions and specialized constructs like filtermap for easier filter writing.
  • Roto allows direct use of many Rust types and methods without serialization, minimizing overhead.
  • Designed as a general-purpose scripting or plug-in language, Roto is not limited to Rotonda.
  • Currently under development, Roto is not yet stable but open for feedback and experimentation.