29 Mar 2024, 18:32 UTC124 views3 reactionsread 11 August 2026 LEETCODE-0001: Two Sum
Interview preparation challenge/solution
I discovered that the solutions on RustGym are not always implemented well from the Rust perspective. Therefore, I decided to improve them, as I am preparing content for training Rust developers for interviews.
I am simply going in order, and the first case that I improved is Two Sum, here is its description:
🛠️ DESCRIPTION 🛠️
Given an array of integ…
custom 59925483351504367793
Signed therustmonk
27 Mar 2024, 21:37 UTC90 views3 reactionsread 11 August 2026 CASE 🪼 String Representation Wrapper
I encountered a case where obtaining the string representation of a value was quite expensive, so I created a structure that stores the string representation of the internal value and updates it when changes are made to the internal structure.
It offers direct immutable access to the internal value through the Deref trait, and returns a wrapper that allows mutable access. This w…
custom 59925483351504367793
Signed therustmonk
18 Mar 2024, 19:03 UTC68 views6 reactionsread 11 August 2026 Photo
Recently, I've started developing the CRB actor framework and published the crb-core crate, which contains basic functionality for channels, time, and tasks compatible with both WASM and the standard (std) environment.
Following this, I received an insightful suggestion to switch from a custom watch channel to the tokio version and to integrate a tokio runtime as well.
During the initial development of the WASM+std…
custom 59925483351504367796
Signed therustmonk
10 Mar 2024, 12:08 UTC66 views5 reactionsread 11 August 2026 I'm excited to announce that I've taken the leap to release an actor framework, a project I'm currently developing.
Dubbed CRB, which stands for Compact Runtime Blocks, it is pronounced as "crab".
Essentially, I've gathered a set of techniques that help organize large async Rust programs effectively. So, it's not just a framework implementing the pure actor model, but rather a collection of patterns and architectur…
custom 59925483351504367795
Signed therustmonk
4 Mar 2024, 22:27 UTC59 views3 reactionsread 11 August 2026 Photo
Photo, posted without a caption
custom 59925483351504367793
Signed therustmonk
4 Mar 2024, 22:27 UTC56 views3 reactionsread 11 August 2026 I have closely followed the evolution of concurrency in Rust and would like to share my insights on the various approaches available today.
std::thread
The most fundamental mechanism to run multiple tasks in Rust is provided by the std::thread module, which has been a part of the standard library since its initial release. This module relies on the operating system's threads. The main disadvantages of this approach …
custom 59925483351504367793
Signed therustmonk
3 Mar 2024, 16:52 UTC46 views5 reactionsread 11 August 2026 Hello, friends! 🦀
I'm Denis Kolodin (therustmonk), a Rust developer and adept since 2015, right from the release of version 1.0.
I've decided to create a public channel to open a window into my developer's cell and share the real process of development, insights, and valuable information with you.
I actively maintain open-source projects and will also demonstrate how I invent new projects.
I'll be sharing code sn…
custom 59925483351504367795
Signed therustmonk
Channel created
Showing the 8 most recent of 8 posts we hold for @therustmonkcell. View and reaction counts are the latest single reading for each post, not a live figure, and a recent post is still accumulating both. A view count marked ≈ was rounded by Telegram before we ever saw it — t.me prints views in full below 1,000 and to three significant figures above, so ≈1,200,000 means somewhere between 1,150,000 and 1,249,999. Unmarked counts are exact. Text is reproduced from the public post preview and truncated for length.