rust (51 articles)

Using Polars in Rust for high-performance data analysis

05.11.2024 - 44m read - rust polars data analysis

In this post, we'll build a basic data analysis pipeline using Rust and Polars.


Building cross-platform GUI apps in Rust using egui

06.09.2024 - 57m read - rust egui gui

In this post, we'll build a simple cross-platform GUI using Rust and egui.


Leverage Rust and wgpu for effective cross-platform graphics

11.06.2024 - 96m read - rust wgpu

In this post, we'll check out wgpu and see how we can build a very basic GUI out of triangles using the GPU.


Building a simple AI chatbot using Rust and Ollama

08.03.2024 - 9m read - rust async ai llm ollama llama2

In this post, we'll build a simple AI chatbot, leveraging a locally running LLM, using Rust and Ollama.


Using CRDTs to build collaborative Rust web applications

23.02.2024 - 54m read - rust crdt

In this post, I’ll show how to build a simple web app leveraging CRDTs for keeping consistent state between all clients.


Using Cap'n Proto with Rust

09.08.2023 - 22m read - rust capnproto serialization rpc

Cap'n Proto is a binary serialization and RPC system optimized for performance. In this article, we'll take a look at how we can use it within Rust.


Writing webpack plugins in Rust using SWC for faster builds

21.06.2023 - 17m read - rust webpack swc

In this post, I’ll show how to use SWC for writing Webpack plugins in Rust.


How to build a WebSocket server with Rust

12.05.2023 - 20m read - rust web websocket

In this post, I’ll show how implement a WebSocket server with Rust.


Create an async CRUD web service in Rust with warp

09.05.2023 - 32m read - rust async crud warp

In this post, I’ll show how to implement an async CRUD Rust web application using Warp.


Concurrent programming in Rust with Crossbeam

22.12.2022 - 21m read - rust concurrency crossbeam

In this post, I’ll show how to use Crossbeam for concurrent programming in Rust.


Fleet: A build tool for improving Rust’s Cargo

20.08.2022 - 7m read - rust build fleet

In this post, I’ll show how to improve Rust build times using Fleet.


Understanding String and &str in Rust

12.08.2022 - 13m read - rust string str

In this post, I’ll go into the differences between String and &str in Rust.


Configuring Vim for Rust development

16.06.2022 - 10m read - rust vim

In this post, I’ll show how to configure Vim for Rust.


Substrate blockchain application with a custom React frontend

15.06.2022 - 29m read - rust blockchain substrate frontend react

In this post, I’ll show how to implement a custom React frontend for a Rust-based Substrate blockchain application.


How to build a custom blockchain implementation in Rust using Substrate

01.03.2022 - 29m read - rust blockchain substrate

In this post, I’ll show how to implement a custom blockchain in Rust using Substrate.


Substrate blockchain development: Core concepts

15.01.2022 - 11m read - rust blockchain substrate

In this post, we'll look at the core concepts of the Rust-based Substrate blockchain development Framework.


How to build a blockchain in Rust

14.12.2021 - 63m read - rust blockchain

In this post, I’ll show how to implement a simple Blockchain from scratch in Rust.


Iced.rs tutorial: How to build a simple Rust frontend web app

27.10.2021 - 39m read - rust web iced

In this post, I’ll show how to implement a frontend Rust web application using iced.rs.


Full-stack Rust: A complete tutorial with examples

26.09.2021 - 105m read - rust web redis

In this post, I’ll show how to implement a full-stack Rust web application.


Build a Rust + WebAssembly frontend web app with Yew

29.06.2021 - 44m read - rust web wasm yew

In this post, I’ll show how to implement a Rust frontend, WASM-based web application.


Machine learning in Rust using Linfa

15.05.2021 - 22m read - rust ml linfa

In this post, I’ll show how to create a basic machine-learning application in Rust.


An introduction to profiling a Rust web application

12.05.2021 - 28m read - rust web profiling

In this post, I’ll show how to profile a Rust web application.


Debugging Rust apps with GDB

26.02.2021 - 24m read - rust gdb debugging

In this post, I’ll show how to use GDB to debug Rust applications.


Rust and TUI: Building a command-line interface in Rust

15.02.2021 - 48m read - rust tui cli

In this post, I’ll show how to implement a command line application using TUI.


libp2p tutorial: Build a peer-to-peer app in Rust

31.12.2020 - 38m read - rust p2p libp2p peer2peer

In this post, I’ll show how to implement a peer-to-peer application in Rust using libp2p


Parsing in Rust with nom

30.12.2020 - 48m read - rust parsing nom

In this post, I’ll show how use the nom library for parsing in Rust.


Timezone handling in Rust with Chrono-TZ

