Continuing my journey with Rust, I recently completed a suggested exercise from "The Book": Using a hash map and vectors, create a text interface to allow a user to add employee names to a department in a company. For example, βAdd Sally to...
This article is an experiment with Rust with its subsequent compilation in WASM. It was interesting to try these technologies on something more difficult than calculating factorial, so the choice fell on the well-known 2048 game. Game The o...
The original version of this post can be found on my developer blog at https://seanchen1991.github.io/posts/lru-cache/. Note: This post assumes familiarity with traits in Rust. If you arenβt familiar with them, Iβd recommend reading more ab...
This article is heavily inspired by an excellent Easy guide to JSON input validation in Rust web services article. It shows how to build a RESTful service using Warp and it's been very helpful. This article will explain how to automate requ...
It was great fun solving last year's Advent of Code using Rust. The problems were all approachable and got me thinking about new algorithms to solve them. A small part of the resulting code ended up in a "utils" crate to be accessible from...
[Photo by Kelly Sikkema on Unsplash, modified (cropped)] This article follows up on a discussion. Please share your experience there, I'd gladly hear about it! Introduction Some months ago I was surveying a little the state of GUI in Rust....
In this tutorial, I will be teaching you how to fetch a Web API asynchronously in Rust. This tutorial is for developers who know the basics of Rust, have Rust installed, and want to learn about asynchronous programming in Rust. If you don't...
Cover image created by me using Ferris the Crab, the Rust logo, and the FastAPI logo. After investigating a few more options, I've finally decided on a framework to use. Here's how I got there, step by step. rweb As planned, I started with...
Are you learning Rust and looking for ways to get some hands-on practice with concrete examples? A good approach might be to try and integrate Rust with external systems. Why not try to use it with Redis? It is a powerful, versatile databas...
Scott Posted on Jan 7, 2021 β’ Edited on Jan 8, 2021 Hello! I am learning Yew for writing SPA's in Rust! I found some of the concepts difficult to understand at first and decided to take notes (simplifying the concepts for my stupid brain).....
In this article, I would like to share some of my thoughts about a problem I encountered, my process of solving it, and possibly start a discussion about the validity of the proposed approach. I certainly would like to hear any comments and...
A blog post titled, "Diving into Go by Building a CLI Application" has been making it's rounds of the internet. It uses a small XKCD downloader as the subject. I thought was small and self contained enough, that it'd be interesting to see t...
I suppose the majority of beginner programmers aspire to create something amazing and popular, and perhaps, become famous and wealthy at some point. However, when they begin, the "black screen" of a terminal doesn't seem like the next Faceb...
π DEV Diamond Sponsors Thank you to our Diamond Sponsors for supporting the DEV Community Google AI is the official AI Model and Platform Partner of DEV Neon is the official database partner of DEV Algolia is the official search partner of...