Introduction
One year ago, NLnet Labs introduced Roto, a JIT-compiled embedded scripting language designed to integrate seamlessly with Rust. Over the past year, Roto has undergone significant developments worth exploring. Initially developed for the Rotonda project, Roto is now finding its place in other applications due to its flexibility and performance.
Language Evolutions
Roto has benefited from six major updates, each bringing new features, bug fixes, and language improvements. Notable additions include while and for loops, f-strings for string formatting, and new operators like %. The List type was introduced, allowing for the creation and manipulation of lists of any Roto type.
Among the technical challenges addressed, the ability to pass these lists between Rust and Roto was a priority, now achieved efficiently. Furthermore, Roto's syntax has been adjusted to resemble Rust more closely, facilitating its adoption by developers familiar with the language.
Adoption and Use Cases
Since its launch, several external projects have adopted Roto as their scripting language, demonstrating its utility and reliability. Conferences such as EuroRust and FOSDEM have allowed Roto to be presented to a broader technical audience, increasing its recognition and use.
Documentation and Community Development
Roto's documentation has been extensively improved with the collaboration of a technical writer, making the language more accessible to new users. Roto's development has also been moved to Codeberg, an open-source platform, fostering increased community participation.
Future Prospects
With a solid foundation and growing adoption, Roto is well-positioned to continue evolving. Future releases might integrate unique features not present in Rust, such as advanced filtering and string formatting.
Conclusion
One year after its launch, Roto stands out as a powerful tool for Rust developers looking to integrate a performant and flexible scripting language. Whether for internal or external projects, Roto offers a robust solution that continues to be enriched by its community's contributions.
Let's discuss your project in 15 minutes.