05.12.2020 - 12m read - rust tz timezone chrono

In this post, I’ll show how to handle timezones in a Rust web application.


JWT authentication in Rust

05.12.2020 - 29m read - rust web jwt

In this post, I’ll show how to implement JWT authentication in a Rust web application.


Write a simple web service in Rust using hyper

03.12.2020 - 25m read - rust web hyper

In this post, I’ll show how to implement a Rust web application using the hyper library.


Easy guide to JSON input validation in Rust web services

28.11.2020 - 25m read - rust web json validation

In this post, I’ll show how to implement JSON input validation in a Rust web application.


Basic Reactor and Executor for non-blocking IO in Rust

23.11.2020 - 37m read - rust nonblocking async futures

In this second part of our journey to try and understand how async I/O works in Rust, we'll build a simple reactor/executor model.


Configuration management in Rust web services

12.11.2020 - 16m read - rust web config

In this post, I’ll show how to implement configuration management in a Rust web application.


File upload and download in Rust

01.11.2020 - 12m read - rust web upload download

In this post, we'll look at how to implement file upload and download in a Rust web application.


Basic non-blocking IO using epoll in Rust

20.10.2020 - 28m read - rust epoll linux async nonblocking

This is the first blog post in a small series, where we will explore the basics of non-blocking IO in Rust. We'll start by building a minimal HTTP server using epoll


Template rendering in Rust

12.10.2020 - 31m read - rust web template rendering

In this post, we'll look at template rendering in a Rust web app.


Using Prometheus metrics in a Rust web service

05.10.2020 - 18m read - rust web prometheus

In this post, I’ll show how to add Prometheus metrics to a Rust web application.


Using MongoDB in a Rust web service

01.10.2020 - 15m read - rust web mongodb

In this post, we'll look at how to implement a Rust web service using MongoDB


Creating Excel files in Rust

24.09.2020 - 18m read - rust excel

Sometimes you need to generate Excel files. You never WANT to, but sometimes you have to. In this post we'll look at how you can do it with Rust. :)


End-to-end testing for Rust web services

01.09.2020 - 42m read - rust web testing end2end

In this post, I’ll show how to implement end-to-end testing in a Rust web application.


Using Redis in a Rust web service

01.09.2020 - 21m read - rust web redis

In this post, I’ll show how to use Redis in a Rust web application.


Packaging a Rust web service using Docker

01.08.2020 - 7m read - rust web docker

In this post, I’ll show how to put a Rust web application inside a Docker container, presenting two approaches with different tradeoffs.


Basic Role-Based HTTP Authorization in Rust with Casbin

27.07.2020 - 21m read - rust casbin authorization security warp

In this post we'll look at how to do web authorization using the casbin-rs library within a Rust warp-rs web service.


Using RabbitMQ in Rust

16.06.2020 - 11m read - rust rabbitmq queue

In this post we will look at how to use RabbitMQ inside of a Rust Web Service


Database Migrations with a Rust Web Service

22.05.2020 - 5m read - rust database migration refinery warp

In this post we'll look at the refinery library and at how it can help us create automatic database migrations in a Rust Web Service


JIRA OAuth 1.0a using Rust

21.03.2020 - 20m read - rust oauth jira rsa sha1

In this post we'll look at how a very basic OAuth 1.0a implementation can look like in Rust.


Rust HTTP Testing with Mockito

03.02.2020 - 14m read - Rust http testing mockito

In this post we'll be taking a look at the mockito rust library for mocking HTTP requests in order to write integration tests for a web-service


Synchronized Asynchronous Job Runner in Rust

18.01.2020 - 15m read - Rust Async job runner web

In this post we'll implement a basic asynchronous job runner, which synchronizes job runs among several instances using Redis.


Async-Awaitifying a Rust CLI App

23.11.2019 - 26m read - Rust Async Futures

In a previous post I showed an example CLI application in rust dealing with HTTP and Git. This post will show how to use the new async/await syntax to improve it.


A CLI Gitlab MR-Creator in Rust using Hyper and Git2

03.09.2019 - 35m read - Rust Gitlab hyper git2 git

This post showcases a small CLI tool written in Rust using both synchronous and asynchronous execution flow.


Asyncifying an Actix Web App and Upgrading it to 1.0

20.06.2019 - 16m read - Rust Actix Futures Async

In a previous post, we created an Actix 0.7 Web App, which was not fully non-blocking. In this post, we'll become fully non-blocking and upgrade the app to Actix 1.0


A Basic Web Application with Rust and Actix-web

07.04.2019 - 18m read - rust actix web timeular

As a first little project in Rust I thought I'd do something familiar, so I created a small web application, which we'll check out in this post.