I’ve been working on a custom RTOS for Cortex-M for the past 10 years: https://github.com/raphui/rnk It started as a way to learn RTOS internals, and over time it has grown into something with lots of nice features. I’m even using it in a dirtbike anti-theft tracker I am building. Also, 2 months ago, I did a weekend challenge to build an embedded software parameter DSL and compiler. Its goal is to let firmware developers define configuration values, thresholds, constants, and other application-level parameters in a structured, human-readable format, and compile them into binary data that the firmware can directly use. https://github.com/raphui/epc
They compare it to timeshare systems, which seems horribly out of date (although apparently that's still kind of what occurs anyways on CPUs). What's the part that's "Real Time" relative to anything else people do with Cortex processors? The preemptive part? Not trying to be critical, just not getting the real time part. Does it not share CPU resources among tasks? Get a fixed core per task or something? Minimal interrupts and minimal thread switching?
An RTOS compared to bare metal just means it is some nice abstractions that you would expect from an OS : tasks, mutexes rtc.
An RTOS compared to an OS like linux basically just means it is deterministic, you can guarantee some interrupt is handled within a certain time. Not necessarily faster
Cool, thanks for the clarification. The Wiki article was kind of confusing and seemed to refer to a bunch of topics from back in the tape punching days.
As ab71e5 said, "Real time" in the context of OSes, means the operating system is optimized for determinism. The OS guarantees that events will be handle in a particular time-window and that high priority task will always run first.
Cool, thanks for the reply. Why does a dirtbike anti-theft tracker care about time-windows and that high priority tasks?
Actually, what kind of stuff other than the stock market actually cares that much about strict determinism and task priority? Only, other that really suggests itself is schedulers for multiple groups running big iron tasks, rather than micro-controllers. Not familiar enough, just doesn't seem like there would be a lot of groups fighting about priority on micro-controllers. Usually seem very focused and single task specific anyways.
I started a challenge I call “Dopamine Detox December” in which I stopped doing certain things to stop dopamine stimulants:
- No social Media
- No news
- No video streaming services (such as YT, Netflix, and Amazon Prime)
- No electronic and energetic music
Want to put local history on a map, so when I go somewhere I could ideally just open this webapp and immediately get presented with cool or interesting history that happened close by.
Currently spending time establishing relationships with historical societies, as I really need them to contribute points of interest, and stories. Many of these societies are run on a voluntary basis by 70+ year olds, so it's a long process. Getting some good responses eventually though, so it might actually go somewhere, just a lot slower than I want. Also still doing https://wheretodrink.beer, but haven't added anything of note since playing on this other project. And react2shell was a blast
Oh, thanks for the interest, but I'm not that far along yet. I have a bare bones alpha, but it's not ready for the internet just yet. I also haven't secured the domain names so I won't be sharing any code names :)
This is so very silly, but the only way I have to collect emails for people interested in the progress, beta testing or final version, is on my beer page.. So I created a page for the world's most obscure / smallest city and if you want to be updated you can register there - https://wheretodrink.beer/in/croatia/hum-75gkn - The registration is under "Stay informed about updates in Hum?" If anyone signs up I'll manually move you out of that list and into the "local history" waitlist.
I am running it in my city for a library of things. We hope to help people abstain from buying things they only need once a year. It includes a reservation system, and an dashboard to manage those reservations in the shop. Currently I'm expanding it with a proper product management interface.
An interesting twist on this, would be to hold the used item while "paying" for it with a collateral. It would remove the need to have an owner to which the item must return to, allowing it to behave more like a linked list, reducing the amoutn of trips by two.
I also think that for taxeable purposes this would work better than buying and selling used items, especially in countries with gross income taxes. In the rest of the cases at least it would reduce the administrative burden to prove that ones net-income or value-add was marginal or negative.
What a wonderful project the Leihbar is! My local MakerSpace has something similar, but it’s pretty unofficial, you just have to announce what you’ve taken in a public chat.
I’ve often had the problem that I’ve needed a tool and borrowing it from Obi or similar cost more than half the price of a new one so I just bought a variant from Parkside for cheaper or similar price. Keep up the good work!
Here's a picture of the books we have and a couple of preview pages. You can put yourself on the reserve list. Tell you how long the current borrower, or the current "candidate for borrowing" has had the item, or had the possibility of borrowing.
Comments (1,468) 897 threads
Earlier commentsHappy to get any feedback :)
They compare it to timeshare systems, which seems horribly out of date (although apparently that's still kind of what occurs anyways on CPUs). What's the part that's "Real Time" relative to anything else people do with Cortex processors? The preemptive part? Not trying to be critical, just not getting the real time part. Does it not share CPU resources among tasks? Get a fixed core per task or something? Minimal interrupts and minimal thread switching?
An RTOS compared to an OS like linux basically just means it is deterministic, you can guarantee some interrupt is handled within a certain time. Not necessarily faster
Actually, what kind of stuff other than the stock market actually cares that much about strict determinism and task priority? Only, other that really suggests itself is schedulers for multiple groups running big iron tasks, rather than micro-controllers.
Not familiar enough, just doesn't seem like there would be a lot of groups fighting about priority on micro-controllers. Usually seem very focused and single task specific anyways.
Continue this thread — 1 reply
The first days were so hard but now I’m getting used to it. I documented it here: https://ramezanpour.net/post/2025/12/11/dopamine-detox-is-ha...
Currently spending time establishing relationships with historical societies, as I really need them to contribute points of interest, and stories. Many of these societies are run on a voluntary basis by 70+ year olds, so it's a long process. Getting some good responses eventually though, so it might actually go somewhere, just a lot slower than I want.
Also still doing https://wheretodrink.beer, but haven't added anything of note since playing on this other project.
And react2shell was a blast
This is so very silly, but the only way I have to collect emails for people interested in the progress, beta testing or final version, is on my beer page.. So I created a page for the world's most obscure / smallest city and if you want to be updated you can register there - https://wheretodrink.beer/in/croatia/hum-75gkn - The registration is under "Stay informed about updates in Hum?"
If anyone signs up I'll manually move you out of that list and into the "local history" waitlist.
I am running it in my city for a library of things. We hope to help people abstain from buying things they only need once a year.
It includes a reservation system, and an dashboard to manage those reservations in the shop. Currently I'm expanding it with a proper product management interface.
I also think that for taxeable purposes this would work better than buying and selling used items, especially in countries with gross income taxes. In the rest of the cases at least it would reduce the administrative burden to prove that ones net-income or value-add was marginal or negative.
I’ve often had the problem that I’ve needed a tool and borrowing it from Obi or similar cost more than half the price of a new one so I just bought a variant from Parkside for cheaper or similar price. Keep up the good work!
Here's a picture of the books we have and a couple of preview pages. You can put yourself on the reserve list. Tell you how long the current borrower, or the current "candidate for borrowing" has had the item, or had the possibility of borrowing.
All comments shown.
Couldn't load more comments. Check your connection and try again.