News for hackers. Stuff that matters.
Re:Four years with Rust by olauzon on Wednesday December 21, 2016 @04:34PM (#13232818)
I've been using Rust to process fairly large amounts of streaming financial data. I am using Protocol Buffers (and evaluating Cap'n Proto) for network serialization and Kafka for buffering/queuing, and overall the library support is quite good.

Previously I was using JVM languages for this purpose, but grew weary of the resource footprint, and especially the unpredictable GC pauses. I am aware of the Azul JVM which removes GC pauses and of various Java techniques to avoid GC altogether, but switching to Rust provided a GC-less model from the ground-up, a powerful type system, and familiar functional programming facilities at no cost.

Re:Four years with Rust by kibwen on Wednesday December 21, 2016 @06:57PM (#13233699)
What Rust libraries are you using for protobufs?
Re:Four years with Rust by olauzon on Thursday December 22, 2016 @01:52AM (#13235415)
I have been using https://crates.io/crates/protobuf. It generates pure Rust protobuf implementation files.
Re:Four years with Rust by bjz_ on Wednesday December 21, 2016 @08:52PM (#13234174)
How easy is it to get Kafka and Rust working together?
Re:Four years with Rust by olauzon on Thursday December 22, 2016 @02:01AM (#13235445)
Fairly straightforward overall using https://crates.io/crates/kafka. The client doesn't automatically handle Kafka node failures, so that's the responsibility of your application code.

I haven't had the chance to try https://github.com/fede1024/rust-rdkafka yet, but it looks promising and partially wraps the C/C++ library https://github.com/edenhill/librdkafka.