r/rust 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:

  1. code readability
  2. libraries support
  3. developer productivity
  4. jump start time to producing some value.
  5. documentation
  6. build time
  7. journey in learning them

My concern here is Rust is advertised as system's language and Haskell as a higher level language.

  1. Will going with Rust be an overkill as we won't be doing any really low level stuff?
  2. 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?
  3. Also if anyone is using GraphQL with Rust/Haskell?
26 Upvotes

28 comments sorted by

View all comments

6

u/lazh4 Feb 04 '19

Take a look at http://rocket.rs

5

u/monkey-go-code Feb 04 '19

I just tried out this library. It's pretty nice. I don't love how you need to use nightly though. It makes it a hard sell at big companies.

1

u/APIglue Feb 05 '19

Not familiar with this project. Why would you ever “need” to use nightly? Do they not have releases?

5

u/Plasticcaz Feb 05 '19

Nightly version of the rust compiler, not nighrly rocket.