Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!
Mocking¶
https://crates.io/crates/mailtutan
turmoil Turmoil is a framework for testing distributed systems. It provides deterministic execution by running multiple concurrent hosts within a single thread. It introduces "hardship" into the system via changes in the simulated network. The network can be controlled manually or with a seeded rng.
Linked List in Rust
Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!
The std library of Rust has an implementation of linked list , however, it is not useful as it does not give users the flexibility of manipulating raw pointers (which is the …
The ripgrep Command Is a Better Alternative to the find Command
Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!
List Files¶
There are 2 ways to list files using ripgrep. The first way is file name (globbing pattern) based and the second way is file content (regex pattern) based.
Sorting At Compile Time in Rust
Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!
References
OOM in Rust
Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!
SIGKILL (signal 9)
The following error message will be generated if rustc runs out of memory.
signal: 9, SIGKILL: kill
References
Async, Concurrency, Multithreading and Parallel Computing in Rust
Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!
Basic Struct Types for Rust Concurrency
UnsafeCell: the only foundamental struct which allows interior mutability. Other struct (e.g., Cell, RefCell, Rc, Arc, etc.) with interior mutability relies on UnsafeCell. Rc …