rust

Property-based testing in Rust with Proptest

Considering your code's abstract properties can help you understand it better. Learn how to conduct property-based tests in Rust with Proptest.
Zach Mitchell
14 min read

How to build a WebSocket server with Rust

WebSockets are fantastic both for interactive real-time web-experiences, as well as in combination with REST APIs to update the UI without the need for...
Mario Zupan
10 min read

How to organize your Rust tests

Testing is a cheap and easy way to find bugs. Learn how to implement doctests, black- and white-box tests, test helpers, QuickCheck, fuzz testing,...
Andre Bogus
8 min read

How to create a GraphQL server in Rust

Rust is a great option for building reliable and performant web backends in general, and its powerful macro support makes working with GraphQL an...
Joshua Cooper
6 min read

Getting up to speed with Rust

Learning Rust will help you get better at writing in other programming languages. This guide demonstrates how to set up your dev environment so...
Ingmar Jager
5 min read

Create an async CRUD web service in Rust with…

Learn how to create an asynchronous web app using warp and tokio-postgres and build a database-backed CRUD service with error handling — all in...
Mario Zupan
12 min read

How to build a dice roller in Rust

If you're an experienced programmer who is new to Rust — better yet, if you're a fellow D&D nerd — check out this tutorial...
Zach Mitchell
8 min read

Rust and Node.js: A match made in heaven

Rust and Node.js are a match made in heaven. This tutorial demonstrates how to build a native add-on for Node.js.
Anshul Goyal
16 min read

Creating a REST API in Rust with warp

Rust is a lot of folks’ favorite programming language, but it can still be hard to find a project for it or even to...
Bastian Gruber
7 min read

How to write CRaP Rust code

We Rustaceans like our code to be CRaP. That is, correct, readable, and performant. Learn how investing in the readability of your code upfront...
Andre Bogus
7 min read

How to create an API with Rust and Postgres

Learn how to create a REST API with Rust and Postgres, including writing simple endpoints, handling errors, maintaining a connection to the database, persisting...
Olasunkanmi John Ajiboye
9 min read

Node worker threads with shared array buffers and Rust…

Node.js worker threads empower you to scale JavaScript code across many CPU and even GPU cores, since you can access GPU over Rust WebAssembly.
Tigran Bayburtsyan
4 min read