Also in: සිංහල · தமிழ்

02. From Computing Fundamentals to Generative AI: The Fall of the 70-Year Language Barrier

Published 2026-09-14

Core Theme: For seventy years, humans learned the computer's language — coding. Today the computer has learned the natural language of humans. That transition has broken the greatest technological barrier in the history of administration, and in human history itself.

This chapter is the public-officer edition of CM-01: From the Foundations of Computing to Generative AI. The general explanation is there; this page keeps what changes when the work is a public office.


What is actually happening inside a computer?

It is worth starting here rather than with artificial intelligence, because almost every misconception about AI comes from not knowing what the machine underneath it does. An officer who believes a computer "thinks" finds AI mysterious and slightly frightening. An officer who knows it is an extremely fast arrangement of switches finds AI remarkable but comprehensible — and is far better placed to judge what to trust it with.

Basic architecture of a computer Figure 2.1: The basic architecture of a computer (Von Neumann Architecture) — input devices, the central processing unit (CPU), primary memory (RAM/ROM), permanent storage (SSD/Storage), and output devices.


How does an operating system bridge human and silicon?

Operating system architecture Figure 2.2: The fundamental layers of an operating system — physical hardware, the OS kernel, system libraries (APIs), command interfaces (shells), and user applications.

Two operating systems, the same idea

The lesson for government technical officers is practical and immediate. A phone and a computer are two genuinely different operating environments, and software written for one does not run on the other. This is precisely why a government digital service must be built platform-neutral — on the web and on open APIs — rather than tied to any one platform. Build for a single platform and you have chosen which half of the country's citizens to exclude, whether or not you meant to.


Why did we need programming languages — and compilers?

An operating system makes hardware usable, but it does not make it do the specific clerical work an office needs. To compute a government employee's monthly salary, register a land title, or calculate a pension, someone must specify the steps — the algorithm — and specify them with total precision.

The necessity of programming languages Figure 2.4: The programming language — the abstraction barrier between human logic and the computer's binary signals (0 and 1).

The role of a compiler Figure 2.5: The step-by-step pipeline of a compiler — from source code to machine code (binaries).


What changed in 2022: from code to conversation

The revolution from code to conversation Figure 2.6: From Code to Conversation — natural human language replacing complex coding languages as the computer's new operating interface.

The consequence is a redistribution rather than an improvement. Computing power that was once confined to programmers has passed into the hands of the management assistant at the Divisional Secretariat and the Grama Niladhari officer in the village. That is the shape of this revolution — and whether it amounts to anything depends on something the technology cannot supply: whether those officers know the capability exists, and know how to ask well. That is what the rest of this book is about.


What is the difference between traditional AI and generative AI?

Traditional AI versus Generative AI Figure 2.7: Traditional AI versus Generative AI — classifying and predicting from existing data (Analytical AI) versus generating novel content and reasoning (Generative AI).

Generative AI creates what did not exist

Generative AI synthesises the patterns in its training data to produce genuinely new content — text, images, audio, code, plans. These are synthesis engines, not lookup engines, and the distinction matters enormously in practice. It drafts circulars, legal opinions and working software from scratch. It generates voiceovers, illustrations and video. And it composes logic: multi-step plans and reasoning chains aimed at solving a problem it has not been shown before.

The corresponding weakness follows directly from the strength. Because a generative system produces new content rather than retrieving stored facts, it can produce new content that is entirely wrong while remaining perfectly fluent. Analytical AI gives you a number you can check. Generative AI gives you a paragraph you must check. Chapter 08 deals with what that means in practice, and it is the single most important operational fact about this technology.


What can generative AI actually do?

The output modalities of generative AI Figure 2.8: The full scope of generative AI — a comprehensive capability map spanning 12 domains across global industry and public governance.

Text, knowledge and translation

