All posts

My programming languages, 2023

6 min read
On this page

Three languages cover everything I want to build going into 2024: Python for maths and models, TypeScript for interfaces, and Rust for everything else. Here is why each earns its place, in practical terms.

Python

Python logo

When I reach for it

  • Maths: numerical simulations, statistical analysis, mathematical modelling.
  • AI: building and training machine learning and deep learning models.
  • Data work: cleaning, transformation, analysis, and visualisation.
  • Prototyping: fast iteration on ideas, especially in research settings.

Why

Numerical libraries

Python’s appeal is broad, but my interest in it is specific. NumPy and SciPy give me battle-tested numerical routines instead of hand-rolled ones, and that alone makes Python my default for anything numerical.

AI capabilities

TensorFlow and PyTorch make building and training models genuinely approachable. From image recognition to natural language processing, the model is the easy part now; the work is in the data.

The data science ecosystem

Pandas, Matplotlib, and Seaborn cover analysis, manipulation, and visualisation. Most of my data exploration happens in a notebook with these three.

Prototyping speed

Jupyter notebooks plus Python’s carefree approach to types make prototyping fast: change a cell, rerun, look at the result. Once an idea hardens into a system, I port it to something safer and faster. More on that below.

TypeScript

TypeScript logo

When I reach for it

  • User interfaces: the web, but also desktop and mobile. My choice there is Tauri coupled with SvelteKit.
  • UI components: interactive components for web applications, such as buttons, forms, and navigation menus.
  • Rendering logic: the logic that dictates how UI elements behave, respond to input, and update when data changes.

Why

JavaScript with a type system

TypeScript is a typed superset of JavaScript: every valid JS file is valid TS, and the compiler erases the types and emits plain JavaScript. So it runs wherever JavaScript runs, every browser ships a JS engine, and TypeScript is the language I write to target that platform. The types are a contract I check at build time, not a runtime cost.

Types that catch the bug before the browser does

The type system catches the mistakes plain JavaScript only reveals at runtime: a misspelled property, a value that is null where an object is expected, a function called with the wrong shape of argument. Refactors I would have to verify by hand in JS, the compiler verifies for me. It is the same idea I like in Rust, applied to the web platform.

SvelteKit

For graphical work my framework is SvelteKit. It stays close to plain HTML, CSS, and JavaScript, with little abstraction or boilerplate in between, and it is first-class with TypeScript: component props, stores, and load functions are all typed. Where other frameworks invent their own dialects, Svelte sticks to web standards, so what you already know about the platform still applies. This very site is built with it.

Rust

Rust logo

When I reach for it

Everything else, including but not limited to:

Why

Saying exactly what you mean

Rust’s rich type system lets me state precisely what a function accepts and returns, and pattern matching forces every shape of the data to be handled. That precision communicates intent to the compiler, to reviewers, and to me six months later.

No null dereferences, no data races

The ownership model rules out buffer overflows, null dereferences, and data races at compile time. Whole classes of bugs that reach production in other languages simply fail to build here. Errors surface before the program runs, which is the cheapest place to fix them.

Compiler-driven development

The compiler checks what other languages leave to runtime. Each iteration is slower than Python’s instant-run loop, granted, but when the compiler finally approves, the program usually works.

Metaprogramming with macros

Macros generate code at compile time, which is how Rust slays boilerplate. Derive macros hand me trait implementations for free, and heavier procedural macros power things like serde’s serialization. The repetition other languages ask me to maintain by hand just disappears.

Code that reads as the happy path

Rust’s ? operator, Result and Option types, the absence of null, and ergonomic pattern matching make it straightforward to express the happy path while still handling errors explicitly. The result is code that is both readable and robust.

Performance

Individual micro-benchmarks mislead when comparing languages. The Benchmarks Game measures a variety of algorithms to expose the broader trade-offs.

Across those algorithms, the most-optimised Rust entries beat the most-optimised Go ones by at least 30 percent, and in some cases by an order of magnitude: the binary-trees benchmark runs Rust roughly twelve times faster. In many tasks even the least-optimised Rust entries match or beat Go’s best. No benchmark is perfect, but these results match what I see in real workloads: predictable, C-class performance without giving up safety.

Close runner-up: Go

Go logo

Go and Rust aim at the same category of work: networked services, CLIs, systems tooling, anything concurrent that has to be fast and dependable. For most of that list I reach for Rust, and I keep coming back to it. Go is the language I would add first if the list grew, and there are days I mean that.

The compilation times I miss

The thing I notice most when I leave Go behind is the build. go build returns in seconds on projects where cargo build wants a coffee, incremental compiles are near-instant, and the whole toolchain, go test, go fmt, go vet, is one fast binary with no ceremony. When I am iterating hard that loop is genuinely addictive. Rust’s compile times are the price I pay for its guarantees, and I pay them knowingly, but I would be lying if I said I never missed the speed.

The standard library is the whole server

Go ships a real standard library, and for networked services it is the headline feature. net/http is a production-grade HTTP server: a handful of lines, no framework, no dependency tree, and it is good enough that a great deal of Go’s cloud-native infrastructure is built on it directly. Add encoding/json, context, time, the crypto suite and testing, and a service is mostly assembled from the language’s own parts. Rust’s standard library is deliberately lean, and the ecosystem that fills the gap, tokio, axum, serde, is excellent, but it is an ecosystem you assemble and version. The batteries-included default is a genuine ergonomic win, and one I feel whenever I scaffold a new service in Rust and reach for the usual crates.

A type system that is often a dealbreaker

Where Go loses me is types. It is a smaller, plainer language on purpose: no generics until recently, no sum types, no pattern matching, errors as plain values you check by hand. The richness I lean on in Rust, and even the inference I get for free in TypeScript, is simply not there. I end up encoding invariants in conventions and code review that Rust would have made unrepresentable. For a small service that is a fine trade. For the systems work I care about, it is often the thing that tips me back to Rust.

What Go gives back

To be fair to it, Go is easy to read, easy to staff, and its concurrency model is the most approachable in the business. A team can be productive in Go in a way that takes longer in Rust. If the goal is a dependable network service that many people will maintain, Go is a serious answer and I would not argue against it. It is just not the one I reach for first.

Conclusion

That is the toolbox. Python for maths, AI, and quick prototypes. TypeScript with SvelteKit for anything with an interface. Rust for everything else, which turns out to be most things. Three languages, and I have yet to meet a project that needs a fourth. Go is the close runner-up, the first one I would add if the list grew: the same territory as Rust, quicker to build, and a type system plain enough that I keep finding my way back.

Interested in working together? Reach out.

Strategy, architecture, and implementation — from workflow to production.

© 2026 Liam Woodleigh. All rights reserved.