4 ms·
> Neither I think Rust is fit for that purpose, any GC language is a better fit in terms of productivity There is nothing in Rust that makes it inherently unfi
by chmln 9y ago
> Neither I think Rust is fit for that purpose, any GC language is a better fit in terms of productivity
There is nothing in Rust that makes it inherently unfit for APIs or the web. To dismiss the entire language is simply lazy. Having GC also doesn't necessarily make one language superior to another.
While http ecosystem is still in active development, if there was really a choice between Rust and JS for e.g. writing an API I would go with Rust in a heartbeat.
- pjmlp 9y agoThe thing is, the choice isn't between Rust and JavaScript, rather between Rust and a list of other languages. Having a GC means having easier ergonomics to write data structures and distributed algorithms. I do like a lot Rust's type system, just the ergonimcs aren't quite there yet.
- chmln 9y ago> just the ergonimcs aren't quite there yet You're correct, but "Rust isn't easy to use for purpose X just yet" is substantially different from "Rust is inherently unfit for X"
- deleted 9y ago[deleted]
- Thaxll 9y agoExcept it takes 10x time to write anything backend related. Why would you choose Rust over Java / C# / Go ect ...?
- computerphage 9y agoExcept that number is completely made up. Why do believe it takes ten times as long?
- Thaxll 9y agoWhat Rust framework replace Java spring or equivalent, none of them so you have to write everything yourself. Rust doesn't have any ecosystem to write service side services so you're going to spend time by just re implementing a framework.
- steveklabnik 9y agoWhile Rust doesn't have many full-stack frameworks, many ecosystems don't favor full-stack frameworks. Rust has tons (arguably too many!) microframeworks/libraries. I do agree that there are holes, and that's part of being a young ecosystem, but I think you're being a bit too pessimistic. I understand this deeply, as I was once too! As things have evolved, my opinions have changed, though.
- pimeys 9y agoI don't buy this claim. I've written many services with Rust and I'm not slower with it that I am with GC'd languages I also need in my work, such as Clojure, Scala or Python. Please explain me where is this idea of slow development time coming from? Is it only because people try Rust for two weeks, cannot get the lifetimes and decide the development speed is slow?
- deleted 9y ago[deleted]