ArticleslgStudy

computer science

SerenityOS

SerenityOS is a computer science topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand SerenityOS rather than just read about it. In short: SerenityOS is a free and open source desktop operating system. It features a preemptive kernel, currently supports x86-64, ARM, and RISC-V based computers, and hosts multiple complex applications including its own web browser and integrated development environment (IDE).

SerenityOS — main illustration
SerenityOS — illustration

Key takeaways

  • SerenityOS belongs to computer science; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect SerenityOS to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of SerenityOS from memory before moving on to harder problems.

Reference excerpt

SerenityOS is a free and open source desktop operating system. It features a preemptive kernel, currently supports x86-64, ARM, and RISC-V based computers, and hosts multiple complex applications including its own web browser and integrated development environment (IDE). SerenityOS began development in 2018 as a solo project by Swedish programmer Andreas Kling. It is maintained by a community of hobbyists on GitHub where it is described as "a love letter to '90s user interfaces with a custom Unix-like core" that "does not cater to non-technical users".

History

Andreas Kling previously worked at Nokia and later at Apple on the WebKit team. He began developing the project in part to aid his recovery from addiction, and as such the name of the project derives from the Serenity Prayer. Starting in 2021, Kling began working full-time on SerenityOS, supported by community donations. On June 3rd, 2024, Andreas Kling stepped down as a project lead from the project, while keeping his role as a maintainer, to work on the Ladybird browser. Three months later, on October 4th, 2024, he removed himself from a maintainer list in the SerenityOS repository, and updated his mail mapping alias to ladybird.org in the forked Ladybird repository marking the end of his involvement.

Features and development SerenityOS aims to be a modern Unix-like operating system, with a look and feel that emulates 1990s operating systems such as Microsoft Windows and Mac OS. Incorporating third-party code into the system is discouraged. The web browser, for instance, does not use a pre-existing web engine such as WebKit, instead using its own Browser (built on LibWeb engine). There is a collection of ported software, such as GCC, Git and Doom, with varying levels of functionality. Development does not adhere to a release cycle; as such, there are no releases. Additionally, no binary distributions are provided and prospects are expected to build the system from source. The system is written in what the authors call "Serenity C++", a C++ coding style that avoids exceptions and features its own standard library. The relative popularity of SerenityOS compared to other hobbyist systems is in part due to the modest success of Kling's YouTube channel, where he uploaded videos of himself developing parts of the system alongside demos and monthly progress updates (until April 2024, where the last update was hosted by Andrew Kaster, the project’s core developer). Work is currently at the early stages to support AArch64 and RISC-V based processors.

Web browser

SerenityOS includes a version of the Ladybird web browser, built from the ground up using its internal libraries LibWeb, LibJS and LibWasm. Andreas Kling develops it alongside paid and volunteer contributors. On June 3, 2024, Kling announced his plans to fork Ladybird and begin development on the browser as a separate project. On July 1, 2024, in collaboration with Chris Wanstrath, Kling announced the founding of the Ladybird Browser Initiative, a 501(c)(3) nonprofit to support the development of the browser. As of July 2024, development of Ladybird mostly occurs in its own repository, with changes sometimes being synced to the SerenityOS version.

Reception Jim Salter of Ars Technica regarded the use of the ext2 file system as his least favorite feature of the operating system. Compared to TempleOS (another operating system well known in the hobbyist community), he considered SerenityOS more accessible. For less technical users who are looking for a mid-to-late-90s reminiscent visual style, the Xfce Chicago95 theme as well as the Redmond Project have been recommended instead.

References

External links

Official website

Illustrations

SerenityOS illustration
SerenityOS illustration
SerenityOS: Buggie, the SerenityOS mascot
Buggie, the SerenityOS mascot

Worked examples

Example 1 — a first encounter with SerenityOS

Start with the simplest possible case. Write down what SerenityOS claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In computer science, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to SerenityOS before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about SerenityOS ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of SerenityOS

In research
SerenityOS appears in computer science research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses SerenityOS in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
SerenityOS is common in secondary-school and first-year university syllabi. It links to neighbouring topics 2018 software, Free software operating systems, Free software programmed in C++, so understanding it makes those chapters shorter.
In everyday life
Look for SerenityOS outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “SerenityOS” →

How to study SerenityOS in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what SerenityOS means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain SerenityOS out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is SerenityOS in simple terms?

SerenityOS is a free and open source desktop operating system. It features a preemptive kernel, currently supports x86-64, ARM, and RISC-V based computers, and hosts multiple complex applications including its own web browser and integrated development environment (IDE).

Why does SerenityOS matter?

Because it connects several computer science ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study SerenityOS?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on SerenityOS.

Tags

  • 2018 software
  • Free software operating systems
  • Free software programmed in C++
  • Hobbyist operating systems
  • Software using the BSD license
  • Unix variants
  • X86-64 operating systems

Keep exploring