[ANN] A tutorial for jlrs

Taaitaaiger
Fri, 20 Sep 2024 17:57:15 +0000
Package Announcements

jlrs is a crate for the Rust programming language for interop between Rust and Julia. You can use it to embed Julia in Rust applications, and to generate interfaces to libraries written in Rust.

This project has finally reached the point where I’m reasonably happy with the API and I expect it to remain more stable than it has used to be, so it felt like the right time to write a tutorial. While documentation has been available since the early versions, it can be hard to read without already being familiar with jlrs. Unlike the documentation, the tutorial introduces concepts one-by-one and provides many examples for clarification.

The tutorial is extensive. It covers both basic topics like setting up a project and calling Julia functions from Rust, and advanced topics like writing a recipe for Yggdrasil. It only assumes familiarity with the Julia and Rust programming languages.

I admit I’m not the best writer, so if you find anything unclear, please open an issue!

Tutorial
GitHub - Tutorial
GitHub - jlrs

5 posts - 3 participants