Dhruva Kashyap
My Projects
I've done many small projects throughout the years, here are a few that I really liked, in no particular order.
Garbage Collection in C++
Why would you want to do that? Is it even possible? Well, it is, kinda. Although it would go completely against many of the "philosophies" of C++, we were more concerned about whether we could, and not whether we should. This was a project we did for a course on Design Patterns. We ended up writing our own memory management system so that we could manage it ourselves. RAII, which I do not yet fully understand, helped us out too. There was a lot of template magic which I wrote in a dazed stupor which I have no recollection of. [Code]
A JSON parser for C
I had finally understood pointers in C and decided to implement something that one could call "generic programming". It led to me reading about associative arrays from Perl and it finally lead to this JSON Parser in C. [Code]
Imitation Learning on Enduro
Enduro was a racing game made for the Atari 2600. We were learning to use OpenAI's Gym Environment to demonstrate a project for a course on reinforcement Learning. What better way to spend our time than playing old Atari games? [Code]
IP=PSPACE
My first foray into Theoretical CS. A presentation I made about the seminal result in complexity theory for a course in Computational Complexity Theory. This was a great dive into the unknown world of complexity theory for me at the time. I came out enlightened about the vastness of things I did not know that were so foundational to computer Science. [PDF]