Our great sponsors
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
-
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.
-
src
Read-only git conversion of OpenBSD's official CVS src repository. Pull requests not accepted - send diffs to the tech@ mailing list.
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
This here is a kernel including a memory-safe TCP/IP stack (https://github.com/smoltcp-rs/smoltcp/), and not having it crash or be full of security vulnerabilities due to preventable memory corruption is a quality beyond personal language preferences.
Author here. I've made the demo system public [1] but it's written just for me so it should be painful to set up the same environment.
The mechanism is pretty simple: a Node.js server (running on genuine Linux) listens on tcp:22. Once you connect, it boots a dedicated Firecracker microVM instance and forwards network packets between your SSH client and VM.
Regarding the command history, others (including I) can't see what you type. If you could, it must be a vulnerability.
[1] https://github.com/nuta/kerla-demo
I just meant that even big projects posted here in the past like the Headcrab debugger: https://github.com/headcrab-rs/headcrab have been seemingly abandoned now.
Even Rocket https://github.com/SergioBenitez/Rocket seems to have greatly slowed development unfortunately.
I just meant that even big projects posted here in the past like the Headcrab debugger: https://github.com/headcrab-rs/headcrab have been seemingly abandoned now.
Even Rocket https://github.com/SergioBenitez/Rocket seems to have greatly slowed development unfortunately.
There are more good efforts, the BeTrusted guys are working on Xous, its a microkernel for a phone like device called the Precurser.
https://github.com/betrusted-io/xous-core
As a embedded service processor OS for a big server rack, Oxide Computer is working on 'HubrisOS'. They seem to have not released it yet, but that will be open sourced.
https://github.com/oxidecomputer
Those are two efforts where I know real resources are going into.
Nowadays the Rust http libraries to use are warp or axum
https://github.com/seanmonstar/warp
https://github.com/tokio-rs/axum
Nowadays the Rust http libraries to use are warp or axum
https://github.com/seanmonstar/warp
https://github.com/tokio-rs/axum
Yes, this is called "fallible allocations." You add methods with the "try_" prefix that work like the existing methods, except they return a Result which fails if it's out of memory instead of panicking.
We have a light / temporary fork of the Rust stdlib allocator with fallible allocation support: https://github.com/Rust-for-Linux/linux/tree/rust/rust/alloc
See e.g. https://github.com/Rust-for-Linux/linux/commit/487d7578bd036...
Also, where are my manners?! Really glad you're enjoying our Twitter Spaces[0] -- and thank you for the kind words!
[0] https://github.com/oxidecomputer/twitter-spaces
I think you're on the right track. I am similar to you and not so skilled at low level OS development. There is an educational OS called PIOS from Yale's CS department with specific goals in mind, but it boots from metal so the code is a great resource. Here's the code: https://github.com/bford/PIOS
Also, you could try reading the Plan 9 source code.
(I would say the code is what you're after now, but in case you are interested in more of the theory of why it's designed that way, you can check out the research paper here: https://dedis.cs.yale.edu/2010/det/)
Related posts
- Prodzilla: From Zero to Prod with Rust and Shuttle
- What is the best library to write a SCADA-like application for web?
- (Recommendation Request) Rust REST API framework; similar to Python's FastAPI(Python)
- shuttle 0.8.0 is out (actix support, static files support, better scaffolding, & more)
- A small reivew of the Poem Rust web framework