RSSAmplifier

Blog

Rice Fields

A blog mostly dedicated to computer science

ricefields.meRSS feed ↗7 posts

Latest posts

Brief Introduction to Physics Simulation

In this article, we dive deep into writing a custom physics engine. It covers the various components of a physics engine's architecture, with focus on the impulse solver.

Sparse Set - stable pointers

Continuing from my last article on sparse sets, this article goes into detail on how to implement a sparse set with stable pointers.

Sparse Set - flexible cache friendy data structure

Lately, I've been extensively using sparse data structure. This article serves as a brief introduction to sparse arrays and sets, along with some practical use cases.

SIMD - Vector Primitives and Operations

Brief overview on SIMD (Single Instruction, Multiple Data) vector primitives and operations supported by modern languages.

Two-Level Segregated Fit Memory Allocator

Optimizing memory allocation with Two-Level Segregated Fit (TLSF)

Code Principle - Data & Transformation

We discuss how thinking software design in terms of data and transformation helps improve overall software design.

Understanding Static Variables in Rust

In this post I talk about static variables in Rust, compare them with static variables in C++. This post also tries to reason about the rules imposed by Rust on static variables and talks about why such rules are important.