Hacker News new | ask | show | jobs
by ronanyeah 2061 days ago
I come from a Node.js background and picked up Rust about a year ago, after dabbling with Haskell, Elixir and Purescript.

---

Things I like:

- Modern type system. Sum types, Option type etc

- Strict compiler. If it compiles, it works.

- Great error messages.

- Mature package tooling. Cargo is at least as good as npm.

- Mature GraphQL packages.

- Decent cloud support. Github actions, Container guides.

---

I've been running it in production for a while, usually as a remote schema for Hasura: https://github.com/ronanyeah/rust-hasura

Deploy pipeline:

- Push to github

- Github action builds binary

- Github action pushes binary to AWS ECS in a container

- This triggers a rebuild of the AWS Fargate service which restarts with new Rust code