News for hackers. Stuff that matters.
Re:Rust Traits Deep Dive, Part 2 by twic on Wednesday June 20, 2018 @03:33PM (#17358899)
One approach to this is to write a core program in Rust, and support it with a bunch of scripts in Python.

For example, i have a program that accepts data over the network, filters it according to some rules downloaded from a config server, and sends matching data somewhere. The packet handling, which needs to be fast and reliable, is in Rust; the downloading and parsing of the rules, which can be slow and just needs a sanity check at the end, is in Python.

There are no comments on this comment yet.