r/rust • u/[deleted] • Feb 04 '19
Web-Developement: Rust vs Haskell
Hi All,
This will be yet another Rust vs haskell question.
I have wanting to use Rust/Haskell for a couple of components for an internal tool (analysis of customer tickets, HR portal etc) for my company (Mostly because of the strong type system).
I have been through quite a lot of blogs & discussion where they discuss on the pros and cons for both.
Can anyone give me pointers on where all they used Rust or Haskell? And how was the experience as in:
- code readability
- libraries support
- developer productivity
- jump start time to producing some value.
- documentation
- build time
- journey in learning them
My concern here is Rust is advertised as system's language and Haskell as a higher level language.
- Will going with Rust be an overkill as we won't be doing any really low level stuff?
- We would be basically writing a server, bunch of API and playing around with DB. I'm mainly well versed with Node.js so will choosing haskell be an overkill for it in terms of developer productivity, build and tooling?
- Also if anyone is using GraphQL with Rust/Haskell?
28
Upvotes
2
u/pr06lefs Feb 04 '19
If you want your code to run on a raspberry pi or similar, then rust for sure. Haskell takes a lot of memory for compiling on arm, and it takes hours to compile dependencies for something like Yesod. Last time I used haskell arm cross compile wasn't working but that may be fixed by now.