15
quartz OS: Simplicity and Compatibility Guarantees
(quartz-os.org)
From Wikipedia, the free encyclopedia
Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).
Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.
Community icon by Alpár-Etele Méder, licensed under CC BY 3.0
I'm not here to tell you what work I've done, I work primarily in security audits and my hobby is realtime geolocation using gnss and open tooling. You posted here, this is your product. It is on you to explain what it does, how it does it, and why we should choose it.
You are in the wrong space to just drop pseudo-technical language and walk away without explaining how it works.
What exactly is a "stable userspace"?
LOL, I'm in the wrong? you're one rude individual. The website and my post already explain everything that needs to be said. You downvote my post (which is not irrelevant to the community) you question the work being put while not showing yours and I'm in the wrong for questioning you??? You sir, are in the wrong and very rude for that. That said:
The userspace is stable because everything was written from scratch to ensure backward compatibility, on top of that, any maintainer joining the project would have a personal responsibility to ensure of no backward compatible breakage points.
Then there are the apps (gems), they simply depend on this userspace without including it since its compatibility became OS maintainer responsibility, not the app's developer responsibility, which means now developers only need to supply the needed dependencies and nothing from the OS layer at all.
So if everything is written from scratch, it means there are unknown security vulnerabilities.
And yes, you're the one pitching this. It's your job to answer our questions if you want us to take your project seriously.
I did answer questions, in the post. They didn't bother reading. and I reexplained anyways.
and yes, of course with new code comes vulnerabilities, but that's true of new software in general. I'm not sure what your argument is, should anything not be started ever because of that? everything has to start somewhere.
Here's the thing about communication: None of us gets to decide what other people understand or don't. And if they don't understand it, they will ask questions.
I read your whole post and it didn't seem to fully answer the questions that the other guy asked. Maybe you feel it covers them, but not everybody else will understand that.
I've been a marketing writer for a pretty long time now. As the person communicating, it's my responsibility to ensure it's clear to everyone. And if it isn't, it's my responsibility to make sure it gets fixed.
If you begin your responses by accusing people of not reading? You are alienating potential users - because you are not willing to meet them at their level of understanding.
Maybe you're okay with this. Maybe you don't want users who don't think the same way that you do. But if that were the case, I imagine you wouldn't be sharing this in a public Linux group.
Okay, fair enough.
I re-read my comment and it clearly says the wrong space, I'm not trying to say you're wrong. I just want some details of how it works.
Thank you for this answer. I'm looking for way more detail, but I suspect that won't be forthcoming.
The reason for building quartz is pretty simple. If you build an app for a Linux desktop today, a system update can change something the app depends on even though the app itself hasn’t changed. Bundling libraries helps, but the app still has to talk to the operating system for things like opening a file the user picked or showing a notification. quartz wants to make that boundary explicit. If you build against an interface quartz publishes, you should be able to keep running the same binary across system updates. The way to prove that is to save the binary and actually run it on later releases. Recompiling it every time would miss the point.
quartz uses the Linux kernel and aims to own a small, stable userspace around it. mica is the planned C library. It covers the basic runtime that C programs need. libquartz is separate and gives apps a way to ask for OS services. Keeping those separate matters. Changing how the desktop handles notifications shouldn’t require changing the C runtime, and an app that wants to start a service shouldn’t need to know how the init system starts processes. garnet starts and supervises them. quartz-core handles the system-facing decisions exposed to apps. agate provides the everyday command-line tools, including the newer Linux storage tools.
The base ships as a unit. The desktop, init, C library, and system services are part of the same release. An update stages a new read-only Btrfs deployment alongside the working one, then tries it on the next boot. The VM prototype keeps track of which release was tried and which one was accepted. If the trial fails, the next boot goes back to the accepted base. Your home directory lives on a separate writable subvolume, so switching the base leaves your files and installed apps where they were. There’s an important wrinkle here. If a newer app changes the format of its saved data, switching the OS back won’t undo that change. Writable data still needs its own migration rules.
Apps come in
.gemfiles. Think of an AppImage with a small Lisp manifest that says what the app is, what version it is, and which executable to run. The app brings its private libraries and uses the interfaces supplied by the base. You can open a gem where it is, or install it into~/Applications. Installing registers it with quartz. GNOME reads that registry through a quartz adapter so the app can appear in the launcher. A download from vein (the remote repository server software) ends up going through the same local install code. The difference is what happens before installation. The client checks the catalog’s signature against a trusted key, verifies the downloaded file’s hash, and checks that the bundle really contains the app and version you requested. System components have a separate update path because replacing a desktop or init system changes the base deployment.GNOME is the reference desktop. We track upstream and keep quartz changes in patch sets so we can see exactly what we changed and reapply it to new releases. Files is a good example of why this takes work. Its executable pulled in systemd through a mount library used by GIO, and udev through optional GTK features. We rebuilt those private dependencies with the relevant features disabled and tested the resulting Files gem. Settings and Parental Controls are harder because some of their dependencies answer questions about who is logged in and who can change another person’s settings. You can drop an optional media backend from a file manager. You have to replace an authorization check with something that actually makes and enforces the right decision.
That’s where corundum comes in. The app asks through libquartz, and the base checks who made the request using credentials supplied by the kernel. One small piece of this works already. In a test VM, an administrator approved a specific process to change the running hostname once. The write succeeded, and the next attempt was denied. The desktop prompts and parental-control writes still use the preview’s existing policy. Likewise, TinyScheme already runs as the quartz shell, and the app and rollback workflows have been tested, but mica and the full compatibility contract are still being built. What works today is enough to test parts of the idea. The long-term promise depends on doing those tests across real releases.