ferros VS tock

Compare ferros vs tock and see what are their differences.

ferros

A Rust-based userland which also adds compile-time assurances to seL4 development. (by auxoncorp)
InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
ferros tock
9 32
102 4,990
1.0% 1.4%
0.0 9.9
9 months ago 4 days ago
Rust Rust
Apache License 2.0 GNU General Public License v3.0 or later
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

ferros

Posts with mentions or reviews of ferros. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-07-25.
  • Unix-like OS in Rust inspired by xv6-riscv
    7 projects | news.ycombinator.com | 25 Jul 2023
    My company, https://www.auxon.io. We created https://github.com/auxoncorp/ferros originally to enable a customer project early in the company's life cycle.

    Some time later we had another customer interested in using it and having us add some features to it (e.g. some device drivers and a persistence layer utilizing https://docs.rs/tickv/latest/tickv/). It was becoming a massive pain in the neck to work out source code sharing agreements with them, so we decided to just open source it.

    There are quite a number of things that we would do differently if we had to build it again, and at some point will likely do that work to revise it. The biggest one of those is root task synthesis. The other is to build and bring in facilities for running tasks that are compiled to WASM.

  • Writing an OS in Rust to run on RISC-V
    8 projects | news.ycombinator.com | 1 Mar 2023
    When we add WASM support to https://github.com/auxoncorp/ferros it'll sorta be like what you're angling at there in your description.
  • My Fear of Commitment to the First CPU Core
    2 projects | news.ycombinator.com | 12 Feb 2023
    We've built things on seL4 (https://github.com/auxoncorp/ferros). We like to joke that it's the most perfect piece of nearly featureless software ever made.

    There's... A LOT... of work to do before seL4 is going to be anywhere near usability parity with something like Linux, unfortunately.

    Rather than make a general purpose OS, we decided to use it more like a unikernel or "library OS" where you're trying to make a well defined kind of "appliance" image to deploy to specific hardware rather than try to fake being a POSIX-y shaped OS.

  • FerrOS: Rust-y unikernels on seL4
    2 projects | /r/rust | 9 Nov 2022
    For what it's worth, here's FerrOS's repo as well as the underlying selfe repo
  • Tokio Console
    11 projects | news.ycombinator.com | 17 Dec 2021
    That's basically what we did with https://github.com/auxoncorp/ferros, Bundle Rust programs together as tasks to run atop the formally verified seL4 microkernel.
  • Hubris – An OS from Oxide Computer
    7 projects | news.ycombinator.com | 30 Nov 2021
    We also built a Rust framework called FerrOS (https://github.com/auxoncorp/ferros) atop the formally-verified seL4 microkernel.

    It has a similar set of usage idioms to Hubris it looks like in terms of trying to setup as much as possible ahead of time to assemble what's kind of an application specific operating system where everything your use case needs is assembled at build-time as a bunch of communicating tasks running on seL4.

    We recently added a concise little persistence interface that pulls in TicKV (https://docs.tockos.org/tickv/index.html) from the Tock project you referenced above, and some provisions are being added for some more dynamic task handling based on some asks from an automotive OEM.

  • Genode – Sculpt Operating System 21.10
    1 project | news.ycombinator.com | 16 Oct 2021
    We built a thing to enable combining Rust applications together to be hosted on the seL4 microkernel. The developer experience is more akin to that of something like an RTOS where the OS and your applications are built and deployed together. The whole premise of it is decidedly non-POSIX-like. The current point is for assembling software for use-case-specific/appliance computing, not general purpose computing. (https://github.com/auxoncorp/ferros)

    We're looking both for contributors and also actively hiring for a couple engineering positions for the above and for or mainline product.

  • OSv Unikernel – Optimizing Guest OS to Run Stateless and Serverless Apps
    4 projects | news.ycombinator.com | 9 Oct 2021
    I tried and failed to bring unikernels to my former work when I was at Visa. Specifically, LING.

    At my current company, Auxon, we recently open sourced[1] some work we did a couple years back which is more or less an attempt at the basic foundations for blending the seL4 microkernel with fairly normal no_std Rust application development and assembling them all together to make a purpose built OS/application to deploy directly to hardware or within a VM. We have some work to do to keep building it up as a foundation for broader use, but we're looking into partnering with the seL4 Foundation (now under the Linux Foundation) to iterate on it further with some of our other mutual partners. The developer experience is much closer to that of developing for an RTOS than it is like typical general purpose computing development.

    I'm of course biased, but I think there's a lot of room to innovate in the space of use case specific software stacks where the domain and constraints are well understood and too many degrees of freedom are actually a hindrance and a liability, not an advantage.

    [1] https://github.com/auxoncorp/ferros

  • Open sourced: Easier builds and stronger types for seL4 with Rust
    2 projects | /r/rust | 10 Sep 2021
    On top of that is ferros (no relation to to ferrous-systems), a higher-level userland of unreasonably strong types for compile-time resource tracking. No more discovering you need more memory, or capability slots or IPC rights at runtime. These types help you fit the right seL4 screw to the right seL4 screwdriver.

tock

Posts with mentions or reviews of tock. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-12-11.
  • OxidOS Automotive
    1 project | news.ycombinator.com | 17 Mar 2024
    Hi! This is Daniel from OxidOS Automotive (stating this for disclaimer purposes).

    Yes, our OS is based on TockOS, and our CEO (Alex Radovici) is #7 in the contributors list (https://github.com/tock/tock/graphs/contributors), with other colleagues contributing in the past years.

  • What is the best library to write a SCADA-like application for web?
    4 projects | /r/rust | 11 Dec 2023
  • Safety vs. Performance. A case study of C, C++ and Rust sort implementations
    11 projects | news.ycombinator.com | 5 Oct 2023
    I'm definitely not the best person to answer this, but honestly it's not bad. Here's an example of a moderately complex peripheral, the cortex-m MPU, and how one rust OS handles it:

    https://github.com/tock/tock/blob/3a0527d586702b8ae8cb242391...

    Reads and writes turn into volatile reads, so everything works out under the hood. You get the benefits of everything having good names, declared sizes, and proper typing on your register accesses. You can extend that to bit accesses as well.

    Rust still has a few areas it isn't competitive in, like your hyper limited or obscure chips (e.g. 8051s, XAP), mature tooling around formal methods, and a certification story for safety critical code. People are working on these latter two issues (e.g. ferrocene) and supposedly very close to public delivery, but you know how slow the industry is to adopt new things even then.

  • Ask HN: Any Hardware Startups Here?
    8 projects | news.ycombinator.com | 5 Jul 2023
  • Real-Time Operating Systems 101: Basics for Efficient Computing
    1 project | /r/embedded | 25 May 2023
    There's Tock (https://www.tockos.org/), which is written in Rust (with sprinkles of assembly).
  • Unwinding the Stack the Hard Way
    3 projects | news.ycombinator.com | 16 Apr 2023
    Yeah, and I like I mentioned in the earlier comment, omitting the frame pointer reduces code size by 10% on RISC-V targets, which is huge when dealing with embedded flash: https://github.com/tock/tock/pull/1660
  • Where are the C Alternatives?
    3 projects | /r/ProgrammingLanguages | 2 Apr 2023
  • Embedded real time OS
    2 projects | /r/rust | 1 Apr 2023
    Tock is an excellent embedded OS written in Rust and has some good industrial support. I think Tock gets a lot of stuff right and I highly recommend some of the talks the developers gave on it.
  • Fedora now has frame pointers
    2 projects | news.ycombinator.com | 4 Feb 2023
    Unfortunately, it increases the code size by 10%. I was looking into this just last week, and can confirm that it's still a problem on the latest version of Rust nightly: https://github.com/tock/tock/pull/1660

    I wish we could have frame pointers, because they would make working in embedded land so much easier and more reliable, but a 10% increase in code size just isn't worth it.

  • Rust OS
    2 projects | /r/rust | 16 Dec 2022
    TockOS was the first rust RTOS I found. Coincidentally, it has had support for the esp32c3 for over a year now.

What are some alternatives?

When comparing ferros and tock you can also consider the following projects:

nanos - A kernel designed to run one and only one application in a virtualized environment

awesome-embedded-rust - Curated list of resources for Embedded and Low-level development in the Rust programming language

hubris - A lightweight, memory-protected, message-passing kernel for deeply embedded systems.

rust-raspberrypi-OS-tutorials - :books: Learn to write an embedded OS in Rust :crab:

Trusted-CGI - Lightweight runner for lambda functions/apps in CGI like mode

rust - Empowering everyone to build reliable and efficient software.

redox - Mirror of https://gitlab.redox-os.org/redox-os/redox

tracing - Application level tracing for Rust.

rtic - Real-Time Interrupt-driven Concurrency (RTIC) framework for ARM Cortex-M microcontrollers

console - a debugger for async rust!

smoltcp - a smol tcp/ip stack