Bio: Learning to program since 2020. Joined RC in January 2021 for the winter batch :)

Writing a basic shell

made by Fabrizzio, submitted by davidbalbert
Have you ever wanted to write your own Unix shell? Here's a concise walkthrough.

Evaluating array reference performance: row-major vs. column-major order

made by Fabrizzio, submitted by davidbalbert
A deep dive into the performance characteristics of accessing multidimensional arrays in row-major order vs column-major order. Cache misses, cycle counts, etc.

Estimating CPU cache size with the memory mountain

made by Fabrizzio, submitted by nicholasbs
A post showing how you can measure and graph memory usage of a test program, and then use this to estimate the sizes of the L1, L2, and L3 caches for the CPU the code ran on!

Injecting executable PHP code to a JPG image file

made by Fabrizzio, submitted by porterjamesj
How to use JPG metadata to craft exploits for a hypothetical vulnerable PHP webserver.

Ant colony simulation

made by Fabrizzio, submitted by Mai
A simulation of an ant colony with ants scavenging for food sources, written in JavaScript. Check out the code here: https://github.com/fabrizzio-gz/ant_colony_simulation.

clocviz

made by Fabrizzio, ckini, submitted by rachel
clocviz is an extension of cloc that lets you "analyze a target codebase and render interactive visualizations: users can traverse the file tree with a simple mouse click and see statistics including lines by file, lines by language, percentage composition per language, etc."

Reading the header of a wav file

made by Fabrizzio, submitted by nicholasbs
Ever wonder how a WAV file is stored? This post explains how WAV files are formatted, along with example C code for reading them.

Including Assembly code in a C program

made by Fabrizzio, submitted by rachel
Fabrizzio demonstrates how to call functions written in Assembly in a C program.