Blog — page 18
663 posts on software development, newest first. Browse by topic:Rust, Go, Python, JavaScript & web, AI & data, DevOps & tooling, Mobile & Android, .NET & C#, C++ & systems, LaTeX, Investing, Everything else.
Swift concurrency basics: async/await, actors, task groups and cancellationSwift concurrency with working examples of async/await, actors, task groups, and cancellation, including a timeout helper and common gotchas.
Packaging Python scripts as standalone executables with PyInstallerPackage a Python script into a standalone executable with PyInstaller, set an icon, hide the console, bundle data files and fix common build problems.
Apache Tomcat: architecture, configuration and a first servletWhat Apache Tomcat is, how Catalina, Coyote and Jasper fit together, which config file does what, and how to deploy a Jakarta servlet on Tomcat 11.
What programming is and why it's worth learningA short explanation of what programming is, and the practical reasons to learn it: automating work, problem solving, careers and understanding the software you use.
Benchmarking Rust code with Criterion.rsSet up Criterion.rs to benchmark Rust code on stable: a first benchmark, parameterised inputs, throughput, baselines and HTML reports.
Wrapping up the Go series: recap and where to learn nextA recap of the Go concepts covered in this series, some habits worth keeping as you write more Go, and the official and community resources to learn from next.
Go basics: variables, constants, types, operators and control flowThe building blocks of a Go program: package layout, variables and constants, basic types and conversions, operators, and if, switch and for, with runnable examples.
Go pointers and garbage collection basicsHow pointers work in Go (&, *, passing by pointer), how the compiler decides between stack and heap, and a small program that shows the garbage collector running.
Go functions, packages, and exported namesWriting Go functions with multiple return values, splitting code into packages inside a module, and controlling visibility with capitalised names.
Go arrays, slices, and maps: how they differFixed-size arrays, slices that share a backing array, and maps, with runnable examples and the gotchas: aliasing, append reallocation, and nil maps.
Object-oriented programming in Go: structs, methods, embedding and interfacesHow Go covers classic OOP ideas without classes: structs and methods, package-level encapsulation, embedding instead of inheritance, and interfaces.
Concurrency in Go: goroutines, channels and selectStart goroutines, wait for them with sync.WaitGroup, pass data over channels, wait on several channels with select, and build a small concurrent request processor.
© 2026 David Li · Home · Blog · RSS ·Classic site · Built with Astro, Starlight and three.js · Logos:Font Awesome Free (CC BY 4.0)