<?xml version="1.0" encoding="UTF-8"?><?xml-stylesheet href="/rss.xsl" type="text/xsl"?><rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>luisrc — English</title><description>A personal blog about software development, technology, and learning.</description><link>https://luisrc.pages.dev</link><item><title>Learning Python after PHP and TypeScript: what changes and when it is worth it</title><link>https://luisrc.pages.dev/en/posts/learning-python-after-php-typescript</link><guid isPermaLink="true">https://luisrc.pages.dev/en/posts/learning-python-after-php-typescript</guid><description>What Python offers developers working with PHP and TypeScript: differences, code examples, and a way into data analysis and automation.</description><pubDate>Tue, 06 Oct 2026 00:00:00 GMT</pubDate><content:encoded>&lt;p&gt;After years of working with the same languages, you know their tools, their limitations, and the usual ways to solve problems. That familiarity makes everyday work easier, but it can also spark an interest in other ways of building software.&lt;/p&gt;
&lt;p&gt;For an engineer working with &lt;strong&gt;PHP&lt;/strong&gt; and &lt;strong&gt;TypeScript&lt;/strong&gt;, when does learning &lt;strong&gt;Python&lt;/strong&gt; make sense? What can it offer beyond different syntax?&lt;/p&gt;
&lt;p&gt;You do not have to leave what you know behind to explore another direction. But there is a difference between learning a language out of curiosity and preparing to work with it professionally. Both are valid reasons; what changes is how deeply you need to learn and how much time you will need to spend.&lt;/p&gt;
&lt;p&gt;This is the first article in a series that will continue with &lt;strong&gt;Go&lt;/strong&gt; and &lt;strong&gt;Rust&lt;/strong&gt;. In each article, we will compare solutions with &lt;strong&gt;PHP&lt;/strong&gt; or &lt;strong&gt;TypeScript&lt;/strong&gt; to understand what changes, why it might be useful, and what effort it requires. We start with &lt;strong&gt;Python&lt;/strong&gt;, using a small sales report as our example.&lt;/p&gt;
&lt;h2&gt;What you want to learn and what kind of work interests you&lt;/h2&gt;
&lt;p&gt;Before choosing another language, it helps to clarify what you are looking for: access to different projects, a move into another field, or a way of programming that challenges your habits.&lt;/p&gt;
&lt;p&gt;That intention helps you choose. Working with data is not the same goal as building infrastructure tools or understanding memory management better.&lt;/p&gt;
&lt;p&gt;Learning another language can also help you reconsider your habits. For example, a solution built around a class hierarchy may make sense in one project and be unnecessary in another. Understanding another language&apos;s conventions helps you distinguish decisions that address the problem from those you have adopted out of habit.&lt;/p&gt;
&lt;p&gt;And not everything has to become a career plan. Curiosity is a good enough reason. Finishing a small tool and discovering another way to organize code can make the effort worthwhile, even if you never change jobs.&lt;/p&gt;
&lt;h2&gt;Your PHP and TypeScript experience still matters&lt;/h2&gt;
&lt;p&gt;When you switch languages, you will need to learn syntax, tools, and conventions. You will not need to learn from scratch what a transaction is, how to design an &lt;strong&gt;API&lt;/strong&gt;, or why testing an error case is useful.&lt;/p&gt;
&lt;p&gt;Your experience solving problems, reading other people&apos;s code, and maintaining systems remains valuable. What does not transfer automatically is knowledge of the new environment: its libraries, deployment practices, limitations, and common problems.&lt;/p&gt;
&lt;p&gt;Having experience does not mean you will immediately master a new language. You will have to learn its conventions and will make mistakes, but you will bring judgment to analyzing problems, weighing alternatives, and understanding the consequences of your decisions. That experience remains useful while you learn.&lt;/p&gt;
&lt;p&gt;You do not need to change languages to keep growing. Learning more about databases, security, or software design within your current environment can also be a good next step. Learning &lt;strong&gt;Python&lt;/strong&gt; is worthwhile when it offers something you are interested in, not as proof that you have reached a particular level.&lt;/p&gt;
&lt;p&gt;Data analysis, automation, and building services are not exclusive to &lt;strong&gt;Python&lt;/strong&gt;, either. The differences lie in the available libraries, tools, and constraints you will work with. Those are worth comparing, not just what each language&apos;s syntax lets you write.&lt;/p&gt;
&lt;h2&gt;Python: exploring data analysis and automation&lt;/h2&gt;
&lt;p&gt;&lt;strong&gt;Python&lt;/strong&gt; can be a good choice if you want to explore data analysis, scientific computing, or automation. It is also used for web applications and development tools, as the &lt;a href=&quot;https://www.python.org/about/apps/&quot;&gt;Python Software Foundation&lt;/a&gt; describes. For machine learning, libraries such as &lt;a href=&quot;https://scikit-learn.org/stable/&quot;&gt;scikit-learn&lt;/a&gt; provide tools for training and evaluating models.&lt;/p&gt;
&lt;p&gt;If you come from &lt;strong&gt;PHP&lt;/strong&gt;, parts of the experience will feel familiar: you can run code without an explicit compilation step and work with dynamic types. The new part does not have to be that characteristic; it may be the libraries and the way you approach the work.&lt;/p&gt;
&lt;p&gt;Imagine you want to investigate why two sales reports disagree. You will need to read files, compare records, and decide what to do with incomplete data or inconsistent formats. You can do that with &lt;strong&gt;PHP&lt;/strong&gt; or &lt;strong&gt;TypeScript&lt;/strong&gt;. The reason to try &lt;strong&gt;Python&lt;/strong&gt; is to learn how to solve it with its data analysis ecosystem, which includes tools such as &lt;strong&gt;pandas&lt;/strong&gt;.&lt;/p&gt;
&lt;p&gt;That work develops an important skill: checking whether the data supports a conclusion before building a feature around it.&lt;/p&gt;
&lt;h2&gt;Filtering and transforming data: from TypeScript to Python&lt;/h2&gt;
&lt;p&gt;Suppose we have sales records that have already been validated, and we want the amounts of the paid sales. We use integer cents and a single currency to avoid introducing monetary calculations with decimal fractions. We are not showing how to validate or read a file yet.&lt;/p&gt;
&lt;p&gt;In &lt;strong&gt;TypeScript&lt;/strong&gt;, we can filter and transform an array:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;type Sale = {
  category: string
  amountCents: number
  paid: boolean
}

const sales: Sale[] = [
  { category: &apos;books&apos;, amountCents: 2500, paid: true },
  { category: &apos;courses&apos;, amountCents: 5000, paid: false },
  { category: &apos;books&apos;, amountCents: 1800, paid: true },
]

const paidAmounts = sales.filter((sale) =&amp;gt; sale.paid).map((sale) =&amp;gt; sale.amountCents)

console.log(paidAmounts) // [2500, 1800]
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;In &lt;strong&gt;Python&lt;/strong&gt;, we can express the same transformation with a &lt;strong&gt;list comprehension&lt;/strong&gt;, an expression that builds a new list by transforming or filtering the elements of another collection:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;from typing import TypedDict


class Sale(TypedDict):
    category: str
    amount_cents: int
    paid: bool


sales: list[Sale] = [
    {&quot;category&quot;: &quot;books&quot;, &quot;amount_cents&quot;: 2500, &quot;paid&quot;: True},
    {&quot;category&quot;: &quot;courses&quot;, &quot;amount_cents&quot;: 5000, &quot;paid&quot;: False},
    {&quot;category&quot;: &quot;books&quot;, &quot;amount_cents&quot;: 1800, &quot;paid&quot;: True},
]

paid_amounts = [sale[&quot;amount_cents&quot;] for sale in sales if sale[&quot;paid&quot;]]

print(paid_amounts)  # [2500, 1800]
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;&lt;code&gt;TypedDict&lt;/code&gt; describes the keys and values we expect in each dictionary for type-checking tools. It does not create an object with automatic validation. The annotations help us read and check the code, as we will see in the next section.&lt;/p&gt;
&lt;p&gt;The useful difference is not that one version takes fewer lines. The comprehension combines filtering and transformation in an expression that is common in &lt;strong&gt;Python&lt;/strong&gt;, while in &lt;strong&gt;TypeScript&lt;/strong&gt; we have chained two operations. Both are readable to someone familiar with their conventions. If the transformation grows, it is better to extract functions or use a loop than to fit every rule into one expression. The &lt;a href=&quot;https://docs.python.org/3/tutorial/datastructures.html&quot;&gt;Python data structures tutorial&lt;/a&gt; explains comprehensions.&lt;/p&gt;
&lt;h2&gt;Type annotations do not validate external input&lt;/h2&gt;
&lt;p&gt;&lt;strong&gt;Python&lt;/strong&gt; lets you add type annotations and use static analysis tools, but the interpreter does not enforce those annotations at runtime, as the &lt;a href=&quot;https://docs.python.org/3/library/typing.html&quot;&gt;typing documentation&lt;/a&gt; explains.&lt;/p&gt;
&lt;p&gt;This also happens in &lt;strong&gt;TypeScript&lt;/strong&gt;: its annotations are erased and do not, by themselves, validate the data entering your program. The &lt;a href=&quot;https://www.typescriptlang.org/docs/handbook/2/basic-types.html&quot;&gt;TypeScript handbook&lt;/a&gt; explains this. In both cases, we need to distinguish static type checking from validating external input.&lt;/p&gt;
&lt;p&gt;For example, imagine you receive an age in &lt;strong&gt;JSON&lt;/strong&gt; format. You expect a number, but the data contains the string &lt;code&gt;&quot;36&quot;&lt;/code&gt;. We simplify the input to a single value to focus on what the annotation does.&lt;/p&gt;
&lt;p&gt;In &lt;strong&gt;Python&lt;/strong&gt;, this code runs without rejecting the value:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;import json

age: int = json.loads(&apos;&quot;36&quot;&apos;)

print(age)                 # 36
print(type(age).__name__)  # str
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;Although we wrote &lt;code&gt;age: int&lt;/code&gt;, the variable holds a string. &lt;code&gt;json.loads&lt;/code&gt; parses the &lt;strong&gt;JSON&lt;/strong&gt;, but does not check whether the result matches our annotation. Because its result is typed as &lt;code&gt;Any&lt;/code&gt;, a static type checker may allow this assignment: it has no guarantee about the type of the received value.&lt;/p&gt;
&lt;p&gt;Something equivalent happens in &lt;strong&gt;TypeScript&lt;/strong&gt;:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;const age: number = JSON.parse(&apos;&quot;36&quot;&apos;)

console.log(age) // 36
console.log(typeof age) // string
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;&lt;code&gt;JSON.parse&lt;/code&gt; also returns a value typed as &lt;code&gt;any&lt;/code&gt;, so this assignment can compile even with strict mode enabled. The &lt;code&gt;number&lt;/code&gt; annotation does not turn the string into a number or add a check to the &lt;strong&gt;JavaScript&lt;/strong&gt; that will run.&lt;/p&gt;
&lt;p&gt;To reject that value, we need to check it at runtime. In &lt;strong&gt;Python&lt;/strong&gt;, we can do this in a function that validates the value before returning it:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;import json


def parse_age(value: object) -&amp;gt; int:
    if type(value) is not int:
        raise ValueError(&quot;Age must be an integer&quot;)
    return value


print(parse_age(json.loads(&apos;36&apos;)))    # 36
print(parse_age(json.loads(&apos;&quot;36&quot;&apos;)))  # Raises ValueError
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;Here we use &lt;code&gt;type(value) is int&lt;/code&gt; to avoid accepting a boolean as an integer, which would happen with &lt;code&gt;isinstance(value, int)&lt;/code&gt; in &lt;strong&gt;Python&lt;/strong&gt;.&lt;/p&gt;
&lt;p&gt;In &lt;strong&gt;TypeScript&lt;/strong&gt;, &lt;code&gt;unknown&lt;/code&gt; expresses that we do not yet trust the type of the value. The function checks it before returning a &lt;code&gt;number&lt;/code&gt;:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;function parseAge(value: unknown): number {
  if (typeof value !== &apos;number&apos; || !Number.isSafeInteger(value)) {
    throw new Error(&apos;Age must be an integer&apos;)
  }
  return value
}

console.log(parseAge(JSON.parse(&apos;36&apos;))) // 36
console.log(parseAge(JSON.parse(&apos;&quot;36&quot;&apos;))) // Throws Error
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;The &lt;strong&gt;TypeScript&lt;/strong&gt; condition also checks that the integer is within the range &lt;strong&gt;JavaScript&lt;/strong&gt; can represent precisely. We have not yet validated whether the age makes sense for our application, for example, whether it can be negative. That would be a separate rule. These examples only show that describing the expected type and checking the received value are different tasks.&lt;/p&gt;
&lt;h2&gt;Grouping sales: when the ecosystem starts to matter&lt;/h2&gt;
&lt;p&gt;Using the same sales as in the first example, we want to sum the paid amount by category. In &lt;strong&gt;TypeScript&lt;/strong&gt;, we can iterate over them and accumulate the results in a &lt;code&gt;Map&lt;/code&gt;. This block continues the earlier example and uses its &lt;code&gt;sales&lt;/code&gt; variable:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;const totals = new Map&amp;lt;string, number&amp;gt;()

for (const sale of sales) {
  if (!sale.paid) continue
  const previous = totals.get(sale.category) ?? 0
  totals.set(sale.category, previous + sale.amountCents)
}

console.log(Object.fromEntries(totals)) // { books: 4300 }
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;In &lt;strong&gt;Python&lt;/strong&gt;, we can also do this without installing any libraries. This block uses the &lt;code&gt;sales&lt;/code&gt; list from the first Python example:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;totals: dict[str, int] = {}

for sale in sales:
    if not sale[&quot;paid&quot;]:
        continue
    category = sale[&quot;category&quot;]
    totals[category] = totals.get(category, 0) + sale[&quot;amount_cents&quot;]

print(totals)  # {&apos;books&apos;: 4300}
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;For these three records, both solutions are sufficient. There is no need to add a dependency to sum two amounts.&lt;/p&gt;
&lt;p&gt;If the report starts needing grouping by multiple columns, joins between files, or date handling, &lt;strong&gt;pandas&lt;/strong&gt; becomes worth exploring. Its main structure, the &lt;code&gt;DataFrame&lt;/code&gt;, lets you work with data organized into rows and columns. The following example is independent of the earlier ones and requires installing the library.&lt;/p&gt;
&lt;p&gt;You can do this in a virtual environment, which keeps the project&apos;s dependencies separate from those of other projects. On Linux or macOS:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;python3 -m venv .venv
.venv/bin/python -m pip install pandas
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;On Windows, the equivalent executable is &lt;code&gt;.venv\Scripts\python.exe&lt;/code&gt;. The &lt;a href=&quot;https://docs.python.org/3/library/venv.html&quot;&gt;venv documentation&lt;/a&gt; explains the platform differences. Save the following code as &lt;code&gt;report.py&lt;/code&gt; and run it with &lt;code&gt;.venv/bin/python report.py&lt;/code&gt;:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;import pandas as pd

sales = pd.DataFrame([
    {&quot;category&quot;: &quot;books&quot;, &quot;amount_cents&quot;: 2500, &quot;paid&quot;: True},
    {&quot;category&quot;: &quot;courses&quot;, &quot;amount_cents&quot;: 5000, &quot;paid&quot;: False},
    {&quot;category&quot;: &quot;books&quot;, &quot;amount_cents&quot;: 1800, &quot;paid&quot;: True},
])

paid_sales = sales.loc[sales[&quot;paid&quot;]]
totals = paid_sales.groupby(&quot;category&quot;)[&quot;amount_cents&quot;].sum()

print(totals.to_dict())  # {&apos;books&apos;: 4300}
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;First, we select the paid rows. Then we group by category and sum the amounts column. These are selection and aggregation operations on a table, rather than an accumulator we update on each iteration. The &lt;a href=&quot;https://pandas.pydata.org/docs/getting_started/intro_tutorials/06_calculate_statistics.html&quot;&gt;pandas summary statistics tutorial&lt;/a&gt; explains this kind of grouping.&lt;/p&gt;
&lt;p&gt;The advantage is having those operations available and combining them with other analysis tools, not that &lt;strong&gt;Python&lt;/strong&gt; is the only language that can do this. An &lt;strong&gt;SQL&lt;/strong&gt; query or a &lt;strong&gt;JavaScript&lt;/strong&gt; library could be suitable options, depending on where the data lives and what the team uses.&lt;/p&gt;
&lt;p&gt;We have not demonstrated that one version is faster, either. These examples compare ways to express the work, not performance. In a real report, we would need to validate the columns, decide how to handle missing values, and account for the limits of numeric types. If the data does not fit in memory, loading everything into a &lt;code&gt;DataFrame&lt;/code&gt; may not be a good solution.&lt;/p&gt;
&lt;h2&gt;What Python offers and what you will need to learn separately&lt;/h2&gt;
&lt;p&gt;Practicing with &lt;strong&gt;Python&lt;/strong&gt; can expand your repertoire with comprehensions, dictionaries, and tools for working with data. That does not require giving up classes or mean that everything should be solved with functions. What matters is learning the environment&apos;s conventions and choosing a structure that makes the program easy to understand.&lt;/p&gt;
&lt;p&gt;You will also need to get familiar with virtual environments, dependency management, and testing and static analysis tools. These tasks are comparable to what you already do with &lt;strong&gt;Composer&lt;/strong&gt; or tools in the &lt;strong&gt;TypeScript&lt;/strong&gt; ecosystem, but with different conventions.&lt;/p&gt;
&lt;p&gt;If you want to move toward data or machine learning, the language will only be part of the change. Depending on the role, you will need to learn more about &lt;strong&gt;SQL&lt;/strong&gt;, statistics, data quality, or model evaluation. Knowing how to run a library is not the same as knowing how to interpret its output.&lt;/p&gt;
&lt;p&gt;If you simply want to keep building web applications similar to those you already maintain, it helps to be specific about what you hope to gain: a library you need, working with a team that uses Python, or learning another approach. Rewriting a working application just to change languages introduces work and risks that also need to be considered.&lt;/p&gt;
&lt;h2&gt;A first project to see whether this direction interests you&lt;/h2&gt;
&lt;p&gt;A sales reporting tool can start by reading a &lt;strong&gt;CSV&lt;/strong&gt;, rejecting incomplete records, and calculating totals by category. Keep a single currency and document the format of the amounts. Write tests for an empty file, an invalid amount, and an unpaid sale, not just the example that produces the expected result.&lt;/p&gt;
&lt;p&gt;Then add a concrete requirement: comparing two files or grouping by month. That extension will help you decide whether the standard library is still enough or whether &lt;strong&gt;pandas&lt;/strong&gt; offers something that justifies the dependency.&lt;/p&gt;
&lt;p&gt;If your goal is professional, compare what you have learned with job listings for roles that interest you. Identify which skills recur and which ones you still need. You do not need to stop working with &lt;strong&gt;PHP&lt;/strong&gt; or &lt;strong&gt;TypeScript&lt;/strong&gt; while exploring this direction.&lt;/p&gt;
&lt;p&gt;The next article will focus on &lt;strong&gt;Go&lt;/strong&gt;: we will compare asynchronous tasks in &lt;strong&gt;TypeScript&lt;/strong&gt; with goroutines, distinguishing the wait for network operations from CPU work. &lt;strong&gt;Rust&lt;/strong&gt; will follow, revisiting types and errors while also examining data ownership.&lt;/p&gt;
</content:encoded><author>Luis Ramírez Calle</author></item><item><title>Learning Go after PHP and TypeScript: concurrency is not the same as parallelism</title><link>https://luisrc.pages.dev/en/posts/learning-go-after-php-typescript</link><guid isPermaLink="true">https://luisrc.pages.dev/en/posts/learning-go-after-php-typescript</guid><description>What Go offers developers working with PHP and TypeScript: types, errors, and goroutines, with comparable examples and their limits.</description><pubDate>Wed, 07 Oct 2026 00:00:00 GMT</pubDate><content:encoded>&lt;p&gt;A report that queries three services does not have to wait for one to finish before starting the next. You can overlap those queries with &lt;strong&gt;TypeScript&lt;/strong&gt; and with &lt;strong&gt;Go&lt;/strong&gt;. So what changes when you learn &lt;strong&gt;Go&lt;/strong&gt; if you already know how to work with asynchronous code?&lt;/p&gt;
&lt;p&gt;The difference is not discovering that several tasks can make progress at once. It is learning another model for organizing them, communicating their results, and controlling when they should finish. That model is useful for building services, &lt;strong&gt;infrastructure&lt;/strong&gt; tools, and programs that combine many independent operations.&lt;/p&gt;
&lt;p&gt;In the &lt;a href=&quot;/en/posts/learning-python-after-php-typescript&quot;&gt;first article, about Python&lt;/a&gt;, we used a sales report to compare ways of transforming data. We will return to that small project: first we will calculate the same totals, then imagine that the sales come from different stores.&lt;/p&gt;
&lt;h2&gt;When learning Go makes sense&lt;/h2&gt;
&lt;p&gt;&lt;strong&gt;Go&lt;/strong&gt; is a compiled, &lt;strong&gt;statically typed&lt;/strong&gt; language. Its toolchain includes tools for formatting, testing, and building programs, and a &lt;strong&gt;standard library&lt;/strong&gt; that supports tasks such as working with &lt;strong&gt;HTTP&lt;/strong&gt; or parsing &lt;strong&gt;JSON&lt;/strong&gt;.&lt;/p&gt;
&lt;p&gt;Its &lt;a href=&quot;https://go.dev/solutions/&quot;&gt;official use cases&lt;/a&gt; include cloud services, command-line tools, and web development. If you are interested in &lt;strong&gt;backend&lt;/strong&gt; development, &lt;strong&gt;infrastructure&lt;/strong&gt;, or tools used by other developers, that direction is worth exploring. These are kinds of work, not industries exclusive to a language: a financial company and an e-commerce platform may need similar services.&lt;/p&gt;
&lt;p&gt;That does not make &lt;strong&gt;Go&lt;/strong&gt; a necessary replacement for &lt;strong&gt;PHP&lt;/strong&gt; or &lt;strong&gt;TypeScript&lt;/strong&gt;. If an application works well with &lt;strong&gt;Laravel&lt;/strong&gt;, or you need to share knowledge and tools between a frontend and a &lt;strong&gt;Node.js&lt;/strong&gt; backend, switching languages has a cost you need to justify.&lt;/p&gt;
&lt;p&gt;You can also learn it without considering a migration. Building a small tool in &lt;strong&gt;Go&lt;/strong&gt; lets you revisit how you organize types, handle errors, and think about tasks that share data.&lt;/p&gt;
&lt;h2&gt;From TypeScript to Go: the same data, different conventions&lt;/h2&gt;
&lt;p&gt;We return to the three sales from the &lt;strong&gt;Python&lt;/strong&gt; article. The data has already been validated, amounts are integer cents, and all sales use the same currency. We want to add up only the paid sales.&lt;/p&gt;
&lt;p&gt;In &lt;strong&gt;TypeScript&lt;/strong&gt;, the complete example would be:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;type Sale = {
  category: string
  amountCents: number
  paid: boolean
}

