About
Hello, I'm Sameep Kathayat. A Software Engineering Undergrad student
I'm into computer stuff..
Posts
-
No React Is Not Really About Websites
2026-10-27
Most people hear “React” and just think of Websites and User Interfaces. And while, React is used for those purposes, at it’s core, react is just a diffing engine. All it does it look at the first component tree and the second one, then determines what exactly needs to change between them. This is called Reconciliation. This allows only the changed components to be re-rendered instead of the whole component tree.
-
When Higher Level is Faster than Lower Level Language
2026-08-03
We all assume that the lower the level, the faster the performance gets.
Machine Code > Assembly > Compiled Languages > Interpreted LanguagesThis however, is a common misconception. Lower level does not inherently mean faster.
An optimized higher level is going to be better than lower level unoptimized code.
Optimized Higher Level > Unoptimized Lower LevelA algorithm with run time of
O(n^3)in assembly is going to be slower than an algorithm with run time ofO(n)in some higher level languages. -
Tokenization
2026-07-23
We know, computers work with numbers and numbers only. So, whenever we represent some other formats like Emojis or Strings, it is naturally represented using numbers inside the computer system.
The same goes for LLMs. They can't just work on raw text. They are first converted to numbers before they can be processed. The tool that does this exactly is known as a tokenizer. It is quite similar in concept but different than tokenizer used by compilers.
-
A Quick Overview on Memory Allocators
2026-07-21
This article mainly focuses on three popular general purpose allocators: glibc's
ptmalloc2,jemalloc, andtcmalloc.Understanding Memory Management: Stack vs. Heap
Memory management is a fundamental aspect of programming, influencing performance, security, and reliability. Broadly, there are two primary strategies: stack-based and heap-based memory allocation. Each has distinct characteristics, trade-offs, and use cases.
-
First Post
2026-06-21
Trying out stuff. More to come
Projects
-
Nae
A simple, lightweight HTTP server built from scratch in C++.
-
SDI
A C++ program that performs symbolic differentiation of mathematical expressions.
-
Dax
Dax is a custom Unix shell implementation written in C++. It provides a familiar command-line interface with support for standard shell features, including command execution, piping, redirection, and built-in commands.
-
Lum
Lum is a dynamically typed programming language made in C++.