RSSAmplifier

Blog

Hassam Uddin | Developer

Recent content on Hassam Uddin | Developer

hassamuddin.comRSS feed ↗12 posts

Latest posts

Parallel Programming Syllabus

Whenever I am trying to learn something new, I tend to spend about a day (or longer depending on scope) doing research on the best resources to use. I keep these to myself, but I was recently building a syllabus for learning CUDA and some friends recommended I formalize and share it. Just give me the syllabus If you don’t want to read my yapping, this is the syllabus with no added…

Svelte Authentication

I’ve been working on a hobby project in Svelte for the past few weeks and have been struggling to find resources on doing proper authentication when using a backend alongside SvelteKit. Here’s the setup: Svelte Frontend – Svelte is extremely refreshing to use and makes me genuinely enjoy writing frontend code. The ecosystem is growing, and I think it’s a serious contender…

Algorithmically Parsing Gameboy Opcodes

There are a few projects I think everyone should undertake at least once: A compiler An operating system An emulator I’m not really interested in embedded or systems development, but these projects have taught me immensely about the inner workings of the computer and the tools that programmers use. One of my issues with emulator development is that if you want to emulate something more…

Extending Euler's method

Last time, I discussed two of Euler’s methods for numerical approximation, explicit and implicit Euler. In this blog post, we’re going to extend the idea of Euler’s method, and then generalize our extension into something called Runge-Kutta. I apologize for the delay between blog posts, I’ve been working on college apps, but I hope to get a bit more active now, especially…

Exploring Euler's Methods for Solving ODEs

I’m currently taking Differential Equations in school and during class Euler’s method was a brief topic of discussion. Euler’s method is really simple, but it works really well. As my teacher puts it, we “dumbass” our way to the right answer. There are better methods than it that have faster convergence, less error, or more efficiency, but during my journey of trying…

Writing an asynchronous MQTT Broker in Rust - Part 3

When I began this project, many months ago, there were no good resources on Tokio. I procrastinated on writing this blog series, but my intention was for it to be a guide on using Tokio and implementing a real project. A reference of sorts. When I began populating this blog in March, there still weren’t any resources. That is no longer the case. I recently discovered that Tokio added a much…

Writing an asynchronous MQTT Broker in Rust - Part 2.5

I was a little annoyed at needing to use an older version of tokio-util in our previous post, so in this short little post, we’re going to write our own Codec and transition our code. Purpose When I began this project, many months ago, there were no good resources on Tokio. I procrastinated on writing this blog series, but my intention was for it to be a guide on using Tokio and implementing…

A Quick Introduction to Register Allocation

Most overviews of register allocation are ridiculously complex and not at all practical. I hope, that by the end of this reading, you will gain a deeper understanding of the vocabulary and concepts that are often employed when discussing register allocation. Near the end, I’ll have a full-blown linear scan register allocator written in OCaml. If you want to follow along, you can find the…

Writing an asynchronous MQTT Broker in Rust - Part 2

In the last section, we went over the MQTT protocol and our proposed architecture. By the end of this tutorial, we’ll have a tiny little broker that will accept clients and play ping-pong, and we’ll also have learned a bit about Tokio and how to use it. So let’s get started. Now, my Rust isn’t the greatest, some of you probably know way more than I do. If you’ve got…

Kosaraju's Algorithm for finding Strongly Connected Components

Recently I’ve been retaking some classes that I had taken a few years ago, now with much more experience and a better mindset to learn. Specifically, I’m retaking Stanford’s Algorithms: Design and Analysis class on Coursera. In doing so, I’ve gained a significant amount of appreciation for the elegant techniques and methods that algorithm developers have found. Most…

Writing an asynchronous MQTT Broker in Rust - Part 1

The amount of resources and tutorials available for complex asynchronous programming in Rust and Tokio is abysmal. When I was developing this project, I was very frustrated with the lack of good examples and I promised myself that I would create my own tutorial. That’s what you are reading right now. There’s going to be very little code in this first section; I like to understand what…

Projects

todo