const sales: Sale[] = [
  { category: &apos;books&apos;, amountCents: 2500, paid: true },
  { category: &apos;courses&apos;, amountCents: 5000, paid: false },
  { category: &apos;books&apos;, amountCents: 1800, paid: true },
]

const totals = new Map&amp;lt;string, number&amp;gt;()

for (const sale of sales) {
  if (!sale.paid) continue
  const previous = totals.get(sale.category) ?? 0
  totals.set(sale.category, previous + sale.amountCents)
}

console.log(Object.fromEntries(totals)) // { books: 4300 }
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;In &lt;strong&gt;Go&lt;/strong&gt;, we can use a struct, a &lt;strong&gt;slice&lt;/strong&gt; for the sales, and a map to accumulate the amounts. Save this program as &lt;code&gt;report.go&lt;/code&gt; and run it with &lt;code&gt;go run report.go&lt;/code&gt;, after &lt;a href=&quot;https://go.dev/doc/install&quot;&gt;installing Go&lt;/a&gt;:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;package main

import &quot;fmt&quot;

type Sale struct {
	Category    string
	AmountCents int64
	Paid        bool
}

func main() {
	sales := []Sale{
		{Category: &quot;books&quot;, AmountCents: 2500, Paid: true},
		{Category: &quot;courses&quot;, AmountCents: 5000, Paid: false},
		{Category: &quot;books&quot;, AmountCents: 1800, Paid: true},
	}

	totals := make(map[string]int64)
	for _, sale := range sales {
		if !sale.Paid {
			continue
		}
		totals[sale.Category] += sale.AmountCents
	}

	fmt.Println(totals[&quot;books&quot;]) // 4300
}
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;A &lt;strong&gt;slice&lt;/strong&gt; is a view of a sequence of elements in an underlying array, with a length and a capacity. Here it serves as our collection of sales. We do not need to master how it grows or shares memory yet, but that will matter before assuming that copying a &lt;strong&gt;slice&lt;/strong&gt; copies all its elements.&lt;/p&gt;
&lt;p&gt;&lt;code&gt;:=&lt;/code&gt; declares a variable and infers its type. It does not make the program dynamically typed: &lt;code&gt;totals&lt;/code&gt; is still a map from strings to 64-bit integers. Looking up a missing key in that map returns the type&apos;s zero value, &lt;code&gt;0&lt;/code&gt;, so we can add amounts without writing the equivalent of &lt;code&gt;?? 0&lt;/code&gt;.&lt;/p&gt;
&lt;p&gt;We chose &lt;code&gt;int64&lt;/code&gt; to express that we are working with integer amounts, not decimals. This is not a complete solution for handling money either: the representation has a limit, and a real report should check that sums do not exceed it. In &lt;strong&gt;TypeScript&lt;/strong&gt;, we would also need to consider the safe integer range of &lt;code&gt;number&lt;/code&gt;.&lt;/p&gt;
&lt;p&gt;The most interesting difference is not the number of lines. &lt;strong&gt;Go&lt;/strong&gt; uses structs and methods, but does not offer &lt;strong&gt;class inheritance&lt;/strong&gt;. To reuse behavior, you use functions, &lt;strong&gt;composition&lt;/strong&gt;, and &lt;strong&gt;interfaces&lt;/strong&gt;.&lt;/p&gt;
&lt;p&gt;Types satisfy &lt;strong&gt;interfaces&lt;/strong&gt; by having the required methods, without an &lt;code&gt;implements&lt;/code&gt; declaration as in &lt;strong&gt;PHP&lt;/strong&gt;. This encourages defining dependencies by what they need to do, although you can also design small &lt;strong&gt;interfaces&lt;/strong&gt; in your current languages. The &lt;a href=&quot;https://go.dev/doc/faq&quot;&gt;Go FAQ&lt;/a&gt; explains this type system based on &lt;strong&gt;composition&lt;/strong&gt;.&lt;/p&gt;
&lt;h2&gt;Concurrency does not mean running everything in parallel&lt;/h2&gt;
&lt;p&gt;&lt;strong&gt;Concurrency&lt;/strong&gt; means organizing tasks that can make progress during overlapping periods. One might wait for a network response while another starts its work. &lt;strong&gt;Parallelism&lt;/strong&gt; means executing work simultaneously, for example on different &lt;strong&gt;CPU&lt;/strong&gt; cores.&lt;/p&gt;
&lt;p&gt;Think about our report. If you query one store, wait for its response, and then query the next, you are working sequentially. If you start all three queries before waiting for their results, their waits can overlap. You do not need three cores to take advantage of that waiting time.&lt;/p&gt;
&lt;p&gt;In &lt;strong&gt;Node.js&lt;/strong&gt;, &lt;code&gt;async&lt;/code&gt; and &lt;code&gt;await&lt;/code&gt; let you express asynchronous operations, and &lt;code&gt;Promise.all&lt;/code&gt; lets you wait for several results. But declaring a function &lt;code&gt;async&lt;/code&gt; does not move its calculations to another thread. An expensive transformation running on the &lt;strong&gt;event loop&lt;/strong&gt; thread can prevent other tasks from being handled. The &lt;a href=&quot;https://nodejs.org/learn/asynchronous-work/dont-block-the-event-loop&quot;&gt;Node.js guide to the event loop&lt;/a&gt; explains this problem.&lt;/p&gt;
&lt;p&gt;In &lt;strong&gt;Go&lt;/strong&gt;, a &lt;strong&gt;goroutine&lt;/strong&gt; is a task whose execution is managed by the language&apos;s &lt;strong&gt;runtime&lt;/strong&gt;. You start it with &lt;code&gt;go&lt;/code&gt;, and the &lt;strong&gt;runtime&lt;/strong&gt; distributes &lt;strong&gt;goroutines&lt;/strong&gt; across operating system threads. There is no dedicated thread for each &lt;strong&gt;goroutine&lt;/strong&gt;. Depending on resources and configuration, several can execute work in parallel; there is no guarantee that each task gets its own core. &lt;a href=&quot;https://go.dev/doc/effective_go#goroutines&quot;&gt;Effective Go&lt;/a&gt; explains this model.&lt;/p&gt;
&lt;p&gt;That is why saying that “&lt;strong&gt;Go&lt;/strong&gt; has &lt;strong&gt;concurrency&lt;/strong&gt; and &lt;strong&gt;TypeScript&lt;/strong&gt; does not” would be incorrect. What changes is the execution model and the tools for coordinating it. Nor can we conclude that a program will be faster just because it uses &lt;strong&gt;goroutines&lt;/strong&gt;: we need to measure the actual workload.&lt;/p&gt;
&lt;h2&gt;Querying several stores with Promise.all&lt;/h2&gt;
&lt;p&gt;Now each store returns a total for paid sales. We will use &lt;code&gt;2500&lt;/code&gt;, &lt;code&gt;0&lt;/code&gt;, and &lt;code&gt;1800&lt;/code&gt; cents, equivalent to the earlier sales. The store with the unpaid sale returns zero.&lt;/p&gt;
&lt;p&gt;To run the example without external services, we will simulate each query with a 50-millisecond wait. The data is defined in the program: we are not implementing an &lt;strong&gt;HTTP&lt;/strong&gt; request, response validation, or a performance test.&lt;/p&gt;
&lt;p&gt;This example is independent of the previous one. With &lt;strong&gt;Node.js 24&lt;/strong&gt;, you can save it as &lt;code&gt;stores.ts&lt;/code&gt; and run &lt;code&gt;node stores.ts&lt;/code&gt;. Built-in support removes the annotations but does not check types: running the file does not replace checking it with &lt;code&gt;tsc&lt;/code&gt;, as the &lt;a href=&quot;https://nodejs.org/docs/latest-v24.x/api/typescript.html&quot;&gt;Node.js TypeScript documentation&lt;/a&gt; explains.&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;type Store = {
  name: string
  paidCents: number
}

const stores: Store[] = [
  { name: &apos;north&apos;, paidCents: 2500 },
  { name: &apos;central&apos;, paidCents: 0 },
  { name: &apos;south&apos;, paidCents: 1800 },
]

async function fetchPaidTotal(store: Store): Promise&amp;lt;number&amp;gt; {
  await new Promise&amp;lt;void&amp;gt;((resolve) =&amp;gt; setTimeout(resolve, 50))
  return store.paidCents
}

async function main(): Promise&amp;lt;void&amp;gt; {
  const amounts = await Promise.all(stores.map(fetchPaidTotal))
  const total = amounts.reduce((sum, amount) =&amp;gt; sum + amount, 0)
  console.log(total) // 4300
}

main().catch((error: unknown) =&amp;gt; {
  console.error(error)
  process.exitCode = 1
})
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;&lt;code&gt;map&lt;/code&gt; calls &lt;code&gt;fetchPaidTotal&lt;/code&gt; for each store, starting all three waits before &lt;code&gt;Promise.all&lt;/code&gt; waits for their results. If we had used an &lt;code&gt;await&lt;/code&gt; inside a loop for each query, the waits would be sequential.&lt;/p&gt;
&lt;p&gt;&lt;code&gt;Promise.all&lt;/code&gt; rejects its promise if one operation fails, but does not automatically cancel the others. With real requests, you would need to decide whether to stop them, for example by using &lt;strong&gt;AbortController&lt;/strong&gt; with an API that supports its signal. This example does not include &lt;strong&gt;cancellation&lt;/strong&gt;; the next version introduces it to explain how it works in &lt;strong&gt;Go&lt;/strong&gt;.&lt;/p&gt;
&lt;h2&gt;The same query with goroutines and a channel&lt;/h2&gt;
&lt;p&gt;In &lt;strong&gt;Go&lt;/strong&gt;, we can start one &lt;strong&gt;goroutine&lt;/strong&gt; per store and collect results through a &lt;strong&gt;channel&lt;/strong&gt;, a tool for sending values between &lt;strong&gt;goroutines&lt;/strong&gt;. We will add a one-second deadline so the operation does not wait indefinitely.&lt;/p&gt;
&lt;p&gt;Save this independent program as &lt;code&gt;stores.go&lt;/code&gt; and run it with &lt;code&gt;go run stores.go&lt;/code&gt;:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;package main

import (
	&quot;context&quot;
	&quot;fmt&quot;
	&quot;os&quot;
	&quot;time&quot;
)

type Store struct {
	Name      string
	PaidCents int64
}

type Result struct {
	AmountCents int64
	Err         error
}

func fetchPaidTotal(ctx context.Context, store Store) (int64, error) {
	timer := time.NewTimer(50 * time.Millisecond)
	defer timer.Stop()

	select {
	case &amp;lt;-ctx.Done():
		return 0, ctx.Err()
	case &amp;lt;-timer.C:
		return store.PaidCents, nil
	}
}

func totalPaid(ctx context.Context, stores []Store) (int64, error) {
	ctx, cancel := context.WithCancel(ctx)
	defer cancel()

	// Each task sends once, even if we stop collecting results.
	results := make(chan Result, len(stores))
	for _, store := range stores {
		go func(store Store) {
			amount, err := fetchPaidTotal(ctx, store)
			results &amp;lt;- Result{AmountCents: amount, Err: err}
		}(store)
	}

	var total int64
	for range stores {
		select {
		case &amp;lt;-ctx.Done():
			return 0, ctx.Err()
		case result := &amp;lt;-results:
			if result.Err != nil {
				return 0, result.Err
			}
			total += result.AmountCents
		}
	}
	return total, nil
}

