Earlier quoted context omitted.
Does rust have an equivalent to the classic KR book?
Did Unix? Does C with lambdas has its K&R? I don't see why it's some sort of requirement.
Brutal OS reached milestone 4
51–60 of 75 posts
Re: Brutal OS reached milestone 4
#52Earlier quoted context omitted.
The idea is to take all the concepts we like about UNIX and iterate on them. It's UNIX as if it was invented now. For example, let's have a C compiler but let's add lambda and a more complete type system. Or let's have a shell, but let's have full ide like autocomplete to it. Or instead of plain text, let's use JSON
A language like C but with lambdas isn't really C, not that that's a bad thing. I was a little surprised that a compiler was in scope given the amount of other work that needed to be written and (hopefully) supported, though I guess that's a different issue.
The C standard working group is currently debating whether to add lambdas to the language:
Re: Brutal OS reached milestone 4
#53Very cool project, and i want that hardware badly... But... Please add some margin on your article before someone gets hurt
I believe that is a Soviet Project SPHINX system - a design for a smart home network that never actually got produced due to the fall of the Soviet Union. https://blog.adafruit.com/2021/12/13/project-sphinx-when-the...
I wonder where we would be now if that had gone according to plan.
Re: Brutal OS reached milestone 4
#54Modern as in C11?
> BRUTAL is built on top of a capabilty based micro-kernel.
Their own, or somebody else's? Why can't they just say which?
> BRUTAL targets x86_64, i686, RISC-V and ARM.
Ok, a decent set of targets, certainly for starting out with.
> BRUTAL exposes its features to developers through clean APIs.
Which are listed where?
> BRUTAL features a rich and modern C library complete with fibers, custom allocators, generic data structures, and more...
Did they reimplement the entire C library? Added a backed/port for an existing library?
I like Brutalism in design, don't like Minimalism in documentation.
https://duckduckgo.com/?q=brutalism&t=ffab&iar=images&iax=im...
Re: Brutal OS reached milestone 4
#55Earlier quoted context omitted.
A language like C but with lambdas isn't really C, not that that's a bad thing. I was a little surprised that a compiler was in scope given the amount of other work that needed to be written and (hopefully) supported, though I guess that's a different issue.
> A language like C but with lambdas isn't really C, not that that's a bad thing. At that point, why not just use Rust?
Re: Brutal OS reached milestone 4
#56> BRUTAL is an operating system built from scratch in modern C. Modern as in C11? > BRUTAL is built on top of a capabilty based micro-kernel. Their own, or somebody else's? Why can't they just say which? > BRUTAL targets x86_64, i686, RISC-V and ARM. Ok, a decent set of targets, certainly for starting out with. > BRUTAL exposes its features to developers through clean APIs. Which are listed where? > BRUTAL features a…
> Modern as in C11?
As in bleeding-edge C23
> Their own, or somebody else's? Why can't they just say which?
Our own
> Which are listed where?
We have a Doxygen doc but it's not published yet.
> Did they reimplement the entire C library?
Yes
Hopes this answers your questions
Re: Brutal OS reached milestone 4
#57> BRUTAL is an operating system built from scratch in modern C. Modern as in C11? > BRUTAL is built on top of a capabilty based micro-kernel. Their own, or somebody else's? Why can't they just say which? > BRUTAL targets x86_64, i686, RISC-V and ARM. Ok, a decent set of targets, certainly for starting out with. > BRUTAL exposes its features to developers through clean APIs. Which are listed where? > BRUTAL features a…
Hi, Sorry if our doc is not fully fleshed out yet, the project is still in the early stages, and APIs and idioms keep changing rapidly. > Modern as in C11? As in bleeding-edge C23 > Their own, or somebody else's? Why can't they just say which? Our own > Which are listed where? We have a Doxygen doc but it's not published yet. > Did they reimplement the entire C library? Yes Hopes this answers your questions
You figure you'll keep with the bleeding edge C standards for the future?
Also, if someone wanted to build compatibility layers out to other FOSS OSes into the system somewhere would that be tolerated? For example drivers from other OSes could massively improve quality of life and usability.
Re: Brutal OS reached milestone 4
#58Earlier quoted context omitted.
Does rust have an equivalent to the classic KR book?
Did Unix? Does C with lambdas has its K&R? I don't see why it's some sort of requirement.
My question though was more about rust as a language. Does it have a golden standard introduction to it like C does. Not 'some sort of requirement', but genuine interest in a clear path to learn the language.
Re: Brutal OS reached milestone 4
#59Re: Brutal OS reached milestone 4
#60It's cool and all that there seem to be more alternative OSes gaining momentum recently with things like this and SerenityOS and it's definitely impressive how much work people have put into them, but I can't for the life of me understand why you would go through the massive task of trying to make your own OS and then just copy Unix. These are 60 year old ideas that were largely born out of hardware constraints -- we…
Or, perhaps at worst, it probably makes the developers very aware of how the current *nix flavors could be improved from the lowest levels on up.