placeholder

Building fast interpreters in Rust

In the previous post we described the Firewall Rules architecture and how the different components are integrated together. We created a configurable Rust library for writing and executing Wireshark®-like filters in different parts of our stack written in Go, Lua, C, C++ and JavaScript Workers.

Click to view the original at blog.cloudflare.com

Hasnain says:

This was a great read on how to build an interpreter in Rust for a simple Wireshark-like language for writing packet filters.

They go through lexing, parsing, and even have a bonus section on execution engines. Great if you want to learn Rust or just want to scratch an itch.

Posted on 2019-03-07T05:23:32+0000