Rust is a language designed for writing highly reliable and fast software in a simple way. It can be used from high-level code down to hardware-specific code, and from big irons to tiny devices.
Rust and WebAssembly (Wasm) are often discussed together. The goal of this project is to compile to Wasm a Rust function. Create a vanilla Rust project template. Update the project's manifest file. Write a Rust function. Compile to optimized Wasm. Deploy the Wasm through a simple Web page.
I recently decided to switch the engine of Boardgame Lab from TypeScript to Rust. The application itself is an SPA written in Svelte. I only switched the logic that updates the game state to Rust. Here is a summary of my experience with the transition:
Rust's macro system has really impressed me so far. Once the Rust ecosystem matures, honestly I think Rust is a great language to write servers in. You get the speed, and the safety, and honestly you don't pay the same price you normally do fighting (or at least thinking of) the borrow checker.
I recently came across the following programming exercise used by Microsoft for interviewing software developers and data engineers.
Take a look at how we use our error monitoring platform to help debug one of our native products responsible for processing native crash reports. Debugging a Segfault in Rust. In this Sentry programming session, we looked at using our error monitoring platform to help debug one of our own native products: Symbolicator. This service is responsible for processing native crash reports. Just like any other application, it might crash — and when that happens, we need to gain insights into why.
A sample project that uses Warp and Tokio to build a simple asynchronous API. This tutorial introduces the Warp framework by building an asynchronous CRUD API. Learn how to build an API using Toki and Warp.
This daemon can be used in the application server or in the database server to execute system commands using rest API calls. In this post, you'll see how to Build a REST API to Execute System Commands using Actix Rust
How should you do concurrency in an embedded no_std application? We'll look into a few commonly used embedded Rust concurrency patterns and then into some less common ones. We'll compare their runtime characteristics in practical terms so you get a better feel for which one is appropriate for your application.
Given an array of integers, return indices of the two numbers such that they add up to a specific target. You may assume that each input would have exactly one solution, and you may not use the same element twice. LeetCode Problems with Rust: Two-Sum
You are given two non-empty linked lists representing two non-negative integers. The digits are stored in reverse order and each of their…
Developers’ love for Rust has translated into real-world adoption. On 6/2/2020, TIOBE reported that Rust broke into TIOBE index top 20 for the first time.
In this fourth Crust of Rust video, we cover smart pointers and interior mutability, by re-implementing the Cell, RefCell, and Rc types from the standard lib...
The CSV file format is a very common method for storing tabular data. This article covers the basics of reading and writing CSV files…
“Poorly designed code usually takes more code to do the same things, often because the code quite literally does the same thing in several…