hnq.me

Self-taught developer / Systems notes

A quiet place for
life, systems,
and long learning.

I am Huynh Nhan Quoc, a self-taught developer from Tam Ky, Vietnam. I have been learning through real products, broken deployments, private systems, and years of starting again. This site keeps that road in one place: the ideas, the work, and the life around them.

2015 Started learning
Tam Ky Home
Go + JS Working tools
In public Current chapter

Ways into this site

Enter through the question you have.

Explore the archive

One body of work, several ways in.

Look up one concept, follow a topic across formats, or begin with a collection selected in reading order.

choose where to begin
concepts
31
articles
64
topics
20
collections
4
Featured collection Runtime foundationsA path through source code, bytecode, virtual machines, and the boundaries of execution. 9 entries

Now

What is moving today.

Building Kitwork Runtime workbench for multi-tenant websites Learning / 2026-07-09 Zero VM A beginner-friendly guide to understanding requests that bypass VM execution. Source / 2a4ac38 value, runtime, javascript: an array's items are copied once where they were copied twice, Scan says the range a whole number is outside of, and reading an error builds nothing. ReadItems gives an array's own items to Go code that copies them at once, as ReadKeys does for an object's keys: [...a] (the VM's join), concat and flatMap read with it and append, where Items copied and append copied again; concat also makes one array with room for its whole result; a Go method that takes the items as arguments still gets a copy (struct.go). [...a, x] of 100 items 200 times makes 0.73 MB where it made 1.43, concat 1.33 where 2.79, flatMap 2.13 where 3.52; in time about 0.6, 0.45 and 0.65 of before, measured interleaved on a machine that was busy. Scan into *int and *int64 keeps "is not an integer" for a fraction and says "3000000000 is not an integer from -2147483648 to 2147483647" for a whole number out of range, where it said "3e+09 is not an integer"; *int64 takes up to Number.MAX_SAFE_INTEGER, 2^53 - 1, and no longer 2^53 itself, where two neighbouring integers are one float64. Code, Message and At read the error a Value carries instead of building a fault for one field: for an error of Invalid or Error, At 107 ns and 2 allocations to 1 ns and none, Message 119 ns to 3 ns, Code 110 ns and 2 to 78 ns and 1 (it still looks for a code in what the error wraps); they return what v.fault() returned, which only Within uses now. Tests: scan_test.go, items_test.go, spread_test.go (the result array is its own, checked against node; a ceiling of bytes for each of the three), TestFailureReaders. Checked on a clean copy of 406a3b73 with these nine files, because the working tree does not build while its folders are being moved by other work: build, vet, the whole suite and -race green there, twelve controls each red in its case; in the working tree test/value and test/javascript run and are green. Three of six proposals of an outside review of core/value; the other three are not done (26/11, the owner: "Làm đi", then "Commit đi") Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> 2026-11-26

Latest articles

Fresh from the long road.

archive

A concept becomes executable

The path from text to behavior.

01 Source
02 Lexer
03 AST
04 Compiler
05 Bytecode
06 VM

Runtime

The place where code receives memory, values, limits, and a world in which to run.

Bytecode

The compact instruction layer between source language and machine behavior.

Virtual machine

A machine made of software that reads those instructions and enforces their boundaries.

explore all concepts

The road so far

Not a straight line.

2015

Blogger and HTML. The first small changes that made the hidden structure of a website visible.

2018

A friend's coffee shop and a Firebase night. Dependency stopped being an abstract technical word.

2020

Home, delivery work, and Kitstack. Real projects began shaping a private Go platform.

Now

Opening the useful parts. Kitwork, concepts, articles, and source code turn private lessons into public material.

This site is also an experiment

The URL follows the directory tree.

Each folder can inherit layout, metadata, and runtime behavior from the folders above it. The page you are reading is both a personal homepage and a working Kitwork tenant.

Search