Is Rust suitable for building HTTP APIs?

Porting a serverless chatbot from Python to Rust

Notes on the experience of porting a small chatbot HTTP API from Python to Rust using the Rocket web framework.

Azure vs Google vs AWS

Creating a Python serverless bot

Python bot posting our daily Mailchimp stats into Basecamp.

Why port to Rust?

Reason 1: Fun and interesting

Reason 2: Portability

The final 100% static, upx compressed binary. Only 2.5MB.

Reason 3: Developer tooling

Challenges learning Rust

Language challenges

Web framework challenges

Chatbot running the embedded web server framework, Rocket.

Build challenges

Compiling totorobot for Linux musl on GitHub Actions.


Co-founder — the best tools for developers. Researching sustainable computing at Uptime Institute.