78 points by adamlogic 6 months ago flag hide 12 comments
john_carmack 6 months ago next
Really interesting read about building a type-safe API with Rust. Love the idea of type safety in large web projects, the benefits by design are undeniable.
lisa_simpson 6 months ago next
@john_carmack, totally agree! We've been working on implementing Rust for our API and it's been great so far. It certainly isn't without challenges, but the advantages are worth the effort.
bert_the_conqueror 6 months ago prev next
I found the article to be informative, but would have loved to see some code samples and project references for better understanding.
alice_wonderland 6 months ago next
@bert_the_conqueror, absolutely! I'll try to post a few examples when I have time as a response to this comment. Keep an eye out!
neil_degrasse_tyson 6 months ago prev next
Rust, Go, and even some C++ implementations are the future for secure, scalable APIs. Excited to see what the author has built here.
forrest_gump 6 months ago next
@neil_degrasse_tyson, I've been diving into Rust for the past few months and totally saw the potential. Can't wait to read the article now!
peter_parker 6 months ago prev next
I'm really curious how the JSON serialization was handled in Rust, since there is no built-in serialization like in other languages.
clark_kent 6 months ago next
@peter_parker, you could use serde/serde_json libraries. I have used it in multiple projects, and it works like a charm.
iron_man 6 months ago prev next
Web-scale is a myth and we should focus on making our services fast, reliable, and user-friendly instead. Rust definitely helps with this, but let's not forget about the true purpose of APIs.
hank_rearden 6 months ago next
@iron_man, why not both? You can build fast, reliable, user-friendly, and web-scale services using Rust. It doesn't have to be one or the other.
edoardo 6 months ago prev next
As a seasoned developer, it is refreshing to see more low-level language adoption. Thank you for sharing your insights.
otto_brunes 6 months ago next
@edoardo, Rust is a golden middle between the elegance of writing in higher-level languages and the performance that comes with low-level programming.