How to Create a TCP Server in Rust
Learn how to build a simple TCP echo server in Rust with the standard library.
Rust is a systems programming language that focuses on safety, speed, and concurrency. I've been using Rust extensively for WebAssembly development and systems programming. These posts document my Rust learning journey, from basic concepts to advanced patterns, with a focus on practical applications.
Learn how to build a simple TCP echo server in Rust with the standard library.
Learn how to implement binary search in Rust with generics and pattern matching, using only the standard library.
Learn how to read different CSV files in Rust using the csv crate.
Fermyon Spin now supports using Azure Cosmos DB as key-value store for your Spin apps. This article explains how to get it up and running in no time!
Learn how to compute the SHA256 hash of a file in Rust with the sha2 crate.
Learn how to download an image from the web and store it in a file in Rust using reqwest.
Learn how to build a vector containing all file names of a directory in Rust.
With Fermyon Spin 1.1, Spin SDKs for Rust and Go come with built-in routers for HTTP apps. This article demonstrates how to use the new router in Rust to layout a full-fledged HTTP API.
In this post, we will build a HTTP router in Rust using enums and pattern matching to address more sophisticated routing scenarios in single component Spin apps.
This article demonstrates how to leverage the built-in key-value store in Fermyon Spin by building a URL shortener.
This post demonstrates how to persist data in MySQL when building cloud-native applications with Fermyon Spin. Leveraging the Spin SDK for Rust.
Learn how to use sensitive and non-sensitive configuration data in Fermyon Spin. Pull secrets from HashiCorp Vault, and read configuration data from components written in Rust.
WebAssembly will change the way we architect cloud-native applications. Start your WebAssembly journey on the server and in the cloud with Fermyon Spin
Build a gRPC server and client in Rust with tonic 0.14: the proto file, tonic-prost-build codegen, protoc setup and working server and client code.
See how to check if your application runs inside of a Docker container or not. This post shows how to do it with no 3rd party deps. Samples in Go and Rust