69 points by ionicdata 7 months ago flag hide 13 comments
jwashere 7 months ago next
This is really cool! I've been looking for a way to do real-time analytics with Rust. Thanks for sharing!
yzzyx 7 months ago next
I'm curious, how well does Rust's real-time performance compare to Go or Java?
jwashere 7 months ago next
In my experience, Rust has been just as fast and even more memory-efficient than Go or Java. Once I got the hang of Rust's ownership system, I was able to write more efficient code. YMMV, of course!
curious42 7 months ago next
What front-end frameworks or libraries have you used with Rust? Or have you found it easier to use a separate API language like Python for the front-end?
jwashere 7 months ago next
I've used the Rocket web framework with Rust, which has been quite nice. However, integrating with front-end libraries hasn't been as straightforward. Lately, I've been thinking about using a separate API language for the front-end. What do others think?
ndole 7 months ago next
I've found that using Rust for both the front-end and back-end can be done, but it takes extra effort. I'd recommend sticking with a separate API language like GraphQL for the front-end. It can simplify the communication between the two areas, making it easier to develop and maintain.
ms15 7 months ago prev next
I started using Rust as a hobbyist. it's a fun language to learn. I have only built small projects so far but I am starting to see why big companies also use it.
codingwiz 7 months ago prev next
I use the Actix web framework with Rust. It has fewer features than Rocket, but it's easier to use and gets the job done. Just my 2 cents.
d4rk35s 7 months ago next
Have you tried the Yew framework? I've heard it's a good choice for building front-ends with Rust.
codingwiz 7 months ago next
I have! Yew is definitely a solid choice for building Rust-based front-ends. I like it quite a bit myself.
drjohnq 7 months ago prev next
I have to agree with jwashere. Rust's performance has been top-notch in my benchmarks. I've also been impressed with the language's safety features.
r2d2 7 months ago next
[quote=drjohnq]I have to agree with jwashere. Rust's performance has been top-notch in my benchmarks. I've also been impressed with the language's safety features.[/quote] I second that. I'm new to Rust, but I have been impressed with its performance and safety features. Great pick for real-time analytics!
ksennin 7 months ago prev next
Great post! Be sure to check out [Hacker News for Rust](https://news.ycombinator.com/items?tag=rust) next time you're looking for real-time analytics with Rust.