Skip to main content

Common Expression Language (CEL) in Rust

UB2.252A (Lameere) | Day 2 | 11:00 - 11:25 | Speakers: Alex Snaps

Common Expression Language (CEL) in Rust
A picture of a devroom at FOSDEM 2024
Open in browser

Notes

Abstract

The Common Expression Language (CEL) is an expression language that’s fast, portable, and safe to execute in performance-critical applications. The CEL crate provides a parser and interpreter for the language that emerged from Google, but never provided an implementation for Rust. Given its traits, CEL is the perfect match for any Rust project that requires some sort of expression evaluation. We'll cover why that is the case and where these needs emerged from, then dive into the state of the Rust port of the interpreter, covering some of the challenges met along the way, like reviving the Rust runtime for antlr4.

Attachments

Speakers

Alex Snaps

Alex Snaps is a senior principal software engineer at Red Hat, working on a few different open source projects somehow related to the Kuadrant project hosted at the CNCF. He's a nerd for distributed system, programming languages and performance related subjects. He's been lucky enough to merge his passion with writing open source professionally for almost 20 years. Having written his first lines of code at age 8 and hasn't stopped since, for over 40 years now.


Notice: The placeholder video image is licensed under CC BY-SA 4.0. The original image can be found hereChanges made to the image are: Cropped the image to a new ratio, part of the image was cut off.