Concepts

Pages

  • Async Discussion
    Notes comparing how asynchronous execution works in JavaScript (call stack and callback queue) and in PHP (Fibers as green threads).
  • Concepts Notes
    Notes on the Go runtime scheduler and the operating-system scheduler article it builds on.
  • Defer Async Inline
    Explains how browsers execute inline, `defer`, `async`, and module scripts, and when to choose each for page performance and correct execution order.
  • JVM Anatomy
    How a .class file becomes a running application: loading and class identity, linking and verification, initialization, interpreter/JIT/AOT, threads and happens-before, heap allocation and GC roots, and JVMTI/JMX/JFR monitoring.
  • Layered Design In Go IRI
    Explains layered package design in Go, why it follows from the ban on circular imports, and a prioritized list of refactorings for breaking circular dependencies.
  • Race Conditions In Go
    A Go race condition is shared state whose result depends on unsynchronized interleaving; a data race is the memory-access case, and the usual fixes are a small mutex, an atomic, or a single owner behind a channel, checked with go test -race.
  • Scalable Golang Course Notes
    Curriculum outline of Viet Tran's scalable Golang course, covering language features, APIs, databases, async jobs, deployment, gRPC, microservices, and DevOps.
  • Structured Concurrency In Java
    Why ExecutorService fan-out leaks threads and waits too long, and how StructuredTaskScope models subtasks as one unit: fork, join and close, joiner policies, timeout semantics, interrupt-based cancellation, JSON thread dumps, and the JDK 27 preview / JDK 28 final status.