Memory

So, this is an extensive and sometimes boring matter but also essential. I’m going to start with latches and flip-flops and hopefully end in the RAM/DRAM and the newer memory systems. Latch/Flip-flops For a fresh start and just for contextualization, latches and flip-flops are bi-stable memory elements. That means they can hold binary information depending on the state. The difference between the two is that the latch is level-sensitive, it stays transparent and keeps the input and output in check the whole time the enable is high, while the flip-flop is edge-triggered, it only captures the value on the transition (the edge) of the clock. ...

June 17, 2026 · 20 min · Guimarret

Neural networks

I just had a uni class about natural language processing and it lit up the need to write about it to reinforce my learning in the topic Me 2 weeks in the future here, I didn’t expect this post to become this big and didn’t cover everything I wanted. In the future I’ll also cover CNN, RNN, Transformer, and so on. After finishing this post, I thought maybe it’s not for everyone because it became a bit too technical with heavy math (I gave my best in simplifying, but I still have a lot to learn, this is the most I’ve written in one shot in my life until now). So for those who came here just to peek, here are some recommendations: ...

May 19, 2026 · 30 min · Guimarret

Compilers

So, after a long time, I’m back to show you what I’ve been studying these past few days. This time, I read Crafting Interpreters and the Tiger book (Modern Compiler Implementation) to get a better understanding of how compilers and programming languages work. Disclaimer: There’s a lot of gaps and unlinked points but it will get better for other posts. Introduction So far so good, I started with reading one chapter a day of the Crafting Interpreters, which was really noob friendly (as clearly intended), I thought that was good, since I knew close to nothing about the topic. After finishing, I did the same with the Tiger book, which was delightful, even though it was immensely harder and much more theoretical. There is still a LOT that I need to learn about, but at least I have a slight idea of how to research it haha. ...

March 21, 2025 · 13 min · Guimarret

Logic gates

Using the transistor base in here: transistor. I’m gonna talk about logic gates and some basic possibilities like adders, subtractors, multipliers, and dividers. The main idea in these basic posts is to trace the way to assembly instructions and so on. These logic gates are the lowest level we can reach in hardware processing. Obviously, these instructions alone don’t create anything really meaningful, but the correct combination can create computers and processing machines of any type (except quantum computers, but we’re not gonna talk about them today) ...

January 17, 2024 · 6 min · Guimarret

Transistor

It can be an amplifier or a switch, but today let’s put down notes about switches because I found them more interesting: Silicon is a semiconductor 4 valence electrons Tetrahedral crystal Doping a semiconductor n-type doping: injecting a small amount of an element like Phosphorus, which is similar to silicon and has 5 valence electrons. Having one more than silicon makes the conductivity better it’s the negative electrons that move p-type an element with 3 valence electrons like Boron. That way it creates a hole that also increases the conductivity, because the electrons can move into the hole itself the hole, which is a lack of an electron, actually acts like a positive charge, and that’s why it’s the “P” type. The movement here is of the holes themselves By the way, that doesn’t mean they are actually positive and negative, but neutral, because of the number of electrons and protons inside Transistor are made of P-Type and N-Type doping Figure 1 - Transistor built from P-type and N-type doping ...

January 16, 2024 · 2 min · Guimarret