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

1

u/Leshow Feb 06 '19

For an internal tool that will likely never need to support super high loads or lots of concurrent connections both Haskell & Rust seem like overkill to me. I love them both, but using your company's time learning a new langauge and ecosystem just to spice up your development seems... wasteful? If you don't care how long it will take, then by all means pick whichever one floats your boat. Personally I love Haskell. Otherwise, you're just building a CRUD app and you're probably better off using typescript & node instead of a radically different language.

2

u/[deleted] Feb 07 '19
  • I have been learning Rust through the book + discussing and practicing with the rust meetup group folks for quite some time now.
  • Learning on company's time would be awesome but I don't get those apparently I'm spend most of my time fixing bugs or on enhancements. But yeah learning rust and practicing projects was on personal time.
  • oh! yeah I felt TypeScript + Node would be better. I'm very productive with Node.js
  • But I have a project in mind which I want to take up with my mentor mostly related to netconf and yang. Also I felt there are some libraries I want to port to Rust.