Tagged in

Planets

CodeChain
CodeChain
Programmable multi-asset chain
More information
Followers
435
Elsewhere
More, on Medium

Read-writers lock — Accessing shared resources

In multithreaded programming, when accessing a shared resource, a mutex is used to ensure that not more than one thread is allowed to change resources simultaneously. A mutex guarantees safety because it restricts the number of threads accessing a…


[Rust] _(underscore) Does Not Bind

Rust is a language that utilizes the RAII idiom, resulting in different code depending on when the…


Secure Tree — Why State Trie’s Key is 256 Bits

As explained in the last article, Ethereum’s state is stored in the modified Merkle Patricia Trie(a.k.a. MPT). When it comes to Ethereum, values can be nonce, balance, and account’s state, and the key that corresponds to those values is the…