2 ms·
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
by twic 8y ago
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.