Dancing Cells

Posted on Mon 01 January 2024 in tech • Tagged with rust, programming, solidity, evm, blockchain

I found the discussion of "Dancing Cells" in Don Knuth's latest lecture (2023) extremely relevant to blockchain programming.

The reason is this method of memory allocation is very similar to the method required to organize data as a set in Solidity. See here

Here is a example implementation of some …

Continue reading

Lyn Scanner Rust Example

Posted on Thu 28 December 2023 in tech

Lyn Scanner

Example parser scanner written in Rust using the Lyn crate. This is part of the 2023 Advent of Code, Day 05.

This scanner is meant to parse data of the of the following format into maps of arrays:

seeds: 79 14 55 13

seed-to-soil map:
50 98 2 …

Continue reading

Index a String in Rust

Posted on Fri 08 December 2023 in tech

Two Ways to Index a String in Rust

A Beginner Perspective

As a relative newcomer to Rust, with experience programming in C and C++, I am used to being able to directly index a String. In these languages, indexing a string is a simple operation. However, in Rust, things are …

Continue reading

Impact of Java virtual threads on performance?

Posted on Mon 20 November 2023 in tech

Virtual threads are ideal for handling a large number of short-lived threads without prioritizing low latency or high throughput. This is because virtual threads share the compute resources overall. In contrast, applications seeking high throughput often use long-lived platform threads as dedicated workers for spinning or polling workloads. In this …

Continue reading

EMOM Timer

Posted on Sun 19 November 2023 in tech

Exploring the EMOM Timer - A Rust and Yew Application

EMOM Timer

Introduction to the EMOM Timer

EMOM Timer is a customizable timer designed for your workout. EMOM Timer is developed using the Rust programming language and the Yew framework. This is a completely new way to develop web applications. The resulting application …

Continue reading

Smart Contract Deterministic Deployment

Posted on Tue 31 October 2023 in tech

Deterministic Deployment for Ethereum


Deterministic deployment is an undocumented feature of forge in Foundry. Deterministic deployment refers to predictable deployment of smart contracts to the same address every time they are deployed. A deterministic contract address can be useful for several reasons:

  1. Trust: Users or other contracts can trust a …

Continue reading