Guimarret

Posting my thoughs, studying matters and projects.

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 divisors. 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 the hardware processing, obviously, these instructions alone don’t create anything really meaningful but the correct combination can create computer 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

Can be a amplifier or a switch, but today let’s put notes about switches because i founded more interesting: Silicon is a semiconductor 4 valence electrons Tetrahidro Cristal Doping semiconductor n-type doping: injecting small amount of an element like Phosphorous, that is similar to silicon and have 5 valence electrons, and having one more than silicon make the conductivity better The negative electrons that moves p-type element with 3 valence electron like Boron that way it create a hole that also increase the conductivity because the electrons can move into the hole itself The hole that is a lack of electron make it actually acts like a positive charge and that’s why the “P” type, and the movement here is the holes itself By the way that doesn’t mean they are actually positive and negative but neutral because the electron number of electron and protons inside Transistor are made of P-Type and N-Type doping ...

January 16, 2024 · 2 min · Guimarret