Skip to content

Programming Languages

Notes on various programming languages: syntax details, runtime internals, best practices and language comparisons, continuously updated along with learning.

Collected

  • JavaScript — Language core, asynchronous model, runtime internals
  • TypeScript — Type system, generics and engineering practices
  • Python — Syntax features, data science and scripting
  • Go — Syntax and concurrency primitives
  • Rust — Ownership, lifetimes and systems programming

Planning Checklist

TopicDescriptionStatus
JavaScriptPrototype chain, closures, async (Event Loop / Promise / Async), ES202x new featuresPlanned
TypeScriptType gymnastics, conditional types, template literal types, declaration filesPlanned
PythonData model, decorators, generators, type annotations, common standard libraryPlanned
GoPackage management, interfaces, concurrency (goroutine/channel), error handlingPlanned
RustOwnership and borrowing, traits, error handling, common cratesPlanned
C++Value categories & move semantics, RAII memory model, templates & generics, STL, concurrency and C++20/23Planned
Language comparisonDifferent solutions to the same problem, selection considerationsPlanned
Compiler basicsLexical/syntax analysis, interpreter and compiler fundamentalsPlanned

Writing Guidelines

  • Language notes are organized as "Syntax Essentials → Runtime Mechanism → Examples → Pitfalls";
  • Each example provides a reproducible minimal code snippet, stating the runtime environment and version;
  • Comparison articles should use tables to present differences for quick reference;
  • File names use kebab-case, and new files should be registered in the config.mjs sidebar.

Built with VitePress · Knowledge shared openly