func main() {
	stores := []Store{
		{Name: &quot;north&quot;, PaidCents: 2500},
		{Name: &quot;central&quot;, PaidCents: 0},
		{Name: &quot;south&quot;, PaidCents: 1800},
	}

	ctx, cancel := context.WithTimeout(context.Background(), time.Second)
	defer cancel()

	total, err := totalPaid(ctx, stores)
	if err != nil {
		fmt.Fprintln(os.Stderr, err)
		os.Exit(1)
	}
	fmt.Println(total) // 4300
}
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;The results flow through a single collection point:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;goroutine: north store   ─┐
goroutine: central store ─┼─&amp;gt; results channel ─&amp;gt; totalPaid adds the amounts
goroutine: south store   ─┘
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;There is more code than in the &lt;code&gt;Promise.all&lt;/code&gt; version, partly because we added a deadline and &lt;strong&gt;cancellation&lt;/strong&gt;. It would not be fair to attribute the entire difference in size to the language. What matters is understanding the decisions:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Each &lt;strong&gt;goroutine&lt;/strong&gt; queries a store and sends a result. It does not directly modify the shared total.&lt;/li&gt;
&lt;li&gt;The &lt;strong&gt;goroutine&lt;/strong&gt; running &lt;code&gt;totalPaid&lt;/code&gt; is the only one that adds the amounts. This avoids several tasks writing to the same accumulator without synchronization.&lt;/li&gt;
&lt;li&gt;The channel has room to hold one result per store. If &lt;code&gt;totalPaid&lt;/code&gt; exits because of an error and stops collecting results, the other &lt;strong&gt;goroutines&lt;/strong&gt; can still leave theirs in the channel and finish. They do not get stuck waiting for someone to receive them.&lt;/li&gt;
&lt;li&gt;&lt;code&gt;context&lt;/code&gt; communicates &lt;strong&gt;cancellation&lt;/strong&gt;, but does not automatically stop the code a &lt;strong&gt;goroutine&lt;/strong&gt; is executing. It is a signal that says, “we no longer need this work.” In our example, &lt;code&gt;fetchPaidTotal&lt;/code&gt; uses &lt;code&gt;select&lt;/code&gt; to wait for either the timer to finish or that signal to arrive. If it detects cancellation, it stops waiting and returns an error; the &lt;strong&gt;goroutine&lt;/strong&gt; sends that result to the channel and finishes. If the function did not check the signal, it would keep working even after we called &lt;code&gt;cancel()&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;We do not close the channel because we collect a known number of results. Closing a channel is not required to release its resources; it indicates that there will be no more sends.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Returning on an error discards the partial total and cancels the queries&apos; context. The function does not wait for all &lt;strong&gt;goroutines&lt;/strong&gt; to finish before returning; in this simulation, they can finish without blocking because the wait supports &lt;strong&gt;cancellation&lt;/strong&gt; and the channel has room. If a resource required waiting for all tasks to shut down, we would need to coordinate that completion too.&lt;/p&gt;
&lt;p&gt;For a real &lt;strong&gt;HTTP&lt;/strong&gt; query, you would pass the context to the request, for example with &lt;code&gt;http.NewRequestWithContext&lt;/code&gt;, and handle the response and close its body. A context does not fix a function that ignores &lt;strong&gt;cancellation&lt;/strong&gt;. The &lt;a href=&quot;https://pkg.go.dev/context&quot;&gt;context documentation&lt;/a&gt; explains this contract.&lt;/p&gt;
&lt;h2&gt;What goroutines do not solve for you&lt;/h2&gt;
&lt;p&gt;Creating one &lt;strong&gt;goroutine&lt;/strong&gt; per store works for this three-item example. Doing it for a hundred thousand stores can exhaust connections, consume memory, or exceed a provider&apos;s limits. A &lt;strong&gt;goroutine&lt;/strong&gt; has a cost, even though it is not a dedicated thread.&lt;/p&gt;
&lt;p&gt;As the volume grows, you will need to limit active work, for example with a fixed number of workers processing tasks. In &lt;strong&gt;TypeScript&lt;/strong&gt;, launching thousands of requests with &lt;code&gt;Promise.all&lt;/code&gt; creates a similar problem: you need to control &lt;strong&gt;concurrency&lt;/strong&gt;, not just know how to start it.&lt;/p&gt;
&lt;p&gt;You also need to decide what a failure means. Our report requires every store to respond, so it does not return a partial total. Another product might display incomplete results and identify the missing stores. That is a business decision, not a property of &lt;strong&gt;Go&lt;/strong&gt;.&lt;/p&gt;
&lt;p&gt;If several &lt;strong&gt;goroutines&lt;/strong&gt; share and modify a map or variable, you need to coordinate access using &lt;strong&gt;channels&lt;/strong&gt;, a &lt;strong&gt;mutex&lt;/strong&gt;, or another suitable tool. The &lt;a href=&quot;https://go.dev/blog/pipelines&quot;&gt;official article on pipelines and cancellation&lt;/a&gt; shows how a blocked send can leave tasks unable to finish. Learning &lt;strong&gt;Go&lt;/strong&gt; includes recognizing these problems, not just adding &lt;code&gt;go&lt;/code&gt; before a call.&lt;/p&gt;
&lt;h2&gt;When Go can offer better performance than TypeScript or PHP&lt;/h2&gt;
&lt;p&gt;The association between &lt;strong&gt;Go&lt;/strong&gt; and good performance has a technical basis, but combines several distinct advantages: compiled code execution, lightweight tasks, and the ability to use multiple cores. Using &lt;strong&gt;goroutines&lt;/strong&gt; does not improve all three by itself.&lt;/p&gt;
&lt;p&gt;Also, when we discuss &lt;strong&gt;TypeScript&lt;/strong&gt; performance, we are comparing programs running in a specific environment. &lt;strong&gt;Node.js&lt;/strong&gt; uses &lt;strong&gt;V8&lt;/strong&gt;, and &lt;strong&gt;Bun&lt;/strong&gt; uses &lt;strong&gt;JavaScriptCore&lt;/strong&gt;. The same code can behave differently depending on the engine, libraries, and APIs used. The &lt;a href=&quot;https://nodejs.org/learn/getting-started/the-v8-javascript-engine&quot;&gt;Node.js&lt;/a&gt; and &lt;a href=&quot;https://bun.sh/docs/runtime&quot;&gt;Bun&lt;/a&gt; documentation explains these engines.&lt;/p&gt;
&lt;p&gt;We write the program in &lt;strong&gt;TypeScript&lt;/strong&gt;, but its types are removed and the code runs as &lt;strong&gt;JavaScript&lt;/strong&gt;. That is why we refer to &lt;strong&gt;TypeScript&lt;/strong&gt; when discussing the code we write, and &lt;strong&gt;JavaScript&lt;/strong&gt; when describing the engines that execute it. The &lt;a href=&quot;https://nodejs.org/docs/latest-v24.x/api/typescript.html#type-stripping&quot;&gt;Node.js TypeScript documentation&lt;/a&gt; explains this type stripping.&lt;/p&gt;
&lt;h3&gt;When the work involves calculating, not waiting&lt;/h3&gt;
&lt;p&gt;Imagine our report no longer adds three amounts, but applies calculation rules to millions of independent sales. If you run those rules in a loop on the &lt;strong&gt;Node.js&lt;/strong&gt; main thread, that thread will be busy calculating and unable to handle other &lt;strong&gt;event loop&lt;/strong&gt; tasks until it finishes. Wrapping the loop in an &lt;code&gt;async&lt;/code&gt; function does not change that.&lt;/p&gt;
&lt;p&gt;In &lt;strong&gt;Go&lt;/strong&gt;, you can split the sales into batches and process them with a limited number of &lt;strong&gt;goroutines&lt;/strong&gt;. If multiple cores are available, the &lt;strong&gt;runtime&lt;/strong&gt; can execute those batches in parallel. Compared with a version that performs all calculations on one thread, there is a concrete opportunity to finish sooner. The improvement depends on how much work is independent and how much it costs to distribute it and combine the results. The &lt;a href=&quot;https://go.dev/doc/faq#parallel&quot;&gt;Go FAQ on parallelism&lt;/a&gt; also explains why adding tasks can slow a program down.&lt;/p&gt;
&lt;p&gt;That does not mean &lt;strong&gt;Node.js&lt;/strong&gt; or &lt;strong&gt;Bun&lt;/strong&gt; cannot do this. &lt;strong&gt;Node.js&lt;/strong&gt; has &lt;a href=&quot;https://nodejs.org/docs/latest-v24.x/api/worker_threads.html&quot;&gt;&lt;strong&gt;worker threads&lt;/strong&gt;&lt;/a&gt;, and &lt;strong&gt;Bun&lt;/strong&gt; offers &lt;a href=&quot;https://bun.sh/docs/runtime/workers&quot;&gt;&lt;strong&gt;Workers&lt;/strong&gt;&lt;/a&gt;, which run another JavaScript instance on a separate thread. They also let you distribute calculations across cores. Bun&apos;s documentation notes that its Workers API is still experimental, particularly worker termination.&lt;/p&gt;
&lt;p&gt;The advantage of &lt;strong&gt;Go&lt;/strong&gt; here is that &lt;strong&gt;goroutines&lt;/strong&gt; are part of the language&apos;s regular model and share the process&apos;s memory space. You do not need to create a JavaScript instance for each task. That can make distributing work less expensive, but sharing memory requires synchronization. Workers do not always require copying all data either: &lt;strong&gt;Node.js&lt;/strong&gt;, for example, allows buffers to be transferred or shared. A fair comparison must include these alternatives.&lt;/p&gt;
&lt;h3&gt;When a service mixes networking and processing&lt;/h3&gt;
&lt;p&gt;Let us return to the stores. While we only wait for their responses, the asynchronous model in &lt;strong&gt;Node.js&lt;/strong&gt; already lets us take advantage of those waits. The situation changes if each response then requires an expensive calculation written in &lt;strong&gt;TypeScript&lt;/strong&gt; that runs on the main thread: that processing can also delay other requests to the service.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Go&lt;/strong&gt; can distribute that work across cores within the same process using &lt;strong&gt;goroutines&lt;/strong&gt;. This makes it an interesting candidate for services that combine many connections with independent processing. It does not eliminate saturation: if all cores are busy, you need to limit work and manage the queue of pending tasks. In &lt;strong&gt;Node.js&lt;/strong&gt; or &lt;strong&gt;Bun&lt;/strong&gt;, moving those calculations to workers also prevents them from blocking the main thread. The &lt;a href=&quot;https://nodejs.org/learn/asynchronous-work/dont-block-the-event-loop&quot;&gt;Node.js guide to blocking&lt;/a&gt; discusses this problem.&lt;/p&gt;
&lt;h3&gt;Where the comparison with PHP comes from&lt;/h3&gt;
&lt;p&gt;In a typical &lt;strong&gt;PHP-FPM&lt;/strong&gt; deployment, different processes handle different requests. A &lt;strong&gt;PHP&lt;/strong&gt; application can therefore handle requests in parallel and use multiple cores. The &lt;a href=&quot;https://www.php.net/manual/en/install.fpm.configuration.php&quot;&gt;FPM configuration&lt;/a&gt; sets the limit on simultaneous requests through &lt;code&gt;pm.max_children&lt;/code&gt;.&lt;/p&gt;
&lt;p&gt;If a request makes a blocking query and waits, it keeps one of those processes occupied. A &lt;strong&gt;Go&lt;/strong&gt; service can organize many waits through lightweight tasks, without needing a whole process for each one. When available processes and their memory consumption are the limiting factor, that change in model can allow more work to be handled with the same resources. It is a reason to evaluate &lt;strong&gt;Go&lt;/strong&gt;, not a guarantee for every application.&lt;/p&gt;
&lt;p&gt;Not all &lt;strong&gt;PHP&lt;/strong&gt; runs this way either. There are libraries and extensions for asynchronous operations and long-running servers. The language includes &lt;a href=&quot;https://www.php.net/manual/en/language.fibers.php&quot;&gt;&lt;strong&gt;Fibers&lt;/strong&gt;&lt;/a&gt;, which allow functions to be suspended and resumed, although they do not distribute calculations across cores by themselves. Comparing &lt;strong&gt;Go&lt;/strong&gt; with &lt;strong&gt;PHP-FPM&lt;/strong&gt; and applying the result to every &lt;strong&gt;PHP&lt;/strong&gt; environment would be misleading.&lt;/p&gt;
&lt;h3&gt;A goroutine does not make the calculation inside it faster&lt;/h3&gt;
&lt;p&gt;&lt;strong&gt;Go&lt;/strong&gt; compiles the program to machine code before executing it. That feature is separate from its support for &lt;strong&gt;concurrency&lt;/strong&gt;. JavaScript engines can also compile and optimize code during execution; summarizing the comparison as “compiled versus interpreted” would not be accurate. The documentation for the &lt;a href=&quot;https://go.dev/doc/faq#runtime&quot;&gt;Go runtime&lt;/a&gt; and &lt;a href=&quot;https://nodejs.org/learn/getting-started/the-v8-javascript-engine&quot;&gt;V8&lt;/a&gt; explains these models.&lt;/p&gt;
&lt;p&gt;A transformation may be faster in &lt;strong&gt;Go&lt;/strong&gt;, but we cannot deduce that from the language alone: the algorithm, data representation, memory allocations, and libraries matter. An operation handled by a native library from &lt;strong&gt;Node.js&lt;/strong&gt;, &lt;strong&gt;Bun&lt;/strong&gt;, or &lt;strong&gt;PHP&lt;/strong&gt; is not equivalent to performing all its work in application code either.&lt;/p&gt;
&lt;p&gt;Before migrating our report, we would measure response time, reports completed per second, and &lt;strong&gt;CPU&lt;/strong&gt; and memory usage. We would use the same data, resources, and concurrency limits, check that results are equivalent, and test under sustained load rather than with a single isolated request. We would also look at &lt;strong&gt;p95 latency&lt;/strong&gt;, the time within which 95% of requests complete, so an acceptable average does not hide slow responses.&lt;/p&gt;
&lt;p&gt;If time is spent on a poorly designed query or waiting for an external API, switching to &lt;strong&gt;Go&lt;/strong&gt; does not fix that problem. If it is spent on calculations we can distribute, or on keeping too many processes occupied while waiting, we have a concrete hypothesis to test. That is a more useful justification than “Go is faster because it has goroutines.”&lt;/p&gt;
&lt;h2&gt;What Go adds to your engineering judgment&lt;/h2&gt;
&lt;p&gt;Part of the learning involves treating errors as explicit results. In &lt;code&gt;fetchPaidTotal&lt;/code&gt;, &lt;code&gt;(int64, error)&lt;/code&gt; indicates that the function returns an amount and a possible error. The code calling &lt;code&gt;fetchPaidTotal&lt;/code&gt; decides what to do with the error; it does not have to discover that case by reading an exception thrown in another layer. The &lt;a href=&quot;https://go.dev/doc/tutorial/handle-errors&quot;&gt;official error-handling tutorial&lt;/a&gt; demonstrates this pattern.&lt;/p&gt;
&lt;p&gt;That does not prevent errors from being ignored or guarantee good design. You can return them without context or repeat checks that do not help. The useful practice is deciding where to recover from an error, where to add information, and when to return it so the code that called the function can handle it. You can apply that judgment when you return to &lt;strong&gt;PHP&lt;/strong&gt; or &lt;strong&gt;TypeScript&lt;/strong&gt; too.&lt;/p&gt;
&lt;p&gt;Another part involves managing tasks with a defined lifetime: who starts them, when they finish, what happens if a dependency fails, and who modifies shared data. &lt;strong&gt;Goroutines&lt;/strong&gt; make these questions visible, but the questions matter in any concurrent system.&lt;/p&gt;
&lt;p&gt;You will also need to learn about modules, tests, performance profiling, and tools such as &lt;code&gt;gofmt&lt;/code&gt;. If you want to work in &lt;strong&gt;infrastructure&lt;/strong&gt;, add networking, operating systems, and &lt;strong&gt;observability&lt;/strong&gt; to that list. Knowing how to write a &lt;strong&gt;goroutine&lt;/strong&gt; is not the same as knowing how to operate a production service.&lt;/p&gt;
&lt;h2&gt;A next step for the sales report&lt;/h2&gt;
&lt;p&gt;Start by running the examples, then replace the simulated wait with two local &lt;strong&gt;HTTP&lt;/strong&gt; services. Keep a limit on simultaneous queries and define a deadline for the whole operation. Do not add retries until you decide which errors are recoverable and which requests are safe to repeat.&lt;/p&gt;
&lt;p&gt;Test an empty list, a slow store, an invalid response, and &lt;strong&gt;cancellation&lt;/strong&gt;. Also check that a failure does not leave queries waiting indefinitely. You can use &lt;code&gt;go test -race&lt;/code&gt; to look for &lt;strong&gt;data races&lt;/strong&gt; during tests, although not finding them does not prove they do not exist. The &lt;a href=&quot;https://go.dev/doc/articles/race_detector&quot;&gt;race detector documentation&lt;/a&gt; explains its limits.&lt;/p&gt;
&lt;p&gt;If you enjoy that work, you will have a clue about whether you want to go deeper into services and &lt;strong&gt;infrastructure&lt;/strong&gt;. If exploring and comparing data interested you most, you can continue along the &lt;strong&gt;Python&lt;/strong&gt; path from the first article. You do not need to choose one permanently.&lt;/p&gt;
&lt;p&gt;In the next article, we will discuss &lt;strong&gt;Rust&lt;/strong&gt;. We will return to types and errors, but add a question that &lt;strong&gt;Go&lt;/strong&gt; largely handles through its &lt;strong&gt;garbage collector&lt;/strong&gt;: who owns the data, and how long can it be used?&lt;/p&gt;
</content:encoded><author>Luis Ramírez Calle</author></item><item><title>Learning Rust after PHP and TypeScript: who can use your data, and for how long</title><link>https://luisrc.pages.dev/en/posts/learning-rust-after-php-typescript</link><guid isPermaLink="true">https://luisrc.pages.dev/en/posts/learning-rust-after-php-typescript</guid><description>What Rust offers developers working with PHP and TypeScript: ownership, borrowing, and explicit errors, with examples and the reasoning behind each decision.</description><pubDate>Wed, 07 Oct 2026 00:00:00 GMT</pubDate><content:encoded>&lt;p&gt;A function receives sales data, calculates a report, and returns. Can it keep that data? Can it change it while another function is reading it? In &lt;strong&gt;PHP&lt;/strong&gt; or &lt;strong&gt;TypeScript&lt;/strong&gt;, many of these decisions depend on project conventions. &lt;strong&gt;Rust&lt;/strong&gt; turns some of them into rules checked by the compiler.&lt;/p&gt;
&lt;p&gt;That shift can feel awkward at first: a program that looks reasonable will not compile because it tries to use a value it has already handed to another function. Understanding why is one of the most interesting reasons to learn &lt;strong&gt;Rust&lt;/strong&gt;, even if you do not plan to use it in your next job.&lt;/p&gt;
&lt;p&gt;In the &lt;a href=&quot;/en/posts/learning-python-after-php-typescript&quot;&gt;Python article&lt;/a&gt;, we transformed sales data. In the &lt;a href=&quot;/en/posts/learning-go-after-php-typescript&quot;&gt;Go article&lt;/a&gt;, we added concurrent queries and controlled when they should finish. Now we will return to that report to see how &lt;strong&gt;Rust&lt;/strong&gt; organizes access to data and expresses the cases in which an operation can fail.&lt;/p&gt;
&lt;h2&gt;When learning Rust is worth the effort&lt;/h2&gt;
&lt;p&gt;&lt;strong&gt;Rust&lt;/strong&gt; is a compiled, &lt;strong&gt;statically typed&lt;/strong&gt; language that manages memory without requiring a &lt;strong&gt;garbage collector&lt;/strong&gt;. It combines control over resources with checks that prevent certain classes of memory errors in safe code.&lt;/p&gt;
&lt;p&gt;Its &lt;a href=&quot;https://rust-lang.org/what/&quot;&gt;official areas of use&lt;/a&gt; include command-line tools, &lt;strong&gt;WebAssembly&lt;/strong&gt;, network services, and embedded systems. It can also be worth considering for components that process large amounts of data or must work within specific memory limits.&lt;/p&gt;
&lt;p&gt;These areas are not exclusive to &lt;strong&gt;Rust&lt;/strong&gt;. The question is what constraints the project has and whether its model helps address them. A file-processing tool and a business web application can have very different priorities, even within the same company.&lt;/p&gt;
&lt;p&gt;If you work with &lt;strong&gt;PHP&lt;/strong&gt; and &lt;strong&gt;TypeScript&lt;/strong&gt;, learning it can introduce you to systems programming or to building libraries and tools. But writing a few programs does not replace knowledge of the field: you will also need to learn how to measure, understand the operating system, and use the team&apos;s tools.&lt;/p&gt;
&lt;p&gt;For a service that spends most of its time waiting for the database, switching to &lt;strong&gt;Rust&lt;/strong&gt; can add effort without addressing the main problem. You do not need to rewrite an application to try it, either: a small, standalone tool lets you learn with less risk.&lt;/p&gt;
&lt;h2&gt;The same report in TypeScript and Rust&lt;/h2&gt;
&lt;p&gt;We still have three validated sales. Amounts are integer cents, all sales use the same currency, and we want to sum the paid ones. This time we will calculate an overall total, &lt;code&gt;4300&lt;/code&gt;, rather than group it by category.&lt;/p&gt;
&lt;p&gt;In &lt;strong&gt;TypeScript&lt;/strong&gt;, we can separate the calculation from the sample data. Save this program as &lt;code&gt;report.ts&lt;/code&gt; and run it with &lt;code&gt;node report.ts&lt;/code&gt; in &lt;strong&gt;Node.js 24&lt;/strong&gt;. That execution removes type annotations but does not check them; static analysis is still a job for &lt;code&gt;tsc&lt;/code&gt;, as the &lt;a href=&quot;https://nodejs.org/docs/latest-v24.x/api/typescript.html&quot;&gt;Node.js documentation&lt;/a&gt; explains:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;type Sale = {
  category: string
  amountCents: number
  paid: boolean
}

function totalPaid(sales: readonly Sale[]): number {
  return sales
    .filter((sale) =&amp;gt; sale.paid)
    .reduce((total, sale) =&amp;gt; total + sale.amountCents, 0)
}

const sales: Sale[] = [
  { category: &apos;books&apos;, amountCents: 2500, paid: true },
  { category: &apos;courses&apos;, amountCents: 5000, paid: false },
  { category: &apos;books&apos;, amountCents: 1800, paid: true },
]

console.log(totalPaid(sales)) // 4300
console.log(sales.length) // 3
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;During type checking, &lt;code&gt;readonly Sale[]&lt;/code&gt; prevents this function from changing the array&apos;s structure through operations such as &lt;code&gt;push&lt;/code&gt;. It does not make the objects inside it immutable or freeze the data at runtime. The fields of &lt;code&gt;Sale&lt;/code&gt; remain mutable. The &lt;a href=&quot;https://www.typescriptlang.org/docs/handbook/2/objects.html#the-readonlyarray-type&quot;&gt;TypeScript handbook&lt;/a&gt; describes this read-only contract.&lt;/p&gt;
&lt;p&gt;In &lt;strong&gt;Rust&lt;/strong&gt;, we will start with a function that also reads the collection without taking ownership of it. After &lt;a href=&quot;https://www.rust-lang.org/tools/install&quot;&gt;installing Rust&lt;/a&gt;, save this program as &lt;code&gt;report.rs&lt;/code&gt;, run &lt;code&gt;rustc --edition=2024 report.rs -o report&lt;/code&gt;, and then run &lt;code&gt;./report&lt;/code&gt;:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;struct Sale {
    category: String,
    amount_cents: u64,
    paid: bool,
}

fn total_paid(sales: &amp;amp;[Sale]) -&amp;gt; u64 {
    sales
        .iter()
        .filter(|sale| sale.paid)
        .map(|sale| sale.amount_cents)
        .sum()
}

fn main() {
    let sales = vec![
        Sale {
            category: String::from(&quot;books&quot;),
            amount_cents: 2500,
            paid: true,
        },
        Sale {
            category: String::from(&quot;courses&quot;),
            amount_cents: 5000,
            paid: false,
        },
        Sale {
            category: String::from(&quot;books&quot;),
            amount_cents: 1800,
            paid: true,
        },
    ];

    println!(&quot;{}&quot;, total_paid(&amp;amp;sales)); // 4300
    println!(&quot;{}&quot;, sales.len()); // 3
    println!(&quot;{}&quot;, sales[0].category); // books
}
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;&lt;code&gt;struct&lt;/code&gt; defines each sale&apos;s fields, and &lt;code&gt;vec!&lt;/code&gt; builds a &lt;strong&gt;vector&lt;/strong&gt;, a collection that can grow. We use &lt;code&gt;String&lt;/code&gt; so that each sale owns its category text. The category does not affect the sum, but we keep it to preserve the data used throughout the series.&lt;/p&gt;
&lt;p&gt;&lt;code&gt;&amp;amp;[Sale]&lt;/code&gt; means the function receives a shared reference to a sequence of sales, a &lt;strong&gt;slice&lt;/strong&gt;. It can read that sequence without requiring a particular vector or becoming responsible for freeing its data. &lt;code&gt;&amp;amp;sales&lt;/code&gt; lends that access; after calculating the total, &lt;code&gt;main&lt;/code&gt; can continue using the collection.&lt;/p&gt;
&lt;p&gt;&lt;code&gt;iter()&lt;/code&gt; walks through references to the sales. &lt;code&gt;filter&lt;/code&gt; selects the paid ones, and &lt;code&gt;map&lt;/code&gt; retrieves their amounts. These &lt;strong&gt;iterators&lt;/strong&gt; are lazy: they do not create an intermediate vector at each step. &lt;code&gt;sum&lt;/code&gt; consumes the iterator and produces the total. The &lt;a href=&quot;https://doc.rust-lang.org/book/ch13-02-iterators.html&quot;&gt;Rust iterator guide&lt;/a&gt; explains this distinction.&lt;/p&gt;
&lt;p&gt;We chose &lt;code&gt;u64&lt;/code&gt;, an unsigned 64-bit integer, because this example only accepts nonnegative amounts. It does not model refunds or guarantee that a sum fits within that range. Later, we will make that possible error explicit. In the &lt;strong&gt;TypeScript&lt;/strong&gt; version, we would also need to check that the amounts and the total stay within the safe integer range of &lt;code&gt;number&lt;/code&gt;.&lt;/p&gt;
&lt;h3&gt;Why we specify &lt;code&gt;--edition=2024&lt;/code&gt;&lt;/h3&gt;
&lt;p&gt;A &lt;strong&gt;Rust edition&lt;/strong&gt; determines which set of language rules the compiler uses. It allows changes, such as new reserved keywords, without forcing every older project to change: each project chooses when to adopt those rules.&lt;/p&gt;
&lt;p&gt;The edition is not the &lt;strong&gt;compiler version&lt;/strong&gt;. A recent compiler can compile code from different editions. &lt;strong&gt;Rust 2024&lt;/strong&gt; is the latest stable edition and has been available since version &lt;strong&gt;1.85.0&lt;/strong&gt;, as the &lt;a href=&quot;https://doc.rust-lang.org/edition-guide/rust-2024/index.html&quot;&gt;official edition guide&lt;/a&gt; records. The number &lt;code&gt;2024&lt;/code&gt; identifies the edition, not the year in which you run the program.&lt;/p&gt;
&lt;p&gt;If you run &lt;code&gt;rustc report.rs&lt;/code&gt; without specifying an edition, the compiler defaults to &lt;strong&gt;2015&lt;/strong&gt;, not the latest one. That is why we write &lt;code&gt;--edition=2024&lt;/code&gt;: we want the examples to explicitly use that edition&apos;s rules. You can check this default in the &lt;a href=&quot;https://doc.rust-lang.org/rustc/command-line-arguments.html#--edition&quot;&gt;rustc documentation&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;With &lt;strong&gt;Cargo&lt;/strong&gt;, the edition is specified in the &lt;code&gt;[package]&lt;/code&gt; section of &lt;code&gt;Cargo.toml&lt;/code&gt;:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;[package]
name = &quot;sales-report&quot;
version = &quot;0.1.0&quot;
edition = &quot;2024&quot;
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;Then you only need to run &lt;code&gt;cargo run&lt;/code&gt; or &lt;code&gt;cargo test&lt;/code&gt;; &lt;strong&gt;Cargo&lt;/strong&gt; passes the edition to the compiler. If the &lt;code&gt;edition&lt;/code&gt; field is missing, &lt;strong&gt;2015&lt;/strong&gt; is assumed. In contrast, &lt;code&gt;cargo new&lt;/code&gt; configures new projects with the latest stable edition. The &lt;a href=&quot;https://doc.rust-lang.org/cargo/reference/manifest.html#the-edition-field&quot;&gt;Cargo manual&lt;/a&gt; explains both behaviors.&lt;/p&gt;
&lt;h2&gt;Ownership: passing a value can mean handing it over&lt;/h2&gt;
&lt;p&gt;&lt;strong&gt;Ownership&lt;/strong&gt; determines who is responsible for a value. For types such as &lt;code&gt;String&lt;/code&gt;, assigning it to another variable or passing it by value to a function normally transfers that responsibility. This transfer is called a &lt;strong&gt;move&lt;/strong&gt;.&lt;/p&gt;
&lt;p&gt;This program is deliberately written to produce a compilation error. Save it as &lt;code&gt;move_error.rs&lt;/code&gt; and check it with &lt;code&gt;rustc --edition=2024 move_error.rs&lt;/code&gt;:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;fn print_category(category: String) {
    println!(&quot;{category}&quot;);
}