The domain everyone knows, and still underestimated. Autonomous multi-document research means reading thousands of circulars, reports and cabinet decisions in mixed formats at once and producing an accurate synthesis — work that was previously measured in officer-months. Cross-cultural translation transmits meaning while preserving local and cultural nuance rather than substituting word for word, which is the difference between a usable Sinhala notice and an embarrassing one. And style transfer recasts the same fact into the legal register of a gazette or the plain, warm language a villager actually understands, which is a capability with real democratic consequences.

Agentic and executive operations

This is the frontier, and the domain with the largest institutional implications. Systems now take end-to-end ownership of a task, completing procurement or payment workflows through software interfaces without a human in each step. They coordinate across platforms — website, database and email at once — to finish one piece of work. They improve themselves, analysing a failure and correcting their own instructions. They hold persistent memory and plan over long horizons, steering a months-long project while remembering its history. They verify their own output, auditing it before handing it to a human. And they collaborate with each other: a finance agent, a legal agent and an administrative agent negotiating among themselves to resolve a single file. Chapter 09 returns to this properly, because it changes what an institution is, not just what it can produce.

Business, policy and strategy

Hyper-personalised sequences send each citizen official notifications matched to their actual circumstances rather than a single generic template. Risk simulation stress-tests a decision against hundreds of thousands of alternative scenarios — economic crises, currency shocks, port strikes — before it is taken rather than after. Proactive compliance monitoring watches new gazettes and legal amendments as they appear and updates institutional regulations accordingly. Supply chain optimisation reroutes fuel, medicine and food distribution in real time as a disaster unfolds, which for an island economy is not a theoretical benefit.

Entertainment, culture and spatial reality

Three-dimensional preservation techniques such as NeRF reconstruct historic sites as complete navigable environments from a handful of photographs. Interactive narrative engines let public communication adapt live to a citizen's questions. Voice and persona cloning preserves the emotional depth of historical voices for future generations — a capability that is simultaneously a gift to cultural memory and, as Chapter 08 discusses, a serious hazard.


What are the five layers of the AI ecosystem — and where does Sri Lanka fit?

The 5 layers of AI Figure 2.10: The 5 layers of an AI system — Energy, Infrastructure, silicon Chips (GPUs), Foundation Models, and Applications.

🇱🇰 A Reality Check for Sri Lanka

As public officers, we must recognise where our country's real capability lies — and read honestly, the five layers answer the national strategy question themselves.

Layer 3 is not available to us. Building a state-of-the-art chip fabrication plant costs on the order of twenty billion dollars, and two advanced chips alone can cost a million. Sri Lanka will not be fabricating chips at this moment, and pretending otherwise wastes attention.

Layer 4 is not our priority either. Pre-training a foundation model from zero costs hundreds of millions — billions, at the frontier — to reproduce something already available for a subscription fee. There is no return in it for us.

Layer 5 is where our opportunity actually lies. Taking the world's most powerful models and using them to eliminate file delays in our public service, accelerate land registration, and deliver fair service to the citizen — that is entirely within reach, today, at a cost measured in training and effort rather than billions. Strengthening green energy at layer 1 and local edge data centres at layer 2 matters too, as a question of digital sovereignty: it determines whether our data and our critical services depend on infrastructure we do not control.

There is a further point, and it is the one to hold on to. The world's powers will build the chips and the models. But the application that settles the land dispute at our own Divisional Secretariat, distributes Aswesuma benefits fairly, speeds up services in the Grama Niladhari division, or audits our own accounts — no foreign company will build those, because nobody outside understands the problem well enough to. Layer 5 is not the leftover. It is the layer where domain knowledge is the scarce input, and domain knowledge of Sri Lanka is something only Sri Lankans hold. Taking the finest models in existence and building applications that solve this country's problems with a product engineering mindset is, on that reading, less an opportunity than a national duty.

In the next chapter, we explore the Transformer brain inside these models — tokenization, and how A/L Combined Mathematics connects directly to AI.

Your next step

Open the Idasara surface this chapter points at, or create a free account.

AI Aptitude Start Free