News for hackers. Stuff that matters.
Re:Rust is Not so Hairy by sanxiyn on Tuesday June 19, 2018 @02:57AM (#17344348)
Yup, Java is fast, but OP shared that Rust used 7 MB to do the same thing for which Java used 240 MB.
Re:Rust is Not so Hairy by nevi-me on Tuesday June 19, 2018 @03:19AM (#17344431)
From looking at the traces, the performance difference between the two is minimal (on a per op basis). This mainly because both the Java and Rust services don't do much beyond interfacing with Redis/Tile38.

The impressive and important thing is the amount of resources used in performing their tasks. With a little math you can see that I have 64GB RAM, which is plenty. What remains scarce is CPU cycles, so if I can do more on the same machine; I'm happy.

Re:Rust is Not so Hairy by nazka on Tuesday June 19, 2018 @05:23AM (#17344986)
Nice post. I will be really curious to see the same microservice done with Go and compare all of them.
Re:Rust is Not so Hairy by nevi-me on Tuesday June 19, 2018 @05:47AM (#17345101)
My Go is very basic, but I can follow up with a Go impl and compare it with Rust. The code shouldn't take an experienced Go programmer more than an hour, as it's mainly mapping gRPC calls to Redis calls.
Re:Rust is Not so Hairy by kaixi on Wednesday June 20, 2018 @07:30PM (#17360839)
Please do. I'm interested as well.