fn main() {
    let category = String::from(&quot;books&quot;);
    print_category(category);
    println!(&quot;{category}&quot;); // Error: the value has already been moved.
}
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;&lt;code&gt;print_category&lt;/code&gt; receives the &lt;code&gt;String&lt;/code&gt; by value. After the call, &lt;code&gt;main&lt;/code&gt; can no longer use it. The text has not been duplicated, and the two functions have not been left independently responsible for the same resource. The &lt;a href=&quot;https://doc.rust-lang.org/book/ch04-01-what-is-ownership.html&quot;&gt;ownership chapter&lt;/a&gt; develops this model.&lt;/p&gt;
&lt;p&gt;Integers such as &lt;code&gt;u64&lt;/code&gt; behave differently because they implement &lt;strong&gt;Copy&lt;/strong&gt;. When you pass one to a function, the function receives a copy of the number: ownership of the original value is not transferred. That is why you can continue using the variable after the call.&lt;/p&gt;
&lt;p&gt;This standalone program shows the difference:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;fn print_amount(amount: u64) {
    println!(&quot;{amount}&quot;);
}

fn main() {
    let amount = 2500_u64;
    print_amount(amount);
    println!(&quot;{amount}&quot;); // Still valid: prints 2500.
}
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;Here, both calls can use &lt;code&gt;amount&lt;/code&gt;. In the earlier &lt;code&gt;String&lt;/code&gt; example, the first call transferred ownership, so the second could no longer use it. Avoid remembering the rule as “every assignment invalidates the previous variable.”&lt;/p&gt;
&lt;p&gt;When an owned value goes out of scope, its destructor normally runs. For &lt;code&gt;String&lt;/code&gt;, this frees the text&apos;s storage. You do not need to call a deallocation function manually. The &lt;a href=&quot;https://doc.rust-lang.org/reference/destructors.html&quot;&gt;reference on destructors&lt;/a&gt; describes this cleanup and its rules.&lt;/p&gt;
&lt;p&gt;The useful question when designing a function becomes: does it need to keep the data, or just read it? In our example, printing a category does not need to consume it.&lt;/p&gt;
&lt;h2&gt;Borrowing: reading without taking ownership&lt;/h2&gt;
&lt;p&gt;We can fix the earlier example through &lt;strong&gt;borrowing&lt;/strong&gt;:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;fn print_category(category: &amp;amp;str) {
    println!(&quot;{category}&quot;);
}

fn main() {
    let category = String::from(&quot;books&quot;);
    print_category(&amp;amp;category);
    println!(&quot;{category}&quot;); // books
}
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;&lt;code&gt;&amp;amp;str&lt;/code&gt; is a reference to text, not a new &lt;code&gt;String&lt;/code&gt;. It lets the function accept text stored in a &lt;code&gt;String&lt;/code&gt; as well as a string literal. Here the function only needs to read, so requiring ownership of the text would be an unnecessary restriction.&lt;/p&gt;
&lt;p&gt;The basic borrowing rule allows multiple shared references, &lt;code&gt;&amp;amp;T&lt;/code&gt;, or one exclusive reference, &lt;code&gt;&amp;amp;mut T&lt;/code&gt;, while that access is in use. An exclusive reference lets you modify the value, but you cannot simultaneously keep other incompatible access to it. The &lt;a href=&quot;https://doc.rust-lang.org/book/ch04-02-references-and-borrowing.html&quot;&gt;chapter on references and borrowing&lt;/a&gt; shows how the compiler checks this.&lt;/p&gt;
&lt;p&gt;Imagine one function walking through the sales and another trying to add elements to the same vector. Adding them could require moving its storage to a different memory location. &lt;strong&gt;Rust&lt;/strong&gt; prevents combining these accesses when a reference that is still in use could become invalid.&lt;/p&gt;
&lt;p&gt;These restrictions differ from &lt;strong&gt;TypeScript&lt;/strong&gt;&apos;s &lt;code&gt;readonly&lt;/code&gt;. They do not just describe what a function can write: they also relate its access to other uses of the same data. Some types have special rules for modifying data through shared references, but we do not need them for this report.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Lifetimes&lt;/strong&gt; complete that check: a reference must not continue to be used after the data it points to no longer exists. The compiler usually infers them. When annotations are necessary, they describe relationships between references; they do not extend the data&apos;s life. You can go deeper in the &lt;a href=&quot;https://doc.rust-lang.org/book/ch10-03-lifetime-syntax.html&quot;&gt;chapter on lifetimes&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;A common response to a borrowing error is to add &lt;code&gt;clone()&lt;/code&gt;. Sometimes you need an independent copy, and that is the right decision. But cloning a &lt;code&gt;String&lt;/code&gt; or a vector has a cost: before doing so, check whether the function only needed to borrow it.&lt;/p&gt;
&lt;h2&gt;Result and Option: alternative outcomes are part of the type&lt;/h2&gt;
&lt;p&gt;So far, we have assumed the sum fits in &lt;code&gt;u64&lt;/code&gt;. If that assumption fails, the result is no longer reliable. Rather than depending on overflow behavior under a particular build configuration, we can check each addition.&lt;/p&gt;
&lt;p&gt;Replace &lt;code&gt;total_paid&lt;/code&gt; in &lt;code&gt;report.rs&lt;/code&gt; with this version and add the definition of &lt;code&gt;ReportError&lt;/code&gt; before it:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;#[derive(Debug, PartialEq)]
enum ReportError {
    TotalOverflow,
}

fn total_paid(sales: &amp;amp;[Sale]) -&amp;gt; Result&amp;lt;u64, ReportError&amp;gt; {
    let mut total = 0_u64;

    for sale in sales.iter().filter(|sale| sale.paid) {
        total = total
            .checked_add(sale.amount_cents)
            .ok_or(ReportError::TotalOverflow)?;
    }

    Ok(total)
}
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;Here we prefer a loop to the earlier chain so that you can see where each addition can fail. &lt;code&gt;let mut&lt;/code&gt; lets us update the accumulator; variables are immutable by default. &lt;code&gt;derive&lt;/code&gt; generates implementations for displaying the error during debugging and comparing it in tests.&lt;/p&gt;
&lt;p&gt;&lt;code&gt;checked_add&lt;/code&gt; returns &lt;strong&gt;Option&lt;/strong&gt;: &lt;code&gt;Some(total)&lt;/code&gt; if the sum fits and &lt;code&gt;None&lt;/code&gt; if it does not. The &lt;a href=&quot;https://doc.rust-lang.org/std/primitive.u64.html#method.checked_add&quot;&gt;checked_add documentation&lt;/a&gt; specifies this behavior.&lt;/p&gt;
&lt;p&gt;&lt;code&gt;ok_or&lt;/code&gt; converts that absence into a specific error. The &lt;code&gt;?&lt;/code&gt; operator extracts the successful value or ends the function by returning the error. That is why the signature no longer always promises a number: it returns &lt;strong&gt;Result&lt;/strong&gt;, with an &lt;code&gt;Ok&lt;/code&gt; variant for the total and an &lt;code&gt;Err&lt;/code&gt; variant for failure.&lt;/p&gt;
&lt;p&gt;In &lt;code&gt;main&lt;/code&gt;, replace only the line that prints &lt;code&gt;total_paid(&amp;amp;sales)&lt;/code&gt; with this block. The other two lines can stay:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;match total_paid(&amp;amp;sales) {
    Ok(total) =&amp;gt; println!(&quot;{total}&quot;),
    Err(error) =&amp;gt; {
        eprintln!(&quot;Could not generate the report: {error:?}&quot;);
        std::process::exit(1);
    }
}
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;&lt;code&gt;match&lt;/code&gt; requires us to account for both variants. Here we have decided that a failed report should write to standard error and exit with a nonzero code. A web service might respond differently. The &lt;a href=&quot;https://doc.rust-lang.org/book/ch09-02-recoverable-errors-with-result.html&quot;&gt;Result guide&lt;/a&gt; also explains how to use &lt;code&gt;?&lt;/code&gt;.&lt;/p&gt;
&lt;p&gt;We could call &lt;code&gt;unwrap()&lt;/code&gt; to extract the total, but it would trigger a &lt;strong&gt;panic&lt;/strong&gt; if there were an error. For a failure we have identified and want to communicate, that is not the policy we want.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;TypeScript&lt;/strong&gt; also lets us represent success and failure with &lt;strong&gt;discriminated unions&lt;/strong&gt;, and &lt;strong&gt;PHP&lt;/strong&gt; can use result objects or exceptions. &lt;strong&gt;Rust&lt;/strong&gt; does not invent explicit error handling; it integrates it into the language&apos;s conventions and tools.&lt;/p&gt;
&lt;p&gt;It does not validate external data for us, either. Being able to represent &lt;code&gt;u64&lt;/code&gt; does not prove that a sale uses the correct currency or is not duplicated. Those rules remain part of the problem we are solving.&lt;/p&gt;
&lt;h2&gt;Testing the report and its limits with Rust&lt;/h2&gt;
&lt;p&gt;After changing the function, add these tests at the end of &lt;code&gt;report.rs&lt;/code&gt;:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;#[cfg(test)]
mod tests {
    use super::*;

    fn sale(amount_cents: u64, paid: bool) -&amp;gt; Sale {
        Sale {
            category: String::from(&quot;books&quot;),
            amount_cents,
            paid,
        }
    }

    #[test]
    fn sums_only_paid_sales() {
        let sales = vec![sale(2500, true), sale(5000, false), sale(1800, true)];
        assert_eq!(total_paid(&amp;amp;sales), Ok(4300));
    }

    #[test]
    fn returns_zero_without_sales() {
        assert_eq!(total_paid(&amp;amp;[]), Ok(0));
    }

    #[test]
    fn reports_overflow() {
        let sales = vec![sale(u64::MAX, true), sale(1, true)];
        assert_eq!(total_paid(&amp;amp;sales), Err(ReportError::TotalOverflow));
    }
}
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;Run them with &lt;code&gt;rustc --edition=2024 --test report.rs -o report_tests&lt;/code&gt;, then &lt;code&gt;./report_tests&lt;/code&gt;. We check the normal calculation, an empty collection, and a limit that does not appear in the sample data.&lt;/p&gt;
&lt;p&gt;For a project that will grow, I would use &lt;strong&gt;Cargo&lt;/strong&gt;, &lt;strong&gt;Rust&lt;/strong&gt;&apos;s build and dependency-management tool. &lt;code&gt;cargo new sales-report&lt;/code&gt; creates the project; place the program and its tests in &lt;code&gt;src/main.rs&lt;/code&gt;, run &lt;code&gt;cargo run&lt;/code&gt;, and check them with &lt;code&gt;cargo test&lt;/code&gt;. The &lt;a href=&quot;https://doc.rust-lang.org/book/ch01-03-hello-cargo.html&quot;&gt;introduction to Cargo&lt;/a&gt; explains this structure.&lt;/p&gt;
&lt;p&gt;We do not need a class hierarchy to separate responsibilities. The calculation is an independent function, and &lt;code&gt;main&lt;/code&gt; decides how to present its result. If we later have different sources of sales data, we can introduce an abstraction when that need exists, not before.&lt;/p&gt;
&lt;h2&gt;What changes compared with Go&apos;s goroutines&lt;/h2&gt;
&lt;p&gt;In the previous article, we started one &lt;strong&gt;goroutine&lt;/strong&gt; per store. In &lt;strong&gt;Rust&lt;/strong&gt;, &lt;code&gt;std::thread::spawn&lt;/code&gt; creates an operating system thread: it is not equivalent to a &lt;strong&gt;goroutine&lt;/strong&gt; in cost or scheduling. Creating a thread for every query would not be an appropriate translation for thousands of stores. The &lt;a href=&quot;https://doc.rust-lang.org/book/ch16-01-threads.html&quot;&gt;Rust thread guide&lt;/a&gt; describes this model.&lt;/p&gt;
&lt;p&gt;Type rules also matter when sharing data. &lt;strong&gt;Send&lt;/strong&gt; expresses that a type can be transferred between threads; &lt;strong&gt;Sync&lt;/strong&gt;, that it can be shared through references between them. The compiler usually derives these properties from the type&apos;s components. The &lt;a href=&quot;https://doc.rust-lang.org/book/ch16-04-extensible-concurrency-sync-and-send.html&quot;&gt;Send and Sync guide&lt;/a&gt; explains these checks.&lt;/p&gt;
&lt;p&gt;For many concurrent network operations, &lt;strong&gt;async/await&lt;/strong&gt; is commonly used with a runtime such as &lt;strong&gt;Tokio&lt;/strong&gt;. A &lt;strong&gt;future&lt;/strong&gt; describes work that can advance when the runtime polls it; calling an &lt;code&gt;async&lt;/code&gt; function does not automatically start a task. This is an important difference from the promises in the &lt;strong&gt;TypeScript&lt;/strong&gt; example. The &lt;a href=&quot;https://doc.rust-lang.org/book/ch17-01-futures-and-syntax.html&quot;&gt;chapter on futures&lt;/a&gt; introduces how this works.&lt;/p&gt;
&lt;p&gt;We will not add that runtime to a sum that does not need it. If we turn the report into a program that queries real stores, we will need to decide on concurrency limits, deadlines, and cancellation, as we did in &lt;strong&gt;Go&lt;/strong&gt;. The memory model does not choose those policies for us.&lt;/p&gt;
&lt;h2&gt;Memory safety does not mean the absence of bugs&lt;/h2&gt;
&lt;p&gt;In safe code, &lt;strong&gt;Rust&lt;/strong&gt; prevents errors such as using a reference to freed memory and helps prevent &lt;strong&gt;data races&lt;/strong&gt;, incompatible concurrent accesses to the same memory. That guarantee also depends on libraries that encapsulate &lt;code&gt;unsafe&lt;/code&gt; code honoring their contracts. The &lt;a href=&quot;https://doc.rust-lang.org/book/ch20-01-unsafe-rust.html&quot;&gt;unsafe Rust guide&lt;/a&gt; explains where some of that responsibility moves from the compiler to the person writing the code.&lt;/p&gt;
&lt;p&gt;The program can still calculate taxes incorrectly, get stuck waiting for a resource, consume too much memory, or execute a business operation twice. &lt;strong&gt;Rust&lt;/strong&gt; does not remove the need for tests or design reviews.&lt;/p&gt;
&lt;p&gt;We also cannot conclude that it will be faster than &lt;strong&gt;Go&lt;/strong&gt;, &lt;strong&gt;PHP&lt;/strong&gt;, or &lt;strong&gt;TypeScript&lt;/strong&gt; without measuring. Not requiring a garbage collector and being able to control allocations are relevant characteristics for certain requirements, not performance results in themselves. Algorithms, libraries, and external waits still matter.&lt;/p&gt;
&lt;p&gt;We have not measured any improvement in this report. If we want to compare performance, we will need representative data, equivalent results, and comparable execution conditions. Adding three sales helps us understand the code, not choose a language for a system.&lt;/p&gt;
&lt;h2&gt;What Rust offers even if you keep working with PHP and TypeScript&lt;/h2&gt;
&lt;p&gt;Practicing with &lt;strong&gt;Rust&lt;/strong&gt; can help you ask more precise questions: does this function need to change the data? Who keeps the resource? Is a copy necessary? How do we represent an operation that could not be completed?&lt;/p&gt;
&lt;p&gt;You can bring those questions back to &lt;strong&gt;PHP&lt;/strong&gt; or &lt;strong&gt;TypeScript&lt;/strong&gt; without trying to imitate all of &lt;strong&gt;Rust&lt;/strong&gt;&apos;s syntax. For example, reducing shared mutations or representing an expected failure in a function&apos;s contract can improve a design in either language.&lt;/p&gt;
&lt;p&gt;The extra effort matters, too. Learning &lt;strong&gt;ownership&lt;/strong&gt;, reading compiler errors, and getting to know the libraries takes time. One project might benefit from that control, while another prioritizes delivery speed with tools the team already knows. The decision depends on the requirements and the people who will maintain the software.&lt;/p&gt;
&lt;p&gt;To continue, turn the report into a tool that reads sales from a file. Start with a small format and add tests for incomplete records, invalid amounts, and overflowing sums. Keep reading separate from calculation so you can test the latter without depending on the disk.&lt;/p&gt;
&lt;p&gt;Then try a deliberate change: make a function receive &lt;code&gt;Vec&amp;lt;Sale&amp;gt;&lt;/code&gt; instead of &lt;code&gt;&amp;amp;[Sale]&lt;/code&gt; and try to use the sales after the call. Reading the error and deciding whether the function should consume or borrow the data is a more useful exercise than fixing it by blindly adding &lt;code&gt;clone()&lt;/code&gt;. The &lt;a href=&quot;https://doc.rust-lang.org/book/&quot;&gt;official Rust book&lt;/a&gt; can help with that next step.&lt;/p&gt;
</content:encoded><author>Luis Ramírez Calle</author></item><item><title>Python, Go, or Rust after PHP and TypeScript: how to choose and which myths to leave behind</title><link>https://luisrc.pages.dev/en/posts/choosing-python-go-rust-conclusion</link><guid isPermaLink="true">https://luisrc.pages.dev/en/posts/choosing-python-go-rust-conclusion</guid><description>The series conclusion: strengths, use cases, and limits of Python, Go, Rust, PHP, and TypeScript, with criteria for choosing and common myths explained.</description><pubDate>Thu, 08 Oct 2026 00:00:00 GMT</pubDate><content:encoded>&lt;p&gt;After exploring &lt;strong&gt;Python&lt;/strong&gt;, &lt;strong&gt;Go&lt;/strong&gt;, and &lt;strong&gt;Rust&lt;/strong&gt;, it becomes easier to understand what each can offer. The question is no longer just “Which language should I learn?” but “Which one best fits what I want to build or learn?”&lt;/p&gt;
&lt;p&gt;Throughout this series, we have built small versions of a sales report. With &lt;a href=&quot;/en/posts/learning-python-after-php-typescript&quot;&gt;Python&lt;/a&gt;, we explored transformations and analysis tools; with &lt;a href=&quot;/en/posts/learning-go-after-php-typescript&quot;&gt;Go&lt;/a&gt;, concurrent queries and cancellation; with &lt;a href=&quot;/en/posts/learning-rust-after-php-typescript&quot;&gt;Rust&lt;/a&gt;, data ownership and explicit errors.&lt;/p&gt;
&lt;p&gt;The examples helped us understand decisions. They were not performance benchmarks, and they did not show that we needed to abandon &lt;strong&gt;PHP&lt;/strong&gt; or &lt;strong&gt;TypeScript&lt;/strong&gt;. To close the series, it helps to separate what each language offers from the expectations we tend to place on it.&lt;/p&gt;
&lt;h2&gt;Python: when the work revolves around data&lt;/h2&gt;
&lt;p&gt;&lt;strong&gt;Python&lt;/strong&gt;&apos;s advantages become clear when you need to explore files, combine information, automate tasks, or use scientific tools. &lt;strong&gt;pandas&lt;/strong&gt; lets you express operations on tables; &lt;strong&gt;NumPy&lt;/strong&gt; provides arrays and numerical computing; &lt;strong&gt;scikit-learn&lt;/strong&gt; includes tools for training and evaluating machine learning models. See the &lt;a href=&quot;https://www.python.org/about/apps/&quot;&gt;areas where Python is used&lt;/a&gt; and the &lt;a href=&quot;https://scikit-learn.org/stable/&quot;&gt;scikit-learn documentation&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;For our report, I would choose it if the next task were investigating why two stores&apos; data does not match: loading their files, finding incomplete records, and checking different explanations. Being able to experiment with those operations within the same ecosystem is a practical advantage.&lt;/p&gt;
&lt;p&gt;It is also used for web development and business applications. Associating it only with &lt;strong&gt;artificial intelligence&lt;/strong&gt; leaves out plenty of useful work. Integrating an AI model&apos;s API does not require &lt;strong&gt;Python&lt;/strong&gt;, either: the advantage depends on the libraries and the work you intend to do around that model.&lt;/p&gt;
&lt;p&gt;Learning it can bring you closer to teams working on data, automation, or research. To work in those areas, you will need additional knowledge of data quality, statistics, or the problem being studied. Knowing how to call a library is not enough to interpret its results.&lt;/p&gt;
&lt;h3&gt;Myth: “Python is slow, so it is unsuitable for demanding projects”&lt;/h3&gt;
&lt;p&gt;This conclusion is too broad: slow performance in certain operations does not make &lt;strong&gt;Python&lt;/strong&gt; unsuitable for every demanding project. A calculation that loops over millions of elements in &lt;strong&gt;Python&lt;/strong&gt; code can become a bottleneck. But an operation written in &lt;strong&gt;Python&lt;/strong&gt; can also delegate the work to a native library. The &lt;a href=&quot;https://numpy.org/doc/stable/reference/thread_safety.html&quot;&gt;NumPy documentation on threads&lt;/a&gt;, for example, explains that many of its operations release the &lt;strong&gt;GIL&lt;/strong&gt; while they work.&lt;/p&gt;
&lt;p&gt;The &lt;strong&gt;GIL&lt;/strong&gt; limits &lt;strong&gt;Python&lt;/strong&gt; bytecode execution to one thread within a &lt;strong&gt;CPython&lt;/strong&gt; interpreter that has it enabled. That does not mean every Python application is unable to use multiple cores: there are separate processes, libraries that release the GIL, and &lt;em&gt;free-threaded&lt;/em&gt; builds that allow it to be disabled. Those builds are not the default configuration and require checking dependency compatibility. The &lt;a href=&quot;https://docs.python.org/3/library/threading.html#gil-and-performance-considerations&quot;&gt;threading documentation&lt;/a&gt; and the &lt;a href=&quot;https://docs.python.org/3/howto/free-threading-python.html&quot;&gt;free-threading guide&lt;/a&gt; explain these alternatives and their conditions.&lt;/p&gt;
&lt;p&gt;Before changing languages, measure which part of the program takes the most time. If most of that time is spent waiting for a database response, speeding up calculations will have little effect on the total. If, instead, the program spends almost all of its time processing data in a loop, it makes sense to review that calculation: improve the algorithm, use a suitable library, or consider implementing it in another language.&lt;/p&gt;
&lt;h2&gt;Go: when you need to organize concurrent work and operate services&lt;/h2&gt;
&lt;p&gt;&lt;strong&gt;Go&lt;/strong&gt; combines static types, a broad standard library, and common tools for formatting, testing, and building programs. Its &lt;strong&gt;goroutines&lt;/strong&gt; let you organize concurrent tasks, and its interfaces encourage small dependencies defined by behavior.&lt;/p&gt;
&lt;p&gt;The &lt;a href=&quot;https://go.dev/solutions/use-cases&quot;&gt;official use cases&lt;/a&gt; include cloud and network services, web development, command-line tools, and infrastructure. In these areas, deploying and observing a program, and understanding what it does when a dependency fails, often matter as much as writing it.&lt;/p&gt;
&lt;p&gt;For the sales report, I would evaluate it if I needed to build a service that queries many stores and combines their responses. The goal would be to control active queries, their deadlines, and how they finish. These needs can arise in retail, logistics, or finance; the industry alone does not determine the language.&lt;/p&gt;
&lt;p&gt;The most transferable lesson is thinking about each task&apos;s lifetime: who starts it, what data it shares, and how it ends. That reasoning also helps when working with promises in &lt;strong&gt;TypeScript&lt;/strong&gt; or processes in &lt;strong&gt;PHP&lt;/strong&gt;.&lt;/p&gt;
&lt;h3&gt;Myth: “Go is faster because it has goroutines”&lt;/h3&gt;
&lt;p&gt;&lt;strong&gt;Goroutines&lt;/strong&gt; can help improve the performance of some programs, but having them does not automatically make &lt;strong&gt;Go&lt;/strong&gt; faster. A &lt;strong&gt;goroutine&lt;/strong&gt; lets you organize work; it does not make each operation take less time. If several tasks are waiting for network responses, their waits can overlap. If they perform independent calculations and cores are available, they can execute them in parallel. In both cases, coordination, memory, and synchronization have costs.&lt;/p&gt;
&lt;p&gt;Adding more tasks can even make the result worse. The &lt;a href=&quot;https://go.dev/doc/faq#parallel&quot;&gt;Go FAQ on parallelism&lt;/a&gt; explains why a concurrent program is not guaranteed to perform better.&lt;/p&gt;
&lt;p&gt;This capability is not exclusive to &lt;strong&gt;Go&lt;/strong&gt;, either. &lt;strong&gt;Node.js&lt;/strong&gt; has &lt;a href=&quot;https://nodejs.org/docs/latest-v24.x/api/worker_threads.html&quot;&gt;worker threads&lt;/a&gt; for distributing calculations across threads. &lt;strong&gt;PHP-FPM&lt;/strong&gt; can handle requests using multiple processes. A useful comparison must specify which implementations are being measured, with what resources, and under what load.&lt;/p&gt;
&lt;h3&gt;Myth: “Since Go is simple, concurrency will be simple too”&lt;/h3&gt;
&lt;p&gt;This idea confuses simple syntax with a simple problem. Although starting a &lt;strong&gt;goroutine&lt;/strong&gt; takes little code, you have to decide how many tasks can run at once, how to communicate their results, and what to do if one fails or takes too long. &lt;strong&gt;Go&lt;/strong&gt; provides tools to coordinate that work, but using them correctly requires understanding those problems.&lt;/p&gt;
&lt;p&gt;In the &lt;strong&gt;Go&lt;/strong&gt; article, we saw that cancellation requires cooperation from the operation and that sending to a channel can get stuck waiting. Mastering that part requires practice with errors and limits, as well as knowing the syntax.&lt;/p&gt;
&lt;h2&gt;Rust: when control over resources justifies extra effort&lt;/h2&gt;
&lt;p&gt;&lt;strong&gt;Rust&lt;/strong&gt; offers control over memory without requiring a garbage collector. Its &lt;strong&gt;ownership&lt;/strong&gt; and &lt;strong&gt;borrowing&lt;/strong&gt; system checks at compile time who can access certain data and for how long. &lt;strong&gt;Result&lt;/strong&gt; and &lt;strong&gt;Option&lt;/strong&gt; help express failures and missing values within types.&lt;/p&gt;
&lt;p&gt;Its &lt;a href=&quot;https://rust-lang.org/what/&quot;&gt;areas of use&lt;/a&gt; include command-line tools, network services, embedded systems, and &lt;strong&gt;WebAssembly&lt;/strong&gt;. It can be a candidate for components where memory consumption, processing, or integration with native code shape the design.&lt;/p&gt;
&lt;p&gt;For the report, I would evaluate it if a file transformation consumed too many resources and measurements justified working on that part. First, I would check whether improving the algorithm or processing the data in batches in the current language was enough.&lt;/p&gt;
&lt;p&gt;Learning &lt;strong&gt;Rust&lt;/strong&gt; also has value when that problem does not exist: it makes you examine which functions need to own data, which only read it, and when you are copying information. The cost is a learning curve that includes memory models, compiler messages, and new design conventions.&lt;/p&gt;
&lt;h3&gt;Myth: “If it compiles in Rust, it works correctly”&lt;/h3&gt;
&lt;p&gt;This is false: compiling does not guarantee that the program does what you need. The compiler can reject certain invalid memory accesses; it does not know whether you applied the correct discount to a sale. A program can compile and produce an incorrect report, get stuck waiting for a resource, or charge a customer twice.&lt;/p&gt;
&lt;p&gt;The guarantees of safe code also depend on libraries that encapsulate &lt;code&gt;unsafe&lt;/code&gt; code honoring their contracts. The &lt;a href=&quot;https://doc.rust-lang.org/book/ch20-01-unsafe-rust.html&quot;&gt;chapter on unsafe Rust&lt;/a&gt; explains that responsibility. Memory safety reduces one class of problems, while tests and design reviews continue to cover others.&lt;/p&gt;
&lt;h3&gt;Myth: “Rust will always be faster and use fewer resources”&lt;/h3&gt;
&lt;p&gt;&lt;strong&gt;Rust&lt;/strong&gt; offers tools for achieving good performance, but it does not guarantee that every implementation will be faster or use less memory than one written in another language. Being able to control memory allocations gives you room to optimize, but you can still make unnecessary copies, choose an expensive algorithm, or keep data you no longer need. The result depends on the program and its dependencies.&lt;/p&gt;
&lt;p&gt;You do not have to rewrite an entire application to benefit from a &lt;strong&gt;Rust&lt;/strong&gt; component, either. You can isolate an operation, although integration has costs: moving data between components, distributing them, and debugging failures. The measured improvement should justify that work.&lt;/p&gt;
&lt;h2&gt;PHP and TypeScript remain options for the next project&lt;/h2&gt;
&lt;p&gt;Exploring other languages does not make the tools you already know unsuitable. That experience lets you deliver and maintain software with less uncertainty, provided the environment meets the project&apos;s needs.&lt;/p&gt;
&lt;h3&gt;PHP: web applications and business rules&lt;/h3&gt;
&lt;p&gt;&lt;strong&gt;PHP&lt;/strong&gt; fits web applications, APIs, e-commerce, and business management systems. A team familiar with &lt;strong&gt;Laravel&lt;/strong&gt; or &lt;strong&gt;Symfony&lt;/strong&gt; can use their tools and conventions to focus on permissions, transactions, and business processes. The &lt;a href=&quot;https://www.php.net/manual/en/introduction.php&quot;&gt;PHP manual&lt;/a&gt; covers both its web focus and its command-line use.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Myth: “PHP cannot handle work in parallel.”&lt;/strong&gt; This is false as a general rule: it confuses the execution of one request with a service&apos;s ability to handle several at once. In &lt;strong&gt;PHP-FPM&lt;/strong&gt;, multiple processes can handle requests simultaneously. &lt;code&gt;pm.max_children&lt;/code&gt; limits that capacity, as the &lt;a href=&quot;https://www.php.net/manual/en/install.fpm.configuration.php&quot;&gt;FPM configuration documentation&lt;/a&gt; explains.&lt;/p&gt;
&lt;p&gt;That does not mean an individual request automatically distributes its calculations across cores. Nor are processes free: a blocking wait occupies a worker. These are constraints to understand, but they do not prove that the language prevents you from building a service that handles many requests.&lt;/p&gt;
&lt;p&gt;If the report already belongs to a &lt;strong&gt;PHP&lt;/strong&gt; application and meets its requirements, keeping it there avoids introducing another toolchain and another environment to operate. That can be a perfectly reasonable technical decision.&lt;/p&gt;
&lt;h3&gt;TypeScript: sharing knowledge between the interface and the server&lt;/h3&gt;
&lt;p&gt;&lt;strong&gt;TypeScript&lt;/strong&gt; brings static checking to the &lt;strong&gt;JavaScript&lt;/strong&gt; ecosystem. In web applications, it lets you work with related conventions and types across the frontend and backend, while improving code navigation and refactoring. Its &lt;a href=&quot;https://www.typescriptlang.org/docs/handbook/intro.html&quot;&gt;handbook&lt;/a&gt; describes that role.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Myth: “If it is typed in TypeScript, the data is already validated.”&lt;/strong&gt; This is not true: static type checking does not replace validation of the data entering the program. Annotations are removed and do not, by themselves, check an HTTP response or a JSON file. Sharing a type between client and server describes a contract, but does not verify that received data satisfies it. The &lt;a href=&quot;https://www.typescriptlang.org/docs/handbook/2/basic-types.html#erased-types&quot;&gt;section on type erasure&lt;/a&gt; explains this behavior.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Myth: “An async function runs its calculations on another thread.”&lt;/strong&gt; This is not true either: marking a function as &lt;code&gt;async&lt;/code&gt; does not automatically move its calculations to another thread. In the series example, &lt;code&gt;async&lt;/code&gt; let us wait without blocking on that wait, but the calculation still ran on the thread handling it. For CPU-intensive work, you need to decide how to distribute it, for example through workers. The &lt;a href=&quot;https://nodejs.org/learn/asynchronous-work/dont-block-the-event-loop&quot;&gt;Node.js guide to the event loop&lt;/a&gt; explains how those calculations can delay other tasks.&lt;/p&gt;
&lt;p&gt;For a product with substantial browser interaction and a backend that integrates services, staying with &lt;strong&gt;TypeScript&lt;/strong&gt; can simplify the team&apos;s work. Choosing a runtime, such as &lt;strong&gt;Node.js&lt;/strong&gt; or &lt;strong&gt;Bun&lt;/strong&gt;, is part of that decision: the language alone does not describe how the service will behave.&lt;/p&gt;
&lt;h2&gt;A guide to choosing based on the next problem&lt;/h2&gt;
&lt;p&gt;This table offers starting points, not boundaries between languages. The alternatives can solve several of the same problems.&lt;/p&gt;
&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;If your next task is…&lt;/th&gt;
&lt;th&gt;Consider evaluating…&lt;/th&gt;
&lt;th&gt;Before deciding, check…&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Investigating files and discrepancies in data&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;Python&lt;/strong&gt; and its analysis ecosystem&lt;/td&gt;
&lt;td&gt;Data quality, available libraries, and memory requirements&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Coordinating queries to many stores&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;Go&lt;/strong&gt; or your current environment&apos;s asynchronous model&lt;/td&gt;
&lt;td&gt;Connection limits, cancellation, and resources under load&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Reducing the cost of an intensive transformation&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;Rust&lt;/strong&gt;, after locating the bottleneck&lt;/td&gt;
&lt;td&gt;The algorithm, integration cost, and improvement with representative data&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Adding the report to a business application in PHP&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;PHP&lt;/strong&gt; with the team&apos;s existing tools&lt;/td&gt;
&lt;td&gt;Queries, workload, and whether it needs to run in the background&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Integrating the report into a web product with a frontend and backend&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;TypeScript&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Input validation and separating expensive calculations&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;There is an important difference between choosing for &lt;strong&gt;learning&lt;/strong&gt; and choosing for &lt;strong&gt;production&lt;/strong&gt;. For learning, an interest in the model is enough. To introduce it into a product, you also need to consider who will maintain it, how it will be deployed, and which dependencies it needs.&lt;/p&gt;
&lt;p&gt;Using all five languages in the report would be a possible exercise, but that alone would not make it an architecture I would recommend. Each additional environment requires updates, diagnosis, and operational knowledge. A small application can meet all its needs with a single choice.&lt;/p&gt;
&lt;h2&gt;Changing languages can guide your career, but it needs a goal&lt;/h2&gt;
&lt;p&gt;If you want a different kind of work, start by identifying which activities interest you. &lt;strong&gt;Python&lt;/strong&gt; can support a path toward data or automation; &lt;strong&gt;Go&lt;/strong&gt;, toward services and infrastructure; &lt;strong&gt;Rust&lt;/strong&gt;, toward systems and components where control over resources matters. None guarantees a job just because you master its syntax.&lt;/p&gt;
&lt;p&gt;Review job postings in the field and location that interest you. Look at the knowledge listed alongside the language: databases, networking, statistics, operating systems, or experience operating services. That information lets you prepare a project that demonstrates relevant skills, without inferring opportunities from a technology&apos;s popularity.&lt;/p&gt;
&lt;p&gt;If your goal is to broaden your knowledge, curiosity can guide your choice. What matters is being able to explain why you borrow data, limit active tasks, or validate an input. That judgment remains useful when you return to &lt;strong&gt;PHP&lt;/strong&gt; or &lt;strong&gt;TypeScript&lt;/strong&gt;.&lt;/p&gt;
&lt;p&gt;To finish the series, choose one version of the report and give it a real requirement: reading a troublesome file, querying stores within a deadline, or processing more data within a memory budget. Write down what you expect to achieve, add failure cases, and check the result.&lt;/p&gt;
&lt;p&gt;Then leave a brief note explaining what you would choose to maintain that program and why. Include the cost of learning, testing, and operating it, as well as how it works. You will have a decision based on concrete experience and a clearer next step than starting another tutorial just to add a language to the list.&lt;/p&gt;
</content:encoded><author>Luis Ramírez Calle</author></item><item><title>Product, Full-Stack, Staff… what do IT job titles actually mean?</title><link>https://luisrc.pages.dev/en/posts/it-roles-product-staff-fullstack-engineer</link><guid isPermaLink="true">https://luisrc.pages.dev/en/posts/it-roles-product-staff-fullstack-engineer</guid><description>Product, Full-Stack, Staff and AI roles: responsibilities, differences and verified job market statistics from Europe and the United States.</description><pubDate>Tue, 13 Oct 2026 00:00:00 GMT</pubDate><content:encoded>&lt;p&gt;You read a &lt;strong&gt;Product Engineer&lt;/strong&gt; job listing asking for React, Node.js and PostgreSQL. You open another for a &lt;strong&gt;Full-Stack Engineer&lt;/strong&gt;, and it has almost the same stack. Then you find &lt;strong&gt;Staff Engineer&lt;/strong&gt;, but the description mentions architecture, customers and coordination across teams. Are these different jobs, or different names for the same work?&lt;/p&gt;
&lt;p&gt;Some of the confusion comes from mixing &lt;strong&gt;technical specialty, the focus of the work, responsibility level and people management&lt;/strong&gt;. These concepts can coexist in a title: someone can be a &lt;em&gt;Senior Full-Stack Product Engineer&lt;/em&gt; without any of those words being redundant.&lt;/p&gt;
&lt;p&gt;To prepare this article, I reviewed job descriptions published by companies hiring in Europe and the United States, alongside public career frameworks. The review took place on &lt;strong&gt;October 13, 2026&lt;/strong&gt;. This is a deliberate selection focused on product companies and software providers. It helps compare responsibilities; it cannot measure market demand. To add that context, I include statistics from Eurostat, Indeed Hiring Lab and the BLS later on, with their time periods and limitations. Some listings may change or close.&lt;/p&gt;
&lt;p&gt;The focus is software engineering and roles close to product, infrastructure, data and security. IT also includes support, systems administration, networking and other professions that deserve their own explanation.&lt;/p&gt;
&lt;h2&gt;Four questions to make sense of an engineering title&lt;/h2&gt;
&lt;p&gt;Before comparing salaries or deciding whether you fit, separate these questions:&lt;/p&gt;
&lt;p&gt;&amp;lt;div class=&quot;overflow-x-auto&quot; role=&quot;region&quot; aria-label=&quot;Dimensions of engineering job titles&quot; tabindex=&quot;0&quot;&amp;gt;&lt;/p&gt;
&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Dimension&lt;/th&gt;
&lt;th&gt;Question&lt;/th&gt;
&lt;th&gt;Examples&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Specialty&lt;/td&gt;
&lt;td&gt;Which part of the system will you work on?&lt;/td&gt;
&lt;td&gt;Frontend, Backend, Full-Stack, Data, Platform.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Focus&lt;/td&gt;
&lt;td&gt;Which problem or audience does your work address?&lt;/td&gt;
&lt;td&gt;Product, reliability, security, customer integration.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Level&lt;/td&gt;
&lt;td&gt;What autonomy, complexity and influence do they expect?&lt;/td&gt;
&lt;td&gt;Junior, Mid-Level, Senior, Staff, Principal.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Leadership responsibility&lt;/td&gt;
&lt;td&gt;Do you lead technical decisions, people or both?&lt;/td&gt;
&lt;td&gt;Tech Lead, Engineering Manager.&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;&amp;lt;/div&amp;gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Full-Stack and Staff are not alternative categories.&lt;/strong&gt; One describes technical scope; the other usually describes a career level. GitLab, for example, publishes a specific framework for &lt;a href=&quot;https://handbook.gitlab.com/handbook/marketing/marketing-career-development/contributor-success/staff/&quot;&gt;Staff Fullstack Engineer&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;There is no universal equivalence between titles at different companies, either. The description, team and expected outcomes tell you much more than the name.&lt;/p&gt;
&lt;h2&gt;Software Engineer, Frontend, Backend and Full-Stack: where you build&lt;/h2&gt;
&lt;p&gt;&lt;strong&gt;Software Engineer&lt;/strong&gt; is a broad title. It can refer to developing applications, internal systems, tools or infrastructure. To understand it, you need to read about the team&apos;s domain: payments, identity, data or user experience, for example.&lt;/p&gt;
&lt;h3&gt;Frontend Engineer: the interface is a system too&lt;/h3&gt;
&lt;p&gt;A &lt;strong&gt;Frontend Engineer&lt;/strong&gt; focuses on the part of the product that users interact with. The work can include components, navigation, state, API integration, performance and accessibility. Reducing it to “laying out screens” hides much of the job.&lt;/p&gt;
&lt;p&gt;The &lt;a href=&quot;https://jobs.ashbyhq.com/synthesia/46d13eb9-9d94-435b-a141-19524b9e5c34&quot;&gt;Senior Frontend Engineer listing at Synthesia for London and Europe&lt;/a&gt; includes ownership of the component library, content model and rendering system for its website. It also includes accessibility in the definition of done.&lt;/p&gt;
&lt;p&gt;The domain matters: building a collaborative editor, a financial dashboard or a marketing website requires different decisions, even if all three use React.&lt;/p&gt;
&lt;h3&gt;Backend Engineer: services, data and integrations&lt;/h3&gt;
&lt;p&gt;A &lt;strong&gt;Backend Engineer&lt;/strong&gt; usually works on services, APIs, business rules, persistence and integrations. The role can also involve concurrency, asynchronous processing, observability and production operations.&lt;/p&gt;
&lt;p&gt;In Europe, &lt;a href=&quot;https://jobs.ashbyhq.com/flip/afac1428-c910-427d-90a4-4589f0450232&quot;&gt;Flip is hiring a Product Engineer specializing in Backend&lt;/a&gt;. The listing asks for Kotlin or Java, experience with SaaS systems and ownership of APIs, data models and infrastructure, while staying close to the user journey.&lt;/p&gt;
&lt;p&gt;A useful question here is who owns the service after deployment. “Backend” alone does not tell you whether there is on-call work, infrastructure management or another team sharing those tasks.&lt;/p&gt;
&lt;h3&gt;Full-Stack Engineer: taking a feature from end to end&lt;/h3&gt;
&lt;p&gt;A &lt;strong&gt;Full-Stack Engineer&lt;/strong&gt; works on both frontend and backend. They can deliver a feature spanning the interface, API and database, keeping those parts consistent.&lt;/p&gt;
&lt;p&gt;The expected depth varies between listings. &lt;a href=&quot;https://jobs.ashbyhq.com/mazehq/971941ec-5aa2-49eb-bb0d-fed342455619&quot;&gt;Maze advertises a Product Engineer (Full Stack) role for Europe&lt;/a&gt;, asking for balanced frontend and backend proficiency, expressed as 50/50 in the requirements. That describes the expected capabilities; it does not guarantee how your working day will be divided. Its stack combines React and TypeScript with Python and FastAPI.&lt;/p&gt;
&lt;p&gt;I would check what &lt;em&gt;full-stack&lt;/em&gt; means to that team. It might include mobile, deployments or infrastructure; at another company, it might be limited to the web application. I would also ask where they expect your greatest strength.&lt;/p&gt;
&lt;h2&gt;Product Engineer: helping decide what is worth building&lt;/h2&gt;
&lt;p&gt;A &lt;strong&gt;Product Engineer&lt;/strong&gt; actively participates in understanding the user&apos;s problem, choosing a solution, implementing it and checking what happens after launch.&lt;/p&gt;
&lt;p&gt;The emphasis is ownership of the product outcome. The role can be full-stack, frontend or another specialty.&lt;/p&gt;
&lt;p&gt;The &lt;a href=&quot;https://jobs.ashbyhq.com/squadai/e4e8e9ec-b4a2-45ff-86af-52e91cbaf143&quot;&gt;Product Engineer listing at Squad in New York&lt;/a&gt; includes frequent conversations with users and involvement in defining what to build. It asks for full-stack experience, but also judgment about the customer&apos;s problem.&lt;/p&gt;
&lt;p&gt;Maze&apos;s listing combines product and Full Stack in the title. Flip&apos;s combines product and Backend. These are two European examples of why Product Engineer does not require a single technical specialty.&lt;/p&gt;
&lt;h3&gt;Product Engineer versus Full-Stack Engineer&lt;/h3&gt;
&lt;p&gt;The useful distinction is &lt;strong&gt;which responsibility the company makes explicit&lt;/strong&gt;:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Full-Stack:&lt;/strong&gt; you can implement a solution across multiple layers.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Product Engineer:&lt;/strong&gt; you are expected to help understand the problem, question proposals and assess the outcome.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Full-Stack Product Engineer:&lt;/strong&gt; both responsibilities are present.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;A Full-Stack Engineer can also have strong product judgment. A Backend Engineer can spot that a feature does not solve the customer&apos;s problem. These capabilities are not exclusive to a title.&lt;/p&gt;
&lt;p&gt;Imagine many users abandon a form. One possible technical task is to implement autosave. With product responsibility, you would also investigate when they leave, whether you ask for information too early and whether a shorter form would solve the problem better.&lt;/p&gt;
&lt;p&gt;This example is hypothetical. The point is that the initial solution can change once you understand the need.&lt;/p&gt;
&lt;h3&gt;Product Engineer versus Product Manager&lt;/h3&gt;
&lt;p&gt;A &lt;strong&gt;Product Manager (PM)&lt;/strong&gt; usually coordinates product strategy, prioritization and goals with design, engineering and other functions. The Product Engineer participates in those conversations and also builds and maintains the technical solution.&lt;/p&gt;
&lt;p&gt;The &lt;a href=&quot;https://jobs.ashbyhq.com/volta/5e53f6f0-d3e2-43f3-9591-14af3fbb77ea&quot;&gt;Group Product Manager listing at Volta in Palo Alto&lt;/a&gt; assigns strategy, roadmap, prioritization and efficiency metrics to the role. It is an example of product management in a technical domain.&lt;/p&gt;
&lt;p&gt;Engineering autonomy does not mean replacing product or design. Collaboration and specific decisions depend on the organization.&lt;/p&gt;
&lt;h2&gt;Junior, Mid-Level and Senior: autonomy before years&lt;/h2&gt;
&lt;p&gt;Years of experience help put an application in context, but they do not describe a level by themselves. To interpret these labels, I would look at three things: &lt;strong&gt;which problems you can solve, how much help you need and which outcomes you own&lt;/strong&gt;.&lt;/p&gt;
&lt;p&gt;As a guide to reading a listing, rather than a universal scale:&lt;/p&gt;
&lt;p&gt;&amp;lt;div class=&quot;overflow-x-auto&quot; role=&quot;region&quot; aria-label=&quot;How to interpret experience levels&quot; tabindex=&quot;0&quot;&amp;gt;&lt;/p&gt;
&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Level&lt;/th&gt;
&lt;th&gt;Responsibility to look for in the listing&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Junior / Entry-Level&lt;/td&gt;
&lt;td&gt;Clearly scoped work, guidance, review and learning the environment.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Mid-Level / Intermediate&lt;/td&gt;
&lt;td&gt;Independently delivers defined work; identifies risks and asks for help when appropriate.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Senior&lt;/td&gt;
&lt;td&gt;Solves less clearly defined problems, evaluates alternatives and supports others, considering maintenance and operations.&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;&amp;lt;/div&amp;gt;&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;https://handbook.gitlab.com/handbook/engineering/careers/matrix/infrastructure/senior/&quot;&gt;GitLab&apos;s Senior infrastructure framework&lt;/a&gt; includes mentoring, process improvement and safe operations. It is a concrete reference for how a level covers more than writing code.&lt;/p&gt;
&lt;p&gt;When a listing requires “five years,” read it as that company&apos;s requirement. It does not automatically make everyone with that experience Senior, or let you compare its levels with another organization&apos;s.&lt;/p&gt;
&lt;h2&gt;Staff Engineer and Principal Engineer: technical leadership with varying scope&lt;/h2&gt;
&lt;p&gt;This is often where another confusion begins: assuming that the only way to advance beyond Senior is to manage people.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Individual Contributor (IC)&lt;/strong&gt; means you are on the technical contribution track. It does not mean working alone or having no leadership responsibilities. GitLab describes &lt;a href=&quot;https://handbook.gitlab.com/handbook/engineering/careers/ic-leadership/&quot;&gt;IC Leadership as an alternative to Engineering Management&lt;/a&gt;, where communication, collaboration and developing others are part of the work.&lt;/p&gt;
&lt;h3&gt;Staff Engineer: expanding technical impact&lt;/h3&gt;
&lt;p&gt;A &lt;strong&gt;Staff Engineer&lt;/strong&gt; usually tackles ambiguous or high-impact problems, guides technical decisions and helps other engineers resolve them. They may write code, design a migration, unblock dependencies or help reach an architectural agreement.&lt;/p&gt;
&lt;p&gt;The scope varies by company:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&quot;https://jobs.ashbyhq.com/curri/d616afe4-311f-4c73-8dc9-87c40f8c7ea8&quot;&gt;Curri in the United States&lt;/a&gt; describes work across multiple projects and teams, architecture review and mentoring, while maintaining direct code contributions.&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://handbook.gitlab.com/handbook/engineering/careers/matrix/staff/&quot;&gt;GitLab&apos;s Staff framework&lt;/a&gt; generally places the scope within a team, with technical leadership over one or more of its domains.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;“Staff always works across multiple teams” would therefore be too rigid a definition. Ask which domain they will own and which decisions they are expected to help resolve.&lt;/p&gt;
&lt;h3&gt;Principal Engineer: broader technical direction&lt;/h3&gt;
&lt;p&gt;In organizations that distinguish the two levels, a &lt;strong&gt;Principal Engineer&lt;/strong&gt; usually has broader scope than Staff. The work can include technical strategy, long-term decisions and coordination across areas.&lt;/p&gt;
&lt;p&gt;The &lt;a href=&quot;https://jobs.ashbyhq.com/omaze/ea40744f-b954-4f24-a410-469944cb346d&quot;&gt;Principal Engineer listing at Omaze in London&lt;/a&gt; describes an IC collaborating with the CTO and engineering and product teams, including technical research and prototypes. &lt;a href=&quot;https://handbook.gitlab.com/job-description-library/engineering/development/management/principal-engineer/&quot;&gt;GitLab&apos;s Principal framework&lt;/a&gt; describes multiple teams and the scope of a department or subdepartment.&lt;/p&gt;
&lt;p&gt;You may also see levels such as &lt;strong&gt;Senior Staff&lt;/strong&gt; or &lt;strong&gt;Distinguished Engineer&lt;/strong&gt;. To interpret them, you need that company&apos;s career framework; placing them in a universal table based on years is not useful.&lt;/p&gt;
&lt;h2&gt;Tech Lead and Engineering Manager: what you lead and who you manage&lt;/h2&gt;
&lt;p&gt;A &lt;strong&gt;Tech Lead&lt;/strong&gt; guides the technical execution of a team or initiative: design decisions, risks, work coordination and support for other engineers. It can be a responsibility taken on by a Senior or Staff Engineer, or a formal position.&lt;/p&gt;
&lt;p&gt;An &lt;strong&gt;Engineering Manager (EM)&lt;/strong&gt; owns people management and how the team functions. Check whether that includes hiring, professional development, performance reviews, capacity and delivery coordination.&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;https://jobs.ashbyhq.com/ashby/7458d4e9-da2e-47bd-98cb-adfda43d42b2&quot;&gt;Ashby&apos;s Engineering Manager listing for Europe&lt;/a&gt; focuses on individual performance, processes and culture, leaving engineers considerable room to make technical and product decisions.&lt;/p&gt;
&lt;p&gt;To distinguish the roles in an interview, I would ask:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;Will I have direct reports? Who will handle their performance reviews and hiring decisions? Which technical decisions are expected of me?&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;&lt;strong&gt;Lead Engineer&lt;/strong&gt; and &lt;strong&gt;Team Lead&lt;/strong&gt; also need that clarification. &lt;a href=&quot;https://jobs.ashbyhq.com/volta/ee30f481-97b7-4ac9-9df4-7b05dc4e2273&quot;&gt;Volta is hiring a Platform Engineering Team Lead in London&lt;/a&gt;, combining technical direction and coding with performance discussions, interviews and team support. Some companies bring both responsibilities together in one role.&lt;/p&gt;
&lt;h2&gt;CTO: connecting technology strategy with the business&lt;/h2&gt;
&lt;p&gt;&lt;strong&gt;CTO&lt;/strong&gt; stands for &lt;em&gt;Chief Technology Officer&lt;/em&gt;. It is an executive role that guides how technology supports the company&apos;s goals, working with the CEO and other functions. Its scope can include product, architecture, teams, infrastructure, data and technology risks.&lt;/p&gt;
&lt;p&gt;Responsibilities may include:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Defining the technology vision and long-term priorities, considering customer and business needs.&lt;/li&gt;
&lt;li&gt;Contributing to investment, capacity and hiring decisions; weighing costs, vendors and build-versus-buy options.&lt;/li&gt;
&lt;li&gt;Guiding technical standards and decisions about architecture, quality and security, distributing ownership across teams.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;a href=&quot;https://www.unipro.io/career/chief-technology-officer-cto/&quot;&gt;Unipro&apos;s CTO listing in the United Kingdom&lt;/a&gt; combines strategy aligned with commercial goals, architecture, team development and delivery oversight. It also includes advising customers and leading its AI offering. This is an example of how the company&apos;s domain shapes a CTO&apos;s work.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Organization size changes the day-to-day work considerably.&lt;/strong&gt; At a small startup, the CTO may design and develop the product directly. At a larger company, they may focus more on strategy and coordination with other leaders, delegating much of the implementation and day-to-day management.&lt;/p&gt;
&lt;p&gt;The useful distinction is scope: a &lt;strong&gt;Tech Lead&lt;/strong&gt; guides technical execution within a team or initiative; an &lt;strong&gt;Engineering Manager&lt;/strong&gt; focuses on people and how the team functions; a &lt;strong&gt;CTO&lt;/strong&gt; connects the company&apos;s technology direction with its business decisions. In small teams, one person may take on all three responsibilities.&lt;/p&gt;
&lt;p&gt;When reading a CTO listing, I would ask: &lt;strong&gt;which decisions will I own, with what team and budget, and how much hands-on development is expected?&lt;/strong&gt; The title alone does not answer those questions.&lt;/p&gt;
&lt;h2&gt;DevOps, Platform Engineer and SRE: similar tools, different goals&lt;/h2&gt;
&lt;p&gt;Seeing Kubernetes, Terraform and observability in three listings does not guarantee that the jobs are equivalent.&lt;/p&gt;
&lt;h3&gt;DevOps Engineer: delivery and infrastructure automation&lt;/h3&gt;
&lt;p&gt;DevOps is a way of organizing collaboration between development and operations, and also a hiring label. Under &lt;strong&gt;DevOps Engineer&lt;/strong&gt;, you may find Infrastructure as Code (&lt;strong&gt;IaC&lt;/strong&gt;), continuous integration and continuous delivery (&lt;strong&gt;CI/CD&lt;/strong&gt;) pipelines and operational automation.&lt;/p&gt;
&lt;p&gt;The &lt;a href=&quot;https://jobs.ashbyhq.com/ema/6f816cca-bf17-4061-b751-033a14e433cb&quot;&gt;DevOps Engineer listing at Ema in the United States&lt;/a&gt; combines Kubernetes, Terraform, Ansible, deployments and observability. It also accepts previous experience in DevOps, SRE or Platform, a sign of the overlap.&lt;/p&gt;
&lt;h3&gt;Platform Engineer: building tools for other teams&lt;/h3&gt;
&lt;p&gt;A &lt;strong&gt;Platform Engineer&lt;/strong&gt; usually builds reusable capabilities that help other developers or researchers work: environments, deployments, automation, self-service interfaces and documentation.&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;https://jobs.ashbyhq.com/mistral.ai/5d444fcb-4101-44a7-9996-45819443d640&quot;&gt;Mistral is hiring a Research Platform Engineer for Paris, London and Warsaw&lt;/a&gt;. Its internal users are researchers, and the work includes development environments, research CI and build optimization.&lt;/p&gt;
&lt;p&gt;To understand this listing, I would ask who uses the platform and how the team measures whether those tools help them.&lt;/p&gt;
&lt;h3&gt;Site Reliability Engineer: reliability as engineering work&lt;/h3&gt;
&lt;p&gt;A &lt;strong&gt;Site Reliability Engineer (SRE)&lt;/strong&gt; focuses on keeping services reliable through engineering and automation. In &lt;a href=&quot;https://sre.google/sre-book/introduction/&quot;&gt;Google&apos;s introduction to SRE&lt;/a&gt;, reducing repetitive operational work is part of the approach.&lt;/p&gt;
&lt;p&gt;The &lt;a href=&quot;https://jobs.ashbyhq.com/mistral.ai/4b25c97e-ab58-4148-9126-9d4e2c41aaf7&quot;&gt;Site Reliability Engineer listing at Mistral Cloud&lt;/a&gt;, with European locations such as Paris, Amsterdam and Warsaw, includes production operations, monitoring, incident response and on-call rotations. Other descriptions also include &lt;strong&gt;Service Level Objectives (SLOs)&lt;/strong&gt;: ask which reliability commitments the team uses.&lt;/p&gt;
&lt;p&gt;For any of these roles, I would check on-call duties, incident frequency and the time available for automation. Those conditions make a big difference to daily work.&lt;/p&gt;
&lt;h2&gt;Data and AI: Data Engineer, ML Engineer and AI Engineer&lt;/h2&gt;
&lt;p&gt;A &lt;strong&gt;Data Engineer&lt;/strong&gt; moves, transforms and serves data at a quality level suitable for its consumers. The role can involve building pipelines, data models and platforms for analytics or applications.&lt;/p&gt;
&lt;p&gt;The US &lt;a href=&quot;https://jobs.ashbyhq.com/ohr/5f2b1267-f692-4be6-b796-bd7e8cf53ee3&quot;&gt;Data Engineer listing at Ohr&lt;/a&gt; connects laboratory platforms and instruments and builds a shared foundation for analytics and AI systems.&lt;/p&gt;
&lt;p&gt;A &lt;strong&gt;Machine Learning Engineer (ML Engineer)&lt;/strong&gt; usually works on systems that train, evaluate, deploy or serve models. The balance between those tasks depends on the team. &lt;a href=&quot;https://jobs.ashbyhq.com/tracelabs/84f1786a-1f06-4798-892c-682a6ab07ba5&quot;&gt;Trace in the United States&lt;/a&gt; asks for ownership of data, training, evaluation and deployment.&lt;/p&gt;
&lt;p&gt;An &lt;strong&gt;AI Engineer&lt;/strong&gt;, especially in listings for applications using &lt;strong&gt;Large Language Models (LLMs)&lt;/strong&gt;, may focus on integrating models and building products: information retrieval, RAG, tools, agents and evaluation. &lt;a href=&quot;https://jobs.ashbyhq.com/eloquentai/b636810c-e01b-4f9b-8aed-9a0856fee42e&quot;&gt;Eloquent AI in London&lt;/a&gt; combines full-stack development with LLM integration, RAG and automation in production applications.&lt;/p&gt;
&lt;p&gt;You will also see &lt;strong&gt;Data Scientist&lt;/strong&gt;, associated with analysis, experimentation and modeling to answer questions. The boundary with ML Engineer varies between companies; checking whether both ask for Python is not enough.&lt;/p&gt;
&lt;p&gt;When reading an AI listing, I would look for a concrete answer: &lt;strong&gt;will I train models, operate inference, integrate existing models or do some combination of these?&lt;/strong&gt;&lt;/p&gt;
&lt;h2&gt;Roles around generative AI: building, researching, evaluating or operating&lt;/h2&gt;
&lt;p&gt;AI adds names such as &lt;strong&gt;LLM Engineer&lt;/strong&gt;, &lt;strong&gt;Agent Engineer&lt;/strong&gt;, &lt;strong&gt;Prompt Engineer&lt;/strong&gt; and &lt;strong&gt;Context Engineer&lt;/strong&gt;. Others, such as Research Scientist or MLOps, existed before the rise of generative AI. It helps to distinguish a new specialty, an existing job that is changing and a marketing label.&lt;/p&gt;
&lt;p&gt;This map compares responsibilities, not seniority levels. The examples are listings reviewed on &lt;strong&gt;October 13, 2026&lt;/strong&gt;:&lt;/p&gt;
&lt;p&gt;&amp;lt;div class=&quot;overflow-x-auto&quot; role=&quot;region&quot; aria-label=&quot;Comparison of responsibilities in artificial intelligence roles&quot; tabindex=&quot;0&quot;&amp;gt;&lt;/p&gt;
&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Role family&lt;/th&gt;
&lt;th&gt;What it builds or delivers&lt;/th&gt;
&lt;th&gt;Example listing and location&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Applied AI / LLM / Agent Engineer&lt;/td&gt;
&lt;td&gt;Applications and agents: information retrieval, tools, context, evaluation and behavior on real tasks.&lt;/td&gt;
&lt;td&gt;&lt;a href=&quot;https://jobs.ashbyhq.com/openai/577e6673-0a4a-491b-9a0d-facbdd3bdf3c&quot;&gt;OpenAI: Applied AI Engineer, Codex Core Agent&lt;/a&gt;, San Francisco and other locations, including London.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Research Scientist / Research Engineer&lt;/td&gt;
&lt;td&gt;The Scientist guides research and new techniques; the Engineer builds ML systems and experiments. Both can conduct research.&lt;/td&gt;
&lt;td&gt;OpenAI: &lt;a href=&quot;https://jobs.ashbyhq.com/openai/5f0c6579-0bfb-4a06-8a43-1dd371499e10&quot;&gt;Research Scientist&lt;/a&gt; and &lt;a href=&quot;https://jobs.ashbyhq.com/openai/240d459b-696d-43eb-8497-fab3e56ecd9b&quot;&gt;Research Engineer&lt;/a&gt;, San Francisco.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;ML Platform / MLOps / LLMOps&lt;/td&gt;
&lt;td&gt;Infrastructure for training, deployment, inference and operations: GPUs, observability, recovery and internal tools.&lt;/td&gt;
&lt;td&gt;&lt;a href=&quot;https://jobs.ashbyhq.com/mistral.ai/51c1df24-53f1-4ec9-9523-cd40c88e00cf&quot;&gt;Mistral: Research Engineer, ML Platform&lt;/a&gt;, Palo Alto.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;AI Evaluation Engineer&lt;/td&gt;
&lt;td&gt;Reproducible evaluations, tests at scale, APIs and dashboards to compare models and detect noisy results.&lt;/td&gt;
&lt;td&gt;&lt;a href=&quot;https://jobs.ashbyhq.com/mistral.ai/ff382d26-285e-499d-973f-3d789d995ff9&quot;&gt;Mistral: Research Engineer, Eval Platform&lt;/a&gt;, Paris.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;AI Safety / Security / Red Team&lt;/td&gt;
&lt;td&gt;Investigating risks and reducing unsafe behavior; depending on the team, adversarial evaluations, data and post-training.&lt;/td&gt;
&lt;td&gt;&lt;a href=&quot;https://jobs.ashbyhq.com/cohere/1f7cc5e6-5f31-40d8-ad49-fe22c98a3ea4&quot;&gt;Cohere: Safety and Security for Agents&lt;/a&gt;, London.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Prompt Engineer&lt;/td&gt;
&lt;td&gt;Reusable instructions and templates, experiments and evaluation of accuracy, usefulness and tone.&lt;/td&gt;
&lt;td&gt;&lt;a href=&quot;https://careers-mci2.icims.com/jobs/50267/ai-prompt-engineer/job?in_iframe=1&quot;&gt;MCI: AI Prompt Engineer&lt;/a&gt;, remote in the United States.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Context Engineer&lt;/td&gt;
&lt;td&gt;Preparing data and knowledge for AI systems; the specific meaning can include semantic layers, graphs and context contracts.&lt;/td&gt;
&lt;td&gt;&lt;a href=&quot;https://careers.capgemini.com/job/Seattle,-WA-Capgemini-Invent,-Consultant,-Context-Engineer-WA-98101/1444943633/&quot;&gt;Capgemini Invent: Consultant, Context Engineer&lt;/a&gt;, Seattle and other US cities.&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;&amp;lt;/div&amp;gt;&lt;/p&gt;
&lt;h3&gt;LLM Engineer and Agent Engineer: from a model to a useful task&lt;/h3&gt;
&lt;p&gt;An LLM Engineer can integrate an existing model into an application; they do not necessarily train it from scratch. &lt;strong&gt;RAG&lt;/strong&gt; (&lt;em&gt;Retrieval-Augmented Generation&lt;/em&gt;) supplies retrieved information to generate a response. An agent adds tool use and task execution, introducing decisions about permissions, failures and oversight.&lt;/p&gt;
&lt;p&gt;Imagine an invoice assistant: answering a question about an invoice and authorizing its payment have different consequences. The title Agent Engineer does not tell you which actions the system can take or who defines those boundaries. I would ask how they evaluate outcomes, when a person intervenes and who owns production errors.&lt;/p&gt;
&lt;h3&gt;Research, platform, evaluation and safety: overlapping boundaries&lt;/h3&gt;
&lt;p&gt;&lt;strong&gt;Research Engineer does not mean only implementing other people&apos;s ideas&lt;/strong&gt;, and Scientist does not mean spending all day writing research papers. OpenAI&apos;s listings distinguish a research agenda from building systems, but both require experimentation and technical contributions.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;MLOps&lt;/strong&gt; (&lt;em&gt;Machine Learning Operations&lt;/em&gt;) and &lt;strong&gt;LLMOps&lt;/strong&gt; describe practices for operating models and LLM applications. They can sit within ML Platform, infrastructure or a product team. They are not automatically equivalent to DevOps, nor do they guarantee a separate role.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Evaluation&lt;/strong&gt; measures quality and reliability; &lt;strong&gt;AI Safety&lt;/strong&gt; studies and reduces risks; &lt;strong&gt;red teaming&lt;/strong&gt; looks for failures through adversarial tests. They may collaborate, but they are not synonyms. Mistral&apos;s listing focuses on evaluation infrastructure; Cohere&apos;s adds data and post-training algorithms for agents that act on external resources. Access security still requires security engineering alongside model evaluation.&lt;/p&gt;
&lt;h3&gt;Prompt Engineer and Context Engineer: instructions versus available information&lt;/h3&gt;
&lt;p&gt;Working with prompts can be an AI Engineer&apos;s responsibility or a specific role, as at MCI. The work includes testing variations and measuring outcomes, not just writing instructions.&lt;/p&gt;
&lt;p&gt;&lt;em&gt;Context engineering&lt;/em&gt; broadens the question to &lt;strong&gt;which information, state and tools the model receives&lt;/strong&gt;. Capgemini&apos;s listing places it close to data and knowledge engineering; OpenAI includes context construction within Applied AI. I would not assume that all Context Engineers work on the same things.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;RAG and MCP&lt;/strong&gt; (&lt;em&gt;Model Context Protocol&lt;/em&gt;) are techniques or technologies that can appear in these jobs, not standardized professional categories. Before changing your title, check what they expect you to deliver: a product, a model, a platform, evaluations or AI-ready data.&lt;/p&gt;
&lt;h2&gt;Other titles worth recognizing&lt;/h2&gt;
&lt;p&gt;These roles add another dimension to the map:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;QA Engineer / Test Automation Engineer / SDET:&lt;/strong&gt; quality, test design and, depending on the listing, building automation tools. SDET stands for &lt;em&gt;Software Development Engineer in Test&lt;/em&gt;. &lt;a href=&quot;https://jobs.ashbyhq.com/almedia/83936f61-954c-4599-a654-79fc55dd3323&quot;&gt;Almedia is hiring a QA Lead in Berlin&lt;/a&gt;, with responsibility for test strategy, automation and product quality. Clarify the balance between exploratory work, automation and tool maintenance.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Security Engineer / Application Security Engineer:&lt;/strong&gt; controls and risk reduction in applications, infrastructure or internal systems. &lt;a href=&quot;https://jobs.ashbyhq.com/volta/67c9c08a-368e-4f68-9a3c-6f3aa05e9f2b&quot;&gt;Volta advertises a Security Engineer, Compliance Focus role for Palo Alto and London&lt;/a&gt;, including implementing and documenting controls and preparing audits. The qualifier helps identify the domain; this example focuses on compliance and does not define all security engineering.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Solutions Engineer:&lt;/strong&gt; may work close to sales on demonstrations, technical discovery and proofs of concept. Ashby&apos;s US &lt;a href=&quot;https://jobs.ashbyhq.com/ashby/dfc35159-ffe5-4d42-bea3-552b5dc17628&quot;&gt;Enterprise Solutions Engineering Manager listing&lt;/a&gt; describes those tasks within the team the manager will lead. Do not assume the Solutions Engineer&apos;s main job will be maintaining the product.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Forward Deployed Engineer (FDE):&lt;/strong&gt; works close to the customer to bring a solution into their environment and into production. &lt;a href=&quot;https://jobs.ashbyhq.com/mistral.ai/647be1ec-19d1-421c-9c49-6bbf12c0c93a&quot;&gt;Mistral&apos;s Applied AI, Forward Deployed Engineer listing in Europe&lt;/a&gt; focuses on building use cases on its stack. Ask about travel, customer-specific projects and ongoing ownership of integrations.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Founding Engineer:&lt;/strong&gt; describes joining at an early stage. &lt;a href=&quot;https://jobs.ashbyhq.com/marloo/50fa9b89-69fd-436b-af88-6d6e902e6973&quot;&gt;Marloo&apos;s listing in London&lt;/a&gt; includes full-stack development, architectural decisions and direct collaboration with the founders. The title alone does not establish that you are a co-founder or have a particular equity stake: check the agreement.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Software Architect / Solutions Architect:&lt;/strong&gt; check whether architecture refers to the internal product, customer solutions or organizational standards. Ask how much implementation work it includes and what decision-making authority the role has.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;I would not assume that &lt;em&gt;Member of Technical Staff (MTS)&lt;/em&gt; is equivalent to &lt;em&gt;Staff Engineer&lt;/em&gt;. &lt;a href=&quot;https://jobs.ashbyhq.com/callosum/e33ede97-fee9-4c0a-8063-9944923fa36b&quot;&gt;Callosum uses Applied AI - Member of Technical Staff&lt;/a&gt; for a role focused on customer systems and integrations. You need to understand its internal leveling.&lt;/p&gt;
&lt;h2&gt;What European and US job listings show&lt;/h2&gt;
&lt;p&gt;The sample lets us observe &lt;strong&gt;overlaps&lt;/strong&gt;, not measure popularity:&lt;/p&gt;
&lt;p&gt;&amp;lt;div class=&quot;overflow-x-auto&quot; role=&quot;region&quot; aria-label=&quot;Examples of roles in Europe and the United States&quot; tabindex=&quot;0&quot;&amp;gt;&lt;/p&gt;
&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Listing linked in the article&lt;/th&gt;
&lt;th&gt;Advertised location&lt;/th&gt;
&lt;th&gt;What it clarifies&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Maze: Product Engineer (Full Stack)&lt;/td&gt;
&lt;td&gt;Europe, remote&lt;/td&gt;
&lt;td&gt;Specialty and focus can share a title.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Flip: Product Engineer (Backend)&lt;/td&gt;
&lt;td&gt;Europe, remote&lt;/td&gt;
&lt;td&gt;Product can also combine with a backend specialty.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Curri: Staff Software Engineer&lt;/td&gt;
&lt;td&gt;United States&lt;/td&gt;
&lt;td&gt;Staff can combine coding with influence across multiple teams.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Omaze: Principal Engineer&lt;/td&gt;
&lt;td&gt;London, hybrid&lt;/td&gt;
&lt;td&gt;Principal also appears in European listings.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Ashby: Engineering Manager&lt;/td&gt;
&lt;td&gt;Europe, remote&lt;/td&gt;
&lt;td&gt;Managing a team can focus on people and processes.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Mistral: Research Platform Engineer&lt;/td&gt;
&lt;td&gt;Paris, London and Warsaw&lt;/td&gt;
&lt;td&gt;A platform can have specialized internal users.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Eloquent AI: AI Engineer&lt;/td&gt;
&lt;td&gt;London&lt;/td&gt;
&lt;td&gt;An AI listing can ask for full-stack experience.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Trace: Machine Learning Engineer&lt;/td&gt;
&lt;td&gt;United States&lt;/td&gt;
&lt;td&gt;Another listing focuses on the model lifecycle.&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;&amp;lt;/div&amp;gt;&lt;/p&gt;
&lt;p&gt;I do not see enough evidence in this selection to say “Europe asks for X and the United States for Y.” The examples show that both markets use several of these labels. Team size, product and organizational model help explain what they mean in each case.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Remote does not mean from any country, either.&lt;/strong&gt; Maze advertises remote work in Europe; Synthesia makes working from other European countries subject to compliance and right-to-work checks. Check location, work authorization, time zone, travel and employment arrangement in each listing.&lt;/p&gt;
&lt;h2&gt;IT job demand: what the data says and what we can compare&lt;/h2&gt;
&lt;p&gt;So far, we have compared responsibilities. To discuss demand, we need to distinguish &lt;strong&gt;published job advertisements&lt;/strong&gt;, &lt;strong&gt;unfilled vacancies&lt;/strong&gt; and &lt;strong&gt;projected employment&lt;/strong&gt;. One advertisement can represent several positions, appear more than once or never lead to a hire. A projection describes a future scenario; it does not count jobs available today.&lt;/p&gt;
&lt;p&gt;The following figures were retrieved on &lt;strong&gt;October 13, 2026&lt;/strong&gt;. Each section uses its own time period and classification. I have not turned the results into a ranking of Product, Full-Stack or Staff roles: the sources do not separate those titles in a comparable way.&lt;/p&gt;
&lt;p&gt;To read them, first check &lt;strong&gt;what is being counted, in which country, over which period and in which unit&lt;/strong&gt;. A longer bar can mean more advertisements or a higher growth percentage, depending on the chart. Comparing bar lengths across different charts is not useful.&lt;/p&gt;
&lt;h3&gt;European Union: how many advertisements are recorded by occupation&lt;/h3&gt;
&lt;p&gt;In Eurostat&apos;s annual series, &lt;strong&gt;2024 is the latest year available&lt;/strong&gt; at the time of the query. The data records approximately &lt;strong&gt;633,690 online advertisements for ICT specialists&lt;/strong&gt; across the covered portals. These four categories account for a large share of that volume, but do not cover the entire aggregate:&lt;/p&gt;
&lt;p&gt;&amp;lt;div class=&quot;overflow-x-auto&quot; role=&quot;region&quot; aria-label=&quot;Online job advertisements by occupation in the European Union in 2024&quot; tabindex=&quot;0&quot;&amp;gt;&lt;/p&gt;
&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Eurostat category&lt;/th&gt;
&lt;th&gt;ISCO-08 code&lt;/th&gt;
&lt;th&gt;Advertisements recorded in 2024&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Software and applications developers and analysts&lt;/td&gt;
&lt;td&gt;251&lt;/td&gt;
&lt;td&gt;363,040&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;ICT operations and user support technicians&lt;/td&gt;
&lt;td&gt;351&lt;/td&gt;
&lt;td&gt;66,220&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Database and network professionals&lt;/td&gt;
&lt;td&gt;252&lt;/td&gt;
&lt;td&gt;63,420&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Information and communications technology service managers&lt;/td&gt;
&lt;td&gt;133&lt;/td&gt;
&lt;td&gt;22,200&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;&amp;lt;/div&amp;gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;What each column means.&lt;/strong&gt; The category groups occupations, not experience levels. &lt;strong&gt;ISCO-08&lt;/strong&gt; (&lt;em&gt;International Standard Classification of Occupations&lt;/em&gt;) is the international classification of occupations: code 251 identifies a group; it does not indicate its position in a ranking. The last column counts advertisements recorded during 2024 for that group in the EU-27, the 27 member countries.&lt;/p&gt;
&lt;p&gt;&amp;lt;img src=&quot;/assets/visuals/it-roles/en/eu-job-postings-2024.svg&quot; alt=&quot;Online advertisements recorded by Eurostat in 2024 for four EU categories: software and applications development and analysis, 363,040; operations and support, 66,220; databases and networks, 63,420; ICT service management, 22,200. The axis shows thousands of advertisements.&quot; width=&quot;640&quot; height=&quot;520&quot; loading=&quot;lazy&quot; style=&quot;width:100%;height:auto&quot; /&amp;gt;&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;/assets/visuals/it-roles/en/eu-job-postings-2024.svg&quot;&gt;Enlarge the EU job advertisements chart&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Source: &lt;a href=&quot;https://ec.europa.eu/eurostat/databrowser/view/jvs_a_isco3_r1/default/table?lang=en&quot;&gt;Eurostat, dataset &lt;code&gt;jvs_a_isco3_r1&lt;/code&gt;&lt;/a&gt;, filtered by EU-27, year 2024, the &lt;strong&gt;OJA&lt;/strong&gt; (&lt;em&gt;Online Job Advertisements&lt;/em&gt;) indicator and the &lt;strong&gt;THS&lt;/strong&gt; unit, thousands. The table values have been multiplied by 1,000; they are approximations at the published precision.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;How to read the chart.&lt;/strong&gt; Each row is an occupation, and the horizontal axis shows &lt;strong&gt;thousands of advertisements&lt;/strong&gt;. The software bar ends at 363.04: that is approximately &lt;strong&gt;363,040 advertisements&lt;/strong&gt;, not 363. The table uses full units; the chart uses thousands. The four bars are a selection from the total of 633,690 advertisements, so they do not have to add up to that total.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;What it tells us.&lt;/strong&gt; Software development has the largest volume among these categories. That helps put the size of this occupational family in context within the collected advertisements, but does not tell us how many are for Frontend, Backend, Product or Staff roles within group 251.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;These are experimental statistics&lt;/strong&gt;, with partial portal coverage, possible duplicates and classification errors. The 2024 values also carry the &lt;strong&gt;&lt;code&gt;b&lt;/code&gt; flag: break in time series&lt;/strong&gt;: comparisons with earlier years lose continuity and should not be read as though the measurement were consistent. That is why I do not calculate growth against 2023. &lt;a href=&quot;https://ec.europa.eu/eurostat/cache/metadata/EN/jvs_a_isco3_r1_esmsip2.htm&quot;&gt;Eurostat&apos;s methodology&lt;/a&gt; explains these limitations. This table shows collected advertisements, not a census of actual vacancies.&lt;/p&gt;
&lt;h3&gt;United States: which categories have recently recovered job postings&lt;/h3&gt;
&lt;p&gt;To observe recent changes, I use Indeed Hiring Lab&apos;s job postings index. I compare &lt;strong&gt;October 2, 2026&lt;/strong&gt;, the latest date in the retrieved file, with the same day in 2025 and the pre-pandemic baseline, &lt;strong&gt;February 1, 2020&lt;/strong&gt;.&lt;/p&gt;
&lt;p&gt;&amp;lt;div class=&quot;overflow-x-auto&quot; role=&quot;region&quot; aria-label=&quot;Changes in Indeed job postings in the United States through October 2026&quot; tabindex=&quot;0&quot;&amp;gt;&lt;/p&gt;
&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Indeed category&lt;/th&gt;
&lt;th&gt;Compared with October 2, 2025&lt;/th&gt;
&lt;th&gt;Compared with February 1, 2020&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Software Development&lt;/td&gt;
&lt;td&gt;+21.8%&lt;/td&gt;
&lt;td&gt;−21.7%&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;IT Systems &amp;amp; Solutions&lt;/td&gt;
&lt;td&gt;+9.3%&lt;/td&gt;
&lt;td&gt;−23.6%&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;IT Infrastructure, Operations &amp;amp; Support&lt;/td&gt;
&lt;td&gt;+8.4%&lt;/td&gt;
&lt;td&gt;−30.7%&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Data &amp;amp; Analytics&lt;/td&gt;
&lt;td&gt;+7.9%&lt;/td&gt;
&lt;td&gt;−36.9%&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;&amp;lt;/div&amp;gt;&lt;/p&gt;
&lt;p&gt;&amp;lt;img src=&quot;/assets/visuals/it-roles/en/us-job-postings-growth-2026.svg&quot; alt=&quot;As of October 2, 2026, all four Indeed categories have grown compared with the same day in 2025, but remain below February 2020. Software: plus 21.8 and minus 21.7 percent; systems: plus 9.3 and minus 23.6; infrastructure: plus 8.4 and minus 30.7; data: plus 7.9 and minus 36.9.&quot; width=&quot;640&quot; height=&quot;610&quot; loading=&quot;lazy&quot; style=&quot;width:100%;height:auto&quot; /&amp;gt;&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;/assets/visuals/it-roles/en/us-job-postings-growth-2026.svg&quot;&gt;Enlarge the US job postings trends chart&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Source: &lt;a href=&quot;https://github.com/hiring-lab/job_postings_tracker/blob/8c73e908f6b0bae8448706b033102de008ff78dc/US/job_postings_by_sector_US.csv&quot;&gt;Indeed Hiring Lab file, version used&lt;/a&gt;, selecting the United States and &lt;strong&gt;&lt;code&gt;total postings&lt;/code&gt;&lt;/strong&gt;. My calculation: &lt;code&gt;(indexTo / indexFrom - 1) * 100&lt;/code&gt;, where &lt;code&gt;indexTo&lt;/code&gt; is the final index and &lt;code&gt;indexFrom&lt;/code&gt; the initial one, rounded to one decimal place. The February 2020 baseline is 100. The series are seasonally adjusted and use a seven-day moving average, according to the &lt;a href=&quot;https://hiring-lab.github.io/job_postings_tracker/&quot;&gt;methodology&lt;/a&gt;. Data licensed under CC BY 4.0.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;What the parameters mean.&lt;/strong&gt; &lt;code&gt;total postings&lt;/code&gt; covers all postings present on Indeed, whereas &lt;code&gt;new postings&lt;/code&gt; includes only those that are seven days old or less. The &lt;strong&gt;index&lt;/strong&gt; sets each category&apos;s level on February 1, 2020 to 100: 120 means 20% more than then, and 80 means 20% less. Those are not 120 or 80 advertisements.&lt;/p&gt;
&lt;p&gt;Seasonal adjustment attempts to remove patterns that repeat throughout the year; the seven-day moving average smooths daily fluctuations using that day and the previous six.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;How to read the chart.&lt;/strong&gt; The horizontal axis shows percentages, not the original index. Each category has two bars: &lt;strong&gt;blue&lt;/strong&gt; compares October 2026 with October 2025; &lt;strong&gt;orange&lt;/strong&gt; compares it with February 2020. To the right of zero is an increase relative to that reference; to the left is a decline. The two bars use different baselines: their percentages should not be added together.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;An example: software development.&lt;/strong&gt; Its index rises from &lt;strong&gt;64.30 to 78.33&lt;/strong&gt; between October 2025 and October 2026. Applying &lt;code&gt;(78.33 / 64.30 - 1) * 100&lt;/code&gt; gives growth of &lt;strong&gt;21.8%&lt;/strong&gt;. But 78.33 is still below the 2020 baseline of 100, which explains the &lt;strong&gt;−21.7%&lt;/strong&gt; in the other column. Both results are compatible: postings recover from the previous year without yet returning to their 2020 level.&lt;/p&gt;
&lt;p&gt;All four categories show that recovery, with software growing the most within this selection. Saying only “software is up 21.8%” would hide its distance from 2020.&lt;/p&gt;
&lt;p&gt;The index lets us compare changes, not absolute posting counts between categories. It also does not measure hires, establish that employment is growing or let us attribute the change to AI.&lt;/p&gt;
&lt;h3&gt;United States: which occupations are projected to grow or decline&lt;/h3&gt;
&lt;p&gt;The Bureau of Labor Statistics (&lt;strong&gt;BLS&lt;/strong&gt;) provides another perspective: employment projections for &lt;strong&gt;2025–2035&lt;/strong&gt;. In this selection, data science has the highest expected percentage growth and software development the largest number of annual openings:&lt;/p&gt;
&lt;p&gt;&amp;lt;div class=&quot;overflow-x-auto&quot; role=&quot;region&quot; aria-label=&quot;BLS employment projections in the United States for 2025 to 2035&quot; tabindex=&quot;0&quot;&amp;gt;&lt;/p&gt;
&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;BLS occupation&lt;/th&gt;
&lt;th&gt;SOC code&lt;/th&gt;
&lt;th&gt;Employment: projected change 2025–2035&lt;/th&gt;
&lt;th&gt;Projected annual openings, average&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Data scientists&lt;/td&gt;
&lt;td&gt;15-2051&lt;/td&gt;
&lt;td&gt;+34.6%&lt;/td&gt;
&lt;td&gt;24,800&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Information security analysts&lt;/td&gt;
&lt;td&gt;15-1212&lt;/td&gt;
&lt;td&gt;+21.0%&lt;/td&gt;
&lt;td&gt;14,100&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Software developers&lt;/td&gt;
&lt;td&gt;15-1252&lt;/td&gt;
&lt;td&gt;+10.2%&lt;/td&gt;
&lt;td&gt;95,300&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Software quality assurance analysts and testers&lt;/td&gt;
&lt;td&gt;15-1253&lt;/td&gt;
&lt;td&gt;+5.7%&lt;/td&gt;
&lt;td&gt;10,700&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Network and computer systems administrators&lt;/td&gt;
&lt;td&gt;15-1244&lt;/td&gt;
&lt;td&gt;−4.1%&lt;/td&gt;
&lt;td&gt;13,400&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Computer programmers&lt;/td&gt;
&lt;td&gt;15-1251&lt;/td&gt;
&lt;td&gt;−7.3%&lt;/td&gt;
&lt;td&gt;4,400&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;&amp;lt;/div&amp;gt;&lt;/p&gt;
&lt;p&gt;&amp;lt;img src=&quot;/assets/visuals/it-roles/en/us-employment-projections-2025-2035.svg&quot; alt=&quot;BLS projected employment change between 2025 and 2035: data science plus 34.6 percent; information security plus 21; software development plus 10.2; QA and testing plus 5.7; network and systems administration minus 4.1; computer programmers minus 7.3. These are projections, not observed growth.&quot; width=&quot;640&quot; height=&quot;650&quot; loading=&quot;lazy&quot; style=&quot;width:100%;height:auto&quot; /&amp;gt;&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;/assets/visuals/it-roles/en/us-employment-projections-2025-2035.svg&quot;&gt;Enlarge the employment projections chart&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Source: &lt;a href=&quot;https://www.bls.gov/emp/tables/occupational-projections-and-characteristics.htm&quot;&gt;BLS, occupational projections table 1.2&lt;/a&gt;. I retain the original occupation names so you can locate the rows. Annual openings, published in thousands, have been converted to individual units.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;What each column means.&lt;/strong&gt; &lt;strong&gt;SOC&lt;/strong&gt; (&lt;em&gt;Standard Occupational Classification&lt;/em&gt;) is the occupational classification used in this table; the code helps locate the category, rather than rank its demand. The percentage estimates the change in employment between 2025 and 2035: &lt;strong&gt;+34.6% is the total expected increase over ten years&lt;/strong&gt;, not each year or growth already observed. As an illustration of scale, for every 100 data science jobs in the initial year, the projection would correspond to roughly 135 at the end.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Annual openings&lt;/strong&gt; are the projected average number of positions that would need to be filled each year during that period. They include expansion and replacements due to retirement, leaving the labor force or changing occupations, according to the &lt;a href=&quot;https://www.bls.gov/opub/hom/emp/calculation.htm&quot;&gt;BLS method&lt;/a&gt;. &lt;strong&gt;95,300 does not mean 95,300 net new jobs or listings open today&lt;/strong&gt;, nor that there will be exactly that number every year.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;How to read the chart and its result.&lt;/strong&gt; The bars show only the percentage change in employment: blue for growth and orange for decline. Data science grows more proportionally (&lt;strong&gt;+34.6%&lt;/strong&gt;), but software has more projected annual openings (&lt;strong&gt;95,300 versus 24,800&lt;/strong&gt;). The occupation with the highest percentage growth does not necessarily offer the largest volume of openings.&lt;/p&gt;
&lt;p&gt;There are also &lt;strong&gt;13,400 annual openings&lt;/strong&gt; for network and systems administrators despite the projected &lt;strong&gt;−4.1%&lt;/strong&gt;: total employment can fall while replacements are still needed. A decline does not mean an absence of hiring.&lt;/p&gt;
&lt;p&gt;&lt;em&gt;Computer programmers&lt;/em&gt; is a different category from &lt;em&gt;Software developers&lt;/em&gt;; its decline does not mean every job that requires programming will shrink. Nor does &lt;em&gt;Data scientists&lt;/em&gt; mean Data Engineer or AI Engineer, and the administrators group does not represent all DevOps or SRE roles.&lt;/p&gt;
&lt;h3&gt;AI: how demand for skills and titles mentioning it is growing&lt;/h3&gt;
&lt;p&gt;Stanford&apos;s &lt;strong&gt;AI Index 2026&lt;/strong&gt;, using Lightcast data, counts US advertisements mentioning specific skills. This selection compares &lt;strong&gt;2024 and 2025&lt;/strong&gt;:&lt;/p&gt;
&lt;p&gt;&amp;lt;div class=&quot;overflow-x-auto&quot; role=&quot;region&quot; aria-label=&quot;US job advertisements requesting AI skills in 2024 and 2025&quot; tabindex=&quot;0&quot;&amp;gt;&lt;/p&gt;
&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Skill mentioned&lt;/th&gt;
&lt;th&gt;Advertisements in 2024&lt;/th&gt;
&lt;th&gt;Advertisements in 2025&lt;/th&gt;
&lt;th&gt;Calculated change&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Prompt engineering&lt;/td&gt;
&lt;td&gt;6,152&lt;/td&gt;
&lt;td&gt;22,227&lt;/td&gt;
&lt;td&gt;+261.3%&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;AI agents&lt;/td&gt;
&lt;td&gt;1,310&lt;/td&gt;
&lt;td&gt;15,217&lt;/td&gt;
&lt;td&gt;+1,061.6%&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Retrieval augmented generation (RAG)&lt;/td&gt;
&lt;td&gt;2,885&lt;/td&gt;
&lt;td&gt;12,609&lt;/td&gt;
&lt;td&gt;+337.1%&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Context engineering&lt;/td&gt;
&lt;td&gt;9&lt;/td&gt;
&lt;td&gt;703&lt;/td&gt;
&lt;td&gt;+7,711.1%&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;&amp;lt;/div&amp;gt;&lt;/p&gt;
&lt;p&gt;&amp;lt;img src=&quot;/assets/visuals/it-roles/en/us-ai-skill-postings-2024-2025.svg&quot; alt=&quot;US advertisements mentioning four skills: Prompt engineering rises from 6,152 in 2024 to 22,227 in 2025; AI agents from 1,310 to 15,217; RAG from 2,885 to 12,609; Context engineering from 9 to 703. A single advertisement can mention multiple skills.&quot; width=&quot;640&quot; height=&quot;610&quot; loading=&quot;lazy&quot; style=&quot;width:100%;height:auto&quot; /&amp;gt;&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;/assets/visuals/it-roles/en/us-ai-skill-postings-2024-2025.svg&quot;&gt;Enlarge the AI skills chart&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Source: &lt;a href=&quot;https://hai.stanford.edu/assets/files/ai_index_report_2026_chapter_4_economy.pdf&quot;&gt;Stanford HAI, AI Index 2026, chapter 4&lt;/a&gt;, figures &lt;strong&gt;4.4.5 and 4.4.7&lt;/strong&gt;, printed pages 207–208; &lt;strong&gt;Lightcast&lt;/strong&gt; data. Changes calculated with &lt;code&gt;(countTo / countFrom - 1) * 100&lt;/code&gt;, where &lt;code&gt;countFrom&lt;/code&gt; is the 2024 count and &lt;code&gt;countTo&lt;/code&gt; the 2025 count, and rounded to one decimal place. Skill classification and advertisement coverage affect the count; historical data may be revised.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;How to read the columns and chart.&lt;/strong&gt; The two advertisement columns are counts for each year; the change expresses how much the 2025 count differs from 2024. Each chart row is a skill: &lt;strong&gt;gray for 2024 and blue for 2025&lt;/strong&gt;. The horizontal axis counts advertisements, not percentages. The report is called AI Index &lt;strong&gt;2026&lt;/strong&gt;, but the years compared here are &lt;strong&gt;2024 and 2025&lt;/strong&gt;.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;An example: Prompt engineering.&lt;/strong&gt; It rises from 6,152 to 22,227 advertisements: &lt;strong&gt;16,075 more&lt;/strong&gt;. Dividing the increase by the initial 6,152 gives the table&apos;s &lt;strong&gt;+261.3%&lt;/strong&gt;. The final total is approximately &lt;strong&gt;3.61 times&lt;/strong&gt; the initial one, not 2.61 times, because the growth percentage expresses only the added portion.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;What it tells us.&lt;/strong&gt; In this selection, Prompt engineering has the highest 2025 count, while Context engineering has the highest percentage growth. The latter starts from &lt;strong&gt;just nine advertisements and reaches 703&lt;/strong&gt;: a small baseline can produce an enormous percentage with a modest final volume. All four skills appear more often in the recorded advertisements, but the data does not measure how many people were hired.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;These are skills, not vacancies with those titles.&lt;/strong&gt; One advertisement may request both RAG and agents and appear in several rows: adding the counts together would count some advertisements more than once. Learning one of these skills does not guarantee employment, either.&lt;/p&gt;
&lt;p&gt;Another measure looks at job titles. &lt;strong&gt;Indeed&lt;/strong&gt; identifies normalized titles with at least five advertisements mentioning AI in the title during the &lt;strong&gt;first quarter of 2026&lt;/strong&gt;:&lt;/p&gt;
&lt;p&gt;&amp;lt;div class=&quot;overflow-x-auto&quot; role=&quot;region&quot; aria-label=&quot;Normalized titles with advertisements mentioning AI in the first quarter of 2026&quot; tabindex=&quot;0&quot;&amp;gt;&lt;/p&gt;
&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Market&lt;/th&gt;
&lt;th&gt;Normalized titles meeting the criterion&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;United States&lt;/td&gt;
&lt;td&gt;822&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Germany&lt;/td&gt;
&lt;td&gt;288&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;United Kingdom&lt;/td&gt;
&lt;td&gt;160&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;France&lt;/td&gt;
&lt;td&gt;138&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Netherlands&lt;/td&gt;
&lt;td&gt;84&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Spain&lt;/td&gt;
&lt;td&gt;81&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;&amp;lt;/div&amp;gt;&lt;/p&gt;
&lt;p&gt;Source: &lt;a href=&quot;https://hiringlab.indeed.com/2026/07/08/ai-is-no-longer-just-a-tech-occupation-story/&quot;&gt;Indeed Hiring Lab, analysis published July 8, 2026&lt;/a&gt;. It looks for mentions such as AI, GenAI, AGI or “artificial intelligence,” and their equivalents in other languages, in the original advertisement title.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;What “normalized title” means.&lt;/strong&gt; Indeed groups very similar names into a single category. For example, “Applied AI Engineer” and “AI Engineer (Autonomous Agents)” fall under “AI Engineer.” That group counts &lt;strong&gt;once&lt;/strong&gt; if it has at least five advertisements with AI in the title between January and March 2026; it is not counted once per advertisement.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;How to interpret the result.&lt;/strong&gt; Spain&apos;s &lt;strong&gt;81&lt;/strong&gt; means 81 title categories meeting that criterion. It does not mean 81 listings or 81 newly created professions. The analysis includes technology occupations and other fields: it measures how widely AI appears in the way jobs are named.&lt;/p&gt;
&lt;p&gt;The US count of 822 shows more categories meeting the criterion in the observed market, but dividing it by Spain&apos;s 81 would not give a ratio of available vacancies. This table also does not separate demand for Prompt, Agent or Evaluation Engineers.&lt;/p&gt;
&lt;h3&gt;How to use these figures when reading a listing&lt;/h3&gt;
&lt;p&gt;I would use the data to understand the context of an occupational family, then investigate the market in the country, sector and level that interest me. &lt;strong&gt;Higher percentage growth does not mean more listings in absolute terms&lt;/strong&gt;, and a favorable projection does not guarantee an easy job search today.&lt;/p&gt;
&lt;p&gt;You can &lt;a href=&quot;/assets/data/it-roles-2026-10-13.json&quot;&gt;download the data used and its references&lt;/a&gt; to check the figures and calculations. The charts are a snapshot of those queries; they do not update automatically.&lt;/p&gt;
&lt;h2&gt;One problem, several responsibilities&lt;/h2&gt;
&lt;p&gt;Imagine a store whose users abandon checkout. This allocation is hypothetical; several people may share the responsibilities:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;The &lt;strong&gt;Product Engineer&lt;/strong&gt; investigates the problem with product and design, proposes an intervention and checks its outcome.&lt;/li&gt;
&lt;li&gt;The &lt;strong&gt;Frontend Engineer&lt;/strong&gt; improves validation, accessibility and error recovery in the interface.&lt;/li&gt;
&lt;li&gt;The &lt;strong&gt;Backend Engineer&lt;/strong&gt; reviews order state, payment integration and retries.&lt;/li&gt;
&lt;li&gt;The &lt;strong&gt;Full-Stack Engineer&lt;/strong&gt; can implement changes spanning those layers.&lt;/li&gt;
&lt;li&gt;The &lt;strong&gt;Staff Engineer&lt;/strong&gt; can help resolve inconsistencies across teams if the problem affects several parts of the system.&lt;/li&gt;
&lt;li&gt;The &lt;strong&gt;Tech Lead&lt;/strong&gt; coordinates the initiative&apos;s decisions and risks.&lt;/li&gt;
&lt;li&gt;The &lt;strong&gt;Engineering Manager&lt;/strong&gt; checks that the team has capacity, support and a sustainable workload.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;One person can take on more than one of those responsibilities. To assess a listing, you need to know which would be yours and what support you would have.&lt;/p&gt;
&lt;h2&gt;Questions to discover the work behind the listing&lt;/h2&gt;
&lt;p&gt;I would bring these questions to the first conversation:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;&lt;strong&gt;What outcome do you expect in the first three months?&lt;/strong&gt; Ask for an example of a problem, rather than just a list of technologies.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Who decides what to build?&lt;/strong&gt; Clarify your involvement with product, design and customers.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;What does this level mean in your career framework?&lt;/strong&gt; Ask about autonomy, scope and evaluation criteria.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Will I have direct reports?&lt;/strong&gt; Distinguish mentoring from performance reviews and formal management.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Who operates what we build?&lt;/strong&gt; Check on-call duties, incidents and maintenance ownership.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;How is the work divided?&lt;/strong&gt; Features, technical debt, integrations, infrastructure and meetings.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;What geographic conditions apply to remote work?&lt;/strong&gt; Countries, working hours, travel, contract and eligibility.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;You do not need every answer to fit a textbook definition. You need them to be clear and consistent with one another.&lt;/p&gt;
&lt;h2&gt;Frequently asked questions about engineering roles&lt;/h2&gt;
&lt;h3&gt;Is Product Engineer just another name for Full-Stack Engineer?&lt;/h3&gt;
&lt;p&gt;There is a lot of overlap. Full-Stack makes technical breadth explicit; Product Engineer emphasizes involvement in the problem and outcome. Maze combines them in the same title.&lt;/p&gt;
&lt;h3&gt;Does a Staff Engineer have direct reports?&lt;/h3&gt;
&lt;p&gt;The title alone does not guarantee it. Technical leadership and mentoring can be part of the IC track. Formal people management needs to be clarified separately.&lt;/p&gt;
&lt;h3&gt;Is Staff above Senior at every company?&lt;/h3&gt;
&lt;p&gt;It is commonly a later level, but you need the internal framework to compare. An equivalence based only on the title can be misleading.&lt;/p&gt;
&lt;h3&gt;Do I have to become a manager to keep growing?&lt;/h3&gt;
&lt;p&gt;Some organizations have separate technical and management tracks, such as GitLab. Check which options exist at the company that interests you.&lt;/p&gt;
&lt;p&gt;Before sending your next application, turn the listing into four lines: &lt;strong&gt;specialty, the problem you will solve, scope of responsibility and people management&lt;/strong&gt;. Then compare them with the work you want to do. That reading will give you better questions than the title alone.&lt;/p&gt;
</content:encoded><author>Luis Ramírez Calle</author></item></channel></rss>