Collatz@Home: a distributed computing system powered by WebGPU

WebGPU is a cross-platform graphics API supported by most major browsers and operating systems. It was started in 2021 and has keen attracted interest from major tech companies such as Microsoft and Apple (other tech companies are available). Perhaps most notably about WebGPU it is able to run in-browser with efficiency comparable to native GPU applications. As a Christmas treat I thought I’d write a tutorial that I haven’t seen elsewhere.

Building a Local Multiplayer Tower Defence Game Using React and Websockets

Concept Playing games with friends on consoles like my Nintendo Switch is always fun, but there’s one recurring problem - there are never enough controllers for everyone. Many of my peers have shared the same frustration, so we decided to create a solution. Our idea was to develop a game that allows the host to run it on a large screen (similar to a docked Switch), while guests can join in using their mobile phones as controllers.

Building AES Encryption from Scratch in Rust

AES (Advanced Encryption Standard) is a widely used symmetric encryption algorithm. In this tutorial, we will implement AES encryption and decryption in Rust using a 128 bit key, and CBC (Cipher Block Chaining). By the end of this guide, you will have a solid understanding of AES and how to use it in Rust for secure data encryption. Link to the github project here: GitHub. Disclaimer: you should not use the code written in this tutorial to encrypt anything important.