Hưng Đặng > Recent Status Updates

Showing 1-30 of 273
Hưng Đặng
Hưng Đặng is 94% done with Kinh Trung Bộ II (Đại Tạng Kinh Việt Nam Nam Truyền, #3)
Khi đọc xong, hãy nhớ đọc lại các bài kinh tự có phần highlight bằng Tiếng Anh
May 07, 2025 05:16AM Add a comment
Kinh Trung Bộ II (Đại Tạng Kinh Việt Nam Nam Truyền, #3)

Hưng Đặng
Hưng Đặng is 40% done with Greenlights
Matthew có vẻ có triết lý sống kiểu Kierkegaardian khi ông ấy tin rằng Chúa là đấng sáng thế nhưng mỗi con người đều có quyền tự do lựa chọn tốt hay xấu
Mar 04, 2025 04:21AM Add a comment
Greenlights

Hưng Đặng
Hưng Đặng is on page 59 of Thiền Sư Khương Tăng Hội
Some claims in this book need more archeological evidence but it is very much likely those evidence don't exist anymore. If it is the case, then I want to have the most informed speculation about the life and death of this monk
Feb 10, 2025 02:51AM Add a comment
Thiền Sư Khương Tăng Hội

Hưng Đặng
Hưng Đặng is 97% done with Writing An Interpreter In Go
Start to read "The lost chapter". It is about macro. Macro treats code as data, not text. When lexing, the input we receive is text but when parsing, we convert tokens to AST nodes. These AST nodes are different from text, are treated as data to be passed around so they are the macro system
Feb 09, 2025 05:15PM Add a comment
Writing An Interpreter In Go

Hưng Đặng
Hưng Đặng is 93% done with Writing An Interpreter In Go
This part is about Hash data structure and it is quite interesting. This is the first time I know that a hash key is converted into a number and its modulo will offset its position in an array. Under the hood, the hash is an array.
Feb 05, 2025 07:34AM Add a comment
Writing An Interpreter In Go

Hưng Đặng
Hưng Đặng is 79% done with Writing An Interpreter In Go
Adding builtin functions and some common data structure to the language. This is good to remind me how to work on things from the start to the end. Lexing/tokenizing -> Parsing to AST -> Turn things to object for evaluation
Jan 27, 2025 04:53AM Add a comment
Writing An Interpreter In Go

Hưng Đặng
Hưng Đặng is 68% done with Writing An Interpreter In Go
Environment is exciting! I have some guesses that variables in env will be saved in the memory and soon enough, Ball will have to talk about GC. Can't wait for the part about the GC
Jan 20, 2025 06:30PM Add a comment
Writing An Interpreter In Go

Hưng Đặng
Hưng Đặng is 63% done with Writing An Interpreter In Go
This is an artwork because Ball made me feel that things were so simple
Jan 19, 2025 08:03AM Add a comment
Writing An Interpreter In Go

Hưng Đặng
Hưng Đặng is 60% done with Writing An Interpreter In Go
Coming to conditionals. it seems like this one is harder than evaluating boolean or integer

Note: Ball has a great habit of writing tests before writing the features. I feel like we have even more test code than feature code
Jan 16, 2025 07:39AM Add a comment
Writing An Interpreter In Go

Hưng Đặng
Hưng Đặng is 58% done with Writing An Interpreter In Go
Each section was encapsulated well in their part of the codebase so that they don't affect one another. I feel it very easy to extend
Jan 12, 2025 05:56PM Add a comment
Writing An Interpreter In Go

Hưng Đặng
Hưng Đặng is 50% done with Writing An Interpreter In Go
In term of performance, executing machine code > executing bytecode > executing AST
Jan 11, 2025 05:19PM Add a comment
Writing An Interpreter In Go

Hưng Đặng
Hưng Đặng is 40% done with Writing An Interpreter In Go
I think I might want to rewrite the monkey programming language in JS
Jan 02, 2025 02:49AM Add a comment
Writing An Interpreter In Go

Hưng Đặng
Hưng Đặng is 37% done with Writing An Interpreter In Go
This part explained inner working of Pratt parser. I think the key lies in the way we structure precedence so that we can control how a token is bind to its right or left. In the book, Ball called it "right-binding power" and "left-binding power"
Dec 17, 2024 02:01AM Add a comment
Writing An Interpreter In Go

Hưng Đặng
Hưng Đặng is 34% done with Writing An Interpreter In Go
I finished writing Pratt parser but I still don't quite understand it
Dec 09, 2024 10:31PM Add a comment
Writing An Interpreter In Go

Hưng Đặng
Hưng Đặng is 28% done with Writing An Interpreter In Go
Thorten organizes this book really well, every section is the next logical step for the previous section. Each section has a test that was written in the middle and passed when the section ended. Each section feels like a fully functioning unit
Dec 06, 2024 09:18PM Add a comment
Writing An Interpreter In Go

Hưng Đặng
Hưng Đặng is 26% done with Writing An Interpreter In Go
Parsing with Vaughan Pratt method. Associate 2 parsing functions with each token
Dec 01, 2024 05:40PM Add a comment
Writing An Interpreter In Go

Hưng Đặng
Hưng Đặng is 19% done with Writing An Interpreter In Go
Parsing is a more difficult so the pace of reading this book is down
Nov 11, 2024 05:47PM Add a comment
Writing An Interpreter In Go

Hưng Đặng
Hưng Đặng is 13% done with Writing An Interpreter In Go
I started to be engrossed by this book, only to stop when my pomodoro rang
Nov 07, 2024 08:12PM Add a comment
Writing An Interpreter In Go

Hưng Đặng
Hưng Đặng is 11% done with Writing An Interpreter In Go
The Go code seems to mutate a struct, always, all the time when it ran. All functions here are not pure because they didn't return anything. Coming from an immutable place, this is a bit hard for me. I have a snail pace when reading this book
Nov 06, 2024 07:21AM Add a comment
Writing An Interpreter In Go

Hưng Đặng
Hưng Đặng is 7% done with Writing An Interpreter In Go
I read the part about Pointer in Go and felt quite intimidated by the book, but I will keep any strange concept behind my back. Once it because to heavy, I will put the book back to the shelf
Oct 04, 2024 06:46AM Add a comment
Writing An Interpreter In Go

« previous 1 3 4 5 6 7 8 9 10
Follow Hưng's updates via RSS