3 ms·
In my dayjob I use Haskell + Rust and in many ways I feel like Haskell is a higher level Rust.
by rowanG077 4y ago
In my dayjob I use Haskell + Rust and in many ways I feel like Haskell is a higher level Rust.
- losvedir 4y agoOh, of course Haskell should be on the list, at least from the language/types perspective! What about packages? Last I looked into Haskell (years ago), there was some light controversy over two competing package ecosystems, I think. Has that settled down?
- whateveracct 4y agoThere's never been competing ecosystems. There is and has been one package manager: cabal. You are probably referring to stack, which is a just wrapper around cabal that makes some decisions for you. For instance, it pins a set of packages to known-to-work-together versions. It also provides a different CLI (cabal's is a bit verbose). Today, cabal has improved quite a bit (Nix-style builds, for instance), so the pain stack was invented to help with isn't really there anymore. If you invented stack today, it probably wouldn't get the same level of adoption. But there are plenty of good packages out there. There often are many different packages for the same thing with different approaches (best part of Haskell!), but for core infrastructure the ecosystem tends to settle and rally around one.
- nextos 4y agoCan you elaborate a bit further how you combine both?
- rowanG077 4y agoWe use haskell to design digital circuits using clash[1] and currently using Rust on the driver side. We also have multiple web apps with Haskell backends using rescript in the front end. [1] https://github.com/clash-lang/clash-compiler https://github.com/clash-lang/clash-compiler