Floris Bruynooghe
I finally finished writing a huge walk-through of using #linux #udp sockets in #rustlang
https://devork.be/blog/2023/11/modern-linux-sockets/
It was fun exploring this all in excruciating detail. I have much better understanding of pointers in Rust, unsafe Rust, UB and soundness on top of the Vectorized IO and Generic Segmentation Offload that I set out to learn better.
Plus, manual memory management is so painful!
@flub cool stuff! we wrote a small statsd program last hackweek at $work, and it's been interesting getting to know the protocol and underlying socket APIs.
one peculiar thing with statsd is that, according to docs, metrics cannot be split across dataframes. do you know if there's any way to send an oversized packet into kernelspace but tell it to only split at certain boundaries such as \n?