HackerReposA FIELD GUIDE TO OPEN SOURCE
ProSponsor the shelf♧ 0
← Back to top all-time
intermezzOS
kernel
Rust2015–2021
intermezzOS / kernel · Archived

kernel

A hobby operating system, in Rust

4Distinct people
6Mentions
1Explicit recommenders
1.4KGitHub stars
REPOSITORY AT A GLANCE

What to know before exploring

What it is

A hobby operating system, in Rust

GitHub

Where it is used

No documented product use has been verified yet.

What people are saying

Hi all. This project isn't really _ready_ yet, but I'm happy to answer questions. I actually wrote some more stuff yesterday, but since it's on HN... just deployed it anyway. I…

steveklabnik used a recommendation phrase. One indexed comment matches. This is a phrase match, not a verdict.

No classified warning is attached to this page. Read the discussions before treating silence as approval.

Also in these discussions

No other repository is repeatedly linked in the same discussions.

This week on Hacker News

Nov 7–Nov 14 UTC · Direct repository links and separately labeled related project stories. Indexed through 11/14/2026, 12:24:10 PM UTC.

No direct repository links were found in the indexed HN discussions over the past seven days. Older discussions are available below.

Mentions over time

HN mentions by year6 dated mentions

Observed mentions: 2015-12-27 14:57:27 UTC to 2021-02-26 19:51:53 UTC.

01232015-01-01 00:00:00 UTC to 2016-01-01 00:00:00 UTC (exclusive): 2 mentions; 0 submissions, 2 comments20152016-01-01 00:00:00 UTC to 2017-01-01 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2017-01-01 00:00:00 UTC to 2018-01-01 00:00:00 UTC (exclusive): 3 mentions; 0 submissions, 3 comments2018-01-01 00:00:00 UTC to 2019-01-01 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments20182019-01-01 00:00:00 UTC to 2020-01-01 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2020-01-01 00:00:00 UTC to 2021-01-01 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2021-01-01 00:00:00 UTC to 2022-01-01 00:00:00 UTC (exclusive): 1 mentions; 0 submissions, 1 comments2021

Counts come from the repository’s dated source evidence. Index cutoff: 2026-11-02 08:16:59 UTC.

View mention counts and date ranges
UTC ranges include their start and exclude their end. Select a period to filter the source evidence.
PeriodStart (UTC)End (exclusive, UTC)MentionsSubmissionsComments
20152015-01-01 00:00:00 UTC2016-01-01 00:00:00 UTC202
20162016-01-01 00:00:00 UTC2017-01-01 00:00:00 UTC000
20172017-01-01 00:00:00 UTC2018-01-01 00:00:00 UTC303
20182018-01-01 00:00:00 UTC2019-01-01 00:00:00 UTC000
20192019-01-01 00:00:00 UTC2020-01-01 00:00:00 UTC000
20202020-01-01 00:00:00 UTC2021-01-01 00:00:00 UTC000
20212021-01-01 00:00:00 UTC2022-01-01 00:00:00 UTC101

What Hacker News says

6 sources
> Could you please post an example of how it helps in embedded / no allocator code? In today's Rust, data structures often need to be a fixed size, or dynamically allocate. This will let you write a data structure that has a variable size, but set at compile time. I knocked out a quick ringbuffer recently; I picked a size that seemed fine, but that size is fixed at the moment. If I had used const generics, it could have been more flexible here, I could have written it more easily for any size, where the size is written at compile time. This is not my work code, but back when I was working on a hobby x86 kernel, I did this for a VGA buffer: https://github.com/intermezzOS/kernel/blob/master/vga/src/li... it's generic over "something that can be converted to a slice," so that it uses a slice in production, but a Vec in tests. This also leads
Read the rest
to runtime checks https://github.com/intermezzOS/kernel/blob/master/vga/src/li... to make sure that the slice is the right size. This would be much better written with const generics today. The slice trick is neat, but awkward. (This code is also awkward because it grew an internal "frame buffer," so it kinda has both going on. This example needs const generics less since VGA has one single size at compile time ever, but sometimes, you need something where this isn't the case, and this was the first example of code I personally wrote that springs to mind.) > What's your take on the Rust HALs? I haven't used them enough. We use the layer below them, for example, the stm32f4 crate rather than the stm32f4xx-hal crate. That doesn't mean they're bad, I just literally have not used them enough to form an opinion. The namesake of this space is diversity, and so different people make different tradeoffs; we don't really need what those crates are offering right now.
In Rust const generics MVP hits beta
What do you mean by 'need'? If you mean every Rust program requires a dispatcher to run, then no, Rust does not need a CPU dispatcher. Thread and locks are not primitives: they're implemented in the standard library (the std part, specifically). The 'thread' safety guarantees don't rely on that functionality, instead the arrows go the other way: the spawning and locking constructs build on the guarantees (driven by the Send and Sync traits, which are purely compile-time constructs) to provide expressive yet safe API. For instance, there's numerous operating systems built in Rust, for instance intermezzOS seems to be pure Rust except for the single file https://github.com/intermezzOS/kernel/blob/master/src/asm/bo... . If you mean that it would be really nice if there was a general purpose dispatcher library available, then sure, that seems
Read the rest
like something that would be great on crates.io. In any case, I don't see how your comment relates to mine.
In Discover the world of microcontrollers through Rust
Some of my favorite examples: https://os.phil-opp.com https://github.com/helena-project/tock https://www.redox-os.org https://github.com/redox-os/tfs https://github.com/intermezzOS/kernel The biggest application example: https://github.com/servo/servo And some self promotion: https://github.com/bluejekyll/trust-dns ---- I encourage all programmers to check it out. You may discover like me, that Rust is a compiler and language which guards against all the hard learned lessons I've had over my career. It's an amazing language to program in.
In Analyzing GitHub, how developers change programming languages over time
steveklabnik·Dec 27, 2015Recommendation phrase
Hi all. This project isn't really _ready_ yet, but I'm happy to answer questions. I actually wrote some more stuff yesterday, but since it's on HN... just deployed it anyway. I was on a long bus ride home from my parents' house, and didn't have any internet, so there's a bunch of notes to fill things out and double check stuff... I have some stuff to do today, but am hoping to clean that up by tonight. Here's a sort of synopsis: there's been a lot of really great stuff going on in the Rust OSDev space lately, and I managed to get my own little OS going, with a VGA driver and keyboard input. You can see that source here: https://github.com/intermezzOS/kernel/tree/original_backup But then I realized that one of the reasons I've struggled a lot here in the past was the lack of tutorials. And I love writing. Christmas three years ago was when
Read the rest
I discovered Rust, started writing about it, and is why I have the job I do today. So I decided this break that I'd embark on another project... I really, truly think that many high-level programmers could do operating systems development if there were more resources that catered to them. Hence this project. Once it's got some polish, I hope that someone who has learned programming through JavaScript can follow along and have their own little OS too.
In IntermezzOS: a teaching operating system for experienced developers

MAKE YOURSELF AT HOME

A few shortcuts

/
Search the collection
?
Open this guide
Esc
Close dialogs and navigation

Your saved repositories and interests stay in